Skip to content

Commit

Permalink
Update README.Rmd
Browse files Browse the repository at this point in the history
  • Loading branch information
migconforto authored Jul 20, 2024
1 parent 485ba0b commit 9c09182
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,27 @@
output: github_document
---

<!-- README.md is generated from README.Rmd. Please edit that file -->


# 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
Expand All @@ -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)
```

0 comments on commit 9c09182

Please sign in to comment.