get_city_stats: Download City Statistics datasets.

Description Usage Arguments Details Value See Also Examples

View source: R/city_stats.R

Description

Description from eurostat (see link for reference). The Functional Urban Area consists of a city and its commuting zone. (This was formerly known as larger urban zone (LUZ)).

Usage

1
get_city_stats(dataset, cities, language = "en", props = FALSE)

Arguments

dataset

The dataset code pertaining to the variable of interest.

cities

The functional urban area code or a vector of codes for the functional urban areas of interest.

language

The language of the data.

props

An option to include proportional data along with absolute values.

Details

Download data pertaining to Functional Urban Areas, cities and greater cities from eurostat.

Value

A tibble of with the attributes 'urb_code', 'city', 'year', 'value', 'var_code' and 'variable'.

See Also

https://ec.europa.eu/eurostat/web/cities/spatial-units

Examples

1
2
3
4
5
6
## Not run: 
library(reurostat)

brus_antw <- get_city_stat(dataset = "urb_lpop1", cities = c("BE002L2", "BE001L2"))

## End(Not run)

jcbain/reurostat documentation built on Nov. 4, 2019, 2:34 p.m.