county_sya: API Wrapper to call Colorado County Single Year of Age Data

Description Usage Arguments Details

View source: R/county_sya.R

Description

This API wrapper returns a dataframe of county-level age data.

Usage

1
county_sya(fips_list, year_list, group = "none")

Arguments

fips_list

Numeric FIPS code(s) for the county (0 for the state) (no leading 0's)

year_list

Numeric list of years between 1990 and 2050

group

string taking values of opt1, opt2, opt3, see descriptiong what what each does

Details

The functions takes county and year and can return single year of age data and grouped data.

Grouping options are as follows: opt1= Group by year opt2= Group by county and year opt3= Group by age and year

Data are estimates or forecasts depending on the most recent vintage, they are noted as such in the returned data.


ColoradoDemography/codemogAPI documentation built on May 6, 2019, 12:28 p.m.