getUSCD: Function to download US census data using the census.gov API.

Description Usage Arguments Value Author(s) References

Description

Function to download US census data using the census.gov API.

Usage

1
getUSCD(x, state='17', key=NULL, delay=2)

Arguments

x

a list of strings of census variables like: c("H0060001","H0060002")

state

a list of numeric census state codes like: 17 or c(17,19)

key

your own census key

delay

number to seconds to pause btw API hits

Value

USCD

data.frame of the US census data

Author(s)

David M. Condon & Jason A. French <jason at sapa-project.org>

References

https://sapa-project.org/r/


frenchja/SAPATools documentation built on May 16, 2019, 2:47 p.m.