get_data: A Data Fetching Function for Population Pyramids

Description Usage Arguments Examples

View source: R/get_data.r

Description

This function pulls down census population data and puts it into a nice dataframe.

Usage

1
get_data(country, year)

Arguments

country

Enter ISO country code (e.g. 'IZ' for Iraq)

year

Enter 4-digit year (e.g. 2012)

Examples

1
get_data('IZ', 2012)

istresearch/popPyramidz documentation built on May 6, 2019, 10:35 a.m.