View source: R/hist_boundaries.R
hist_boundaries | R Documentation |
Deprecated. Use 'get_boundaries'. Get Swedish administrative boundaries of parishes or counties for a specified year 1634-1990.
hist_boundaries(
date,
type = c("parish", "county", "town"),
format = c("sp", "df", "meta")
)
date |
a date, a year or a vector with date/year range |
type |
type of unit, "parish", "county" or "town" |
format |
format of return object, "df" for data.frame, "sp" for SpatialPolygonsDataFrame and "meta" for only meta-data. |
library(sf)
map <- hist_boundaries(1900, "county")
plot(st_geometry(map))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.