You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1.4 KiB
36 lines
1.4 KiB
#' A ggplot2 Geom for World Tile Grids
|
|
#'
|
|
#' A "tile grid map" is a cartogram that uses same-sized tiles
|
|
#' in approximate, relative positions of each other to represent a world
|
|
#' map. The world tile grid relative position reference system used by
|
|
#' this 'ggplot2' 'Geom/Stat' was the original work of 'Jon Schwabish' and
|
|
#' converted to 'CSV' by 'Maarten Lambrechts'.
|
|
#'
|
|
#' - Ref: <https://policyviz.com/2017/10/12/the-world-tile-grid-map/>
|
|
#' - Ref: <http://www.maartenlambrechts.com/2017/10/22/tutorial-a-worldtilegrid-with-ggplot2.html>
|
|
#
|
|
#' - URL: <https://gitlab.com/hrbrmstr/worldtilegrid>
|
|
#' - BugReports: <https://gitlab.com/hrbrmstr/worldtilegrid/issues>
|
|
#'
|
|
#' @md
|
|
#' @name worldtilegrid
|
|
#' @docType package
|
|
#' @author Bob Rudis (bob@@rud.is)
|
|
#' @author Maarten Lambrechts
|
|
#' @author Jon Schwabish
|
|
#' @importFrom grid unit
|
|
#' @importFrom scales alpha
|
|
#' @importFrom ggplot2 ggplot geom_tile scale_fill_manual guides geom_tile ggplotGrob
|
|
#' @importFrom ggplot2 geom_point geom_text scale_color_manual guides theme labs
|
|
#' @importFrom ggplot2 scale_x_continuous scale_y_continuous coord_equal theme_bw
|
|
#' @importFrom ggplot2 aes element_rect element_blank element_text resolution
|
|
#' @importFrom ggplot2 aes_string aes_ scale_y_reverse layer GeomRect margin %+replace%
|
|
#' @importFrom ggplot2 scale_fill_brewer ggtitle rel ggproto draw_key_polygon Geom Stat
|
|
NULL
|
|
|
|
|
|
#' @title World Tile Grid Basemap Data
|
|
#' @docType data
|
|
#' @name wtg
|
|
#' @export
|
|
NULL
|