This dataset shows pan European communal boundaries depicting the situation at the corresponding Census.
Usage
gisco_get_census(
year = 2011,
cache_dir = NULL,
update_cache = FALSE,
verbose = FALSE,
spatialtype = c("RG", "PT")
)Source
https://ec.europa.eu/eurostat/web/gisco/geodata/statistical-units/census
Copyright: https://ec.europa.eu/eurostat/web/gisco/geodata/statistical-units
Arguments
- year
character string or number. Release year of the file. Currently only
"2011"is provided.- cache_dir
character string. A path to a cache directory. See Caching strategies section in
gisco_set_cache_dir().- update_cache
logical. Should the cached file be refreshed?. Default is
FALSE. When set toTRUEit would force a new download.- verbose
logical. If
TRUEdisplays informational messages.- spatialtype
Type of geometry to be returned:
"PT": Points -POINTobject."RG": Regions -MULTIPOLYGON/POLYGONobject.
Value
A sf object.
See also
Other statistical units datasets:
gisco_get_coastal_lines(),
gisco_get_lau(),
gisco_get_nuts(),
gisco_get_urban_audit()
Examples
# \donttest{
library(sf)
pts <- gisco_get_census(spatialtype = "PT")
pts
#> Simple feature collection with 115136 features and 2 fields
#> Geometry type: POINT
#> Dimension: XY
#> Bounding box: xmin: -61.7796 ymin: -21.3399 xmax: 55.75452 ymax: 71.04844
#> Geodetic CRS: WGS 84
#> # A tibble: 115,136 × 3
#> CENS_ID ORIG_FID geometry
#> * <chr> <int> <POINT [°]>
#> 1 AT111_10801 1 (16.6325 47.59374)
#> 2 AT111_10802 2 (16.38657 47.49552)
#> 3 AT111_10803 3 (16.572 47.46158)
#> 4 AT111_10804 4 (16.5717 47.52752)
#> 5 AT111_10805 5 (16.56402 47.57514)
#> 6 AT111_10806 6 (16.38416 47.53657)
#> 7 AT111_10807 7 (16.37699 47.59442)
#> 8 AT111_10808 8 (16.44874 47.60538)
#> 9 AT111_10809 9 (16.40948 47.39185)
#> 10 AT111_10810 10 (16.63391 47.4686)
#> # ℹ 115,126 more rows
# }
