[Defunct]

Load population by sex and five-year age categories for years 2010 to 2018.

Use package czso and specifically function czso::czso_get_table(dataset_id = "130142") to obtain the data and czso::czso_get_table_schema(dataset_id = "130142") to get the columns description.

load_population_age(year = NA, area_type = NA)

load_population_age_col_explanations()

Arguments

year

for which the data should be obtained. Default value is NA, which means all the years. Values from range (including both limits) 2010 - 2018 are accepted.

area_type

type of are for which the data should be obtained. Default value is NA, which means all areas. Accepted values are in Description.

Value

data.frame containg the requested data

Details

The area_type can have values from following set:

  1. "okresy"

  2. "kraje"

  3. "republika"

Functions

  • load_population_age: Load the data

  • load_population_age_col_explanations: Load description for columns

Information about dataset

More detailed information about data can be found at the provider's website https://www.czso.cz/csu/czso/obyvatelstvo-k-3112-podle-pohlavi-v-obcich.