pnad_get | R Documentation |
Download PNAD files and read them.
pnad_get(year, design = TRUE, vars = NULL, hh_only = FALSE)
year |
A year must be provided. |
design |
TRUE if you want a survey object, FALSE if you want a dataframe. |
vars |
Selected variables |
hh_only |
If TRUE, will skip person data, using just household data. |
A survey object or a tibble.
## Not run: # Download PNAD 2015 pnad2015 <- pnad_get(year = 2015) # Select just the variable V8005 for PNAD 2008 pnad2008 <- pnad_get(year = 2008, vars = c("V8005")) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.