load_population_age: Defunct: Load population by age

View source: R/load_population_age.R

load_population_ageR Documentation

Defunct: Load population by age

Description

\lifecycle

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.

Usage

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.

Details

The area_type can have values from following set:

  1. "okresy"

  2. "kraje"

  3. "republika"

Value

data.frame containg the requested data

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.


JanCaha/CzechData documentation built on Sept. 22, 2023, 2:47 a.m.