output |
---|
github_document |
The goal of PNADc.table is to make PNADc tables in an easy and interesting way
You can install the development version of pnadcr from GitHub with:
install.packages("devtools")
devtools::install_github("migconforto/PNADc.table")
library(pnadcr)
pnadc_download(2019,1) #downloading the 2019 PNADc first quartile
pnadc_mean(~V403312, ~UF, 2019, 1) #Creating a table of mean monthly gross income by UF (Federation Unit) from the 2019.1 PNADc survey
Now let's make a bar graph of the last table
pnadc_plot(~V403312, ~UF, 2019, 1, calculation = "mean", classifier = "V403312", type = 1)