muni_est: API Wrapper to call Colorado municipal population estimates

Description Usage Arguments Details

View source: R/muni_est.r

Description

This API wrapper returns a dataframe of municipal populations and related variables for the years and municipalities selected.

Usage

1
2
muni_est(fips_list = "", year_list, county = "", vars = "totalpopulation",
  totals = "yes")

Arguments

fips_list

Numeric FIPS code(s) for the municipality(ies). Leave blank and specify county to get all places in a county Defaults to blank

year_list

Numeric list of years between 2010 and 2014

county

county FIPS number used to pull either parts of a muni or all munis in a county if fips_list is blank Defaults to Blank

vars

list of variables to pull includes: totalpopulation, householdpopulation, groupquarterspopulation, householdsize totalhousingunits, occupiedhousingunits, and vacanthousingunits Defaults to totalpopulation

totals

controls whether API returns totals or parts of municipalities Defaults to 'yes' to give totals not parts.

Details

Note: Selecting all of the counties can be done by providing 300 as the fips_list


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