GetPopulationPyramidKSH: Scrape the population pyramid of Hungary.

Description Usage Arguments Details Value Examples

View source: R/examples.R

Description

Scrape the population pyramid of Hungary possibly stratified according to gender, age group (main groups, five-year groups or one-year groups) and geographic area (NUTS2, NUTS3 or LAU1).

Usage

1
2
3
GetPopulationPyramidKSH(Type = "Jan1", Years = 2013:2016,
  Gender = "Both", AgeGroup = "Main", GeographicArea = "NUTS2",
  na.rm = TRUE)

Arguments

Type

Type of population (possible values are "Jan1" and "MidYear").

Years

Numeric vector containing the years (from 2015 to 2017, inclusive).

Gender

Stratification according to gender (possible values are "Total" and "Both").

AgeGroup

Stratification according to age (possible values are "Total", "Main" and "FiveYear").

GeographicArea

Stratification according to geographic area (possible values are "Total", "NUTS2", "NUTS3" and "LAU1").

na.rm

Remove rows with missing population counts? (logical)

Details

Data available from 1990 to 2017, but LAU1 geographical resoulation is available only after 2014, and yearly age groups are only available for NUTS2 and NUTS3 resolution.

Value

Neatly formatted population pyramid.

Examples

1
GetPopulationPyramidKSH( "MidYear", Years = 2015, AgeGroup = "Main" )

tamas-ferenci/KSHStatinfoScraper documentation built on April 7, 2020, 10:52 a.m.