ipums_codes: Scrape IPUMS codes for any variable

Description Usage Arguments Examples

View source: R/ipums_codes.R

Description

Pull the IPUMS codes to variable label lookup from the IPUMS website

Usage

1
ipums_codes(variable, detailed = FALSE)

Arguments

variable

the name of the variable from ipums we want to scrape

detailed

get the general or detailed codes default FALSE for just general

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 

# get bpl codes

bpl_codes_1 <- ipums_codes("bpl", detailed = TRUE)

bpl_codes_2 <- ipums_codes("bpl", detailed = FALSE)


## End(Not run)

jamesfeigenbaum/jjfPkg documentation built on June 17, 2018, 9:52 p.m.