powered by
autoplot.sf creates a map of shapefiles downloaded using getShp.
autoplot.sf
# S3 method for sf autoplot(object, ..., map_title = NULL, facet = FALSE, printed = TRUE)
autoplot.sf returns a map of the supplied sf object
A sf object downloaded using getShp.
getShp
Other arguments passed to specific methods
Custom title used for the plot.
If TRUE, splits map into a separate facet for each administrative level.
Should the plot print to graphics device.
if (FALSE) { MDG_shp <- getShp(ISO = "MDG", admin_level = "admin0") autoplot(MDG_shp) }
Run the code above in your browser using DataLab