diff --git a/README.Rmd b/README.Rmd index dd406d0..fcad582 100644 --- a/README.Rmd +++ b/README.Rmd @@ -2,25 +2,27 @@ output: github_document --- + + + # PNADc.table The goal of PNADc.table is to make PNADc tables in an easy and interesting way ## Installation -You can install the development version of PNADc.table from [GitHub](https://github.com/) with: +You can install the development version of pnadcr from [GitHub](https://github.com/migconforto/PNADc.table) with: -``` r +```{r} install.packages("devtools") -devtools::install_github("migux14/PNADc.table") -library(PNADc.table) +devtools::install_github("migconforto/PNADc.table") ``` ## Example ```{r example} -library(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 @@ -30,6 +32,5 @@ pnadc_mean(~V403312, ~UF, 2019, 1) #Creating a table of mean monthly gross incom Now let's make a bar graph of the last table ```{r example} -pnadc_graph(~V403312, ~UF, 2019, 1, calculation = "mean", classifier = "V403312", type = 1) +pnadc_plot(~V403312, ~UF, 2019, 1, calculation = "mean", classifier = "V403312", type = 1) ``` -