Open Sustainable Technology

A curated list of open technology projects to sustain a stable climate, energy supply, biodiversity and natural resources.

Browse accepted projects | Review proposed projects | Propose new project | Open Issues

datazoom.amazonia

Facilitates access to official Brazilian Amazon data, including agriculture, deforestation, production.
https://github.com/datazoompuc/datazoom.amazonia

amazonia datazoom municipality

Last synced: about 19 hours ago
JSON representation

Repository metadata

Simplify access to data from the Brazilian Amazon

README

        

---
output: github_document
---

```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```

# datazoom.amazonia

[![CRAN version](https://www.r-pkg.org/badges/version/datazoom.amazonia?color=orange)](https://cran.r-project.org/package=datazoom.amazonia?style=flat)
[![R build status](https://github.com/datazoompuc/datazoom.amazonia/workflows/R-CMD-check/badge.svg)](https://github.com/datazoompuc/datazoom.amazonia/actions?style=flat)
[![CRAN downloads](https://cranlogs.r-pkg.org/badges/grand-total/datazoom.amazonia?color=blue)](https://cran.r-project.org/package=datazoom.amazonia?style=flat)
[![CRAN downloads](https://cranlogs.r-pkg.org/badges/datazoom.amazonia?color=lightgrey)](https://cran.r-project.org/package=datazoom.amazonia?style=flat)
![Languages](https://img.shields.io/github/languages/count/datazoompuc/datazoom.amazonia?style=flat)
![Commits](https://img.shields.io/github/commit-activity/y/datazoompuc/datazoom.amazonia?style=flat)
![Open Issues](https://img.shields.io/github/issues-raw/datazoompuc/datazoom.amazonia?style=flat)
![Closed Issues](https://img.shields.io/github/issues-closed-raw/datazoompuc/datazoom.amazonia?style=flat)
![Files](https://img.shields.io/github/directory-file-count/datazoompuc/datazoom.amazonia?style=flat)
![Followers](https://img.shields.io/github/followers/datazoompuc?style=flat)

The datazoom.amazonia package facilitates access to official Brazilian Amazon data, including agriculture, deforestation, production. The package provides functions that download and pre-process selected datasets.

## Installation

You can install the released version of `datazoom.amazonia` from
[CRAN](https://CRAN.R-project.org/package=datazoom.amazonia) with:

``` {r, eval=FALSE}
install.packages("datazoom.amazonia")
```

And the development version from GitHub with:

``` {r, eval=FALSE}
# install.packages("devtools")
devtools::install_github("datazoompuc/datazoom.amazonia")
```

```{r, echo=FALSE, message=FALSE}
devtools::load_all()
```

**[1 - Environmental data](#environmental-data)**

|||
|---|---|
| **[PRODES](#prodes)** | _Yearly deforestation_ |
| **[DETER](#deter)** | _Alerts on forest cover changes_ |
| **[DEGRAD](#degrad)** | _Forest degradation_ |
| **[Imazon](#imazon)** | _Deforestation pressure in the Amazon_ |

|||
|---|---|
| **[IBAMA](#ibama)** | _Environmental fines_ |
| **[MapBiomas](#mapbiomas)** | _Land cover and land use_ |
| **[TerraClimate](#terraclimate)** | _Climate data_ |
| **[SEEG](#seeg)** | _Greenhouse gas emission estimates_ |
| **[CENSOAGRO](#censoagro)** | _Agriculture activities_ |

**[2 - Social data](#social-data)**

|||
|---|---|
| **[IPS](#ips)** | _Amazon Social Progress Index_ |
| **[DATASUS](#datasus)** | _Causes of mortality and availability of hospital beds_ |
| **[IEMA](#iema)** | _Access to electricity in the Amazon region_ |
| **[Population](#population)** | _Population_ |

**[3 - Economic data](#economic-data)**

|||
|---|---|
| **[COMEX](#comex)** | _Brazilian international trade_ |
| **[BACI](#baci)** | _Global international trade_ |
| **[PIB-Munic](#pib-munic)** | _Municipal GDP_ |
| **[CEMPRE](#cempre)** | _Central register of companies_ |
| **[PAM](#pam)** | _Agricultural production_ |

|||
|---|---|
| **[PEVS](#pevs)** | _Forestry and extraction_ |
| **[PPM](#ppm)** | _Livestock farming_ |
| **[SIGMINE](#sigmine)** | _Mining_ |
| **[ANEEL](#aneel)** | _Energy development_ |
| **[EPE](#epe)** | _Energy consumption_ |

**[4 - Other tools](#other-tools)**

|||
|---|---|
| **[Legal Amazon Municipalities](#legal-amazon-municipalities)** | _Dataset with brazilian cities and whether they belong to the Legal Amazon_ |
| **[The 'googledrive' package](#googledrive)** | _Troubleshooting and information for downloads from Google Drive_ |

# Environmental Data

## PRODES

```{r child = "vignettes/PRODES.Rmd"}
```

## DETER

```{r child = "vignettes/DETER.Rmd"}
```

## DEGRAD

```{r child = "vignettes/DEGRAD.Rmd"}
```

## Imazon

```{r child = "vignettes/IMAZON.Rmd"}
```

🔴 This function uses the `googledrive` package to download data. In case of authentication errors, see [googledrive](#googledrive).

## IBAMA

```{r child = "vignettes/IBAMA.Rmd"}
```

## MapBiomas

```{r child = "vignettes/MAPBIOMAS.Rmd"}
```

## TerraClimate

```{r child = "vignettes/TERRACLIMATE.Rmd"}
```

## SEEG

```{r child = "vignettes/SEEG.Rmd"}
```

🔴 This function uses the `googledrive` package to download data at the municipality level. In case of authentication errors, see [googledrive](#googledrive).

## CENSOAGRO

```{r child = "vignettes/CENSOAGRO.Rmd"}
```

# Social Data

## IPS

```{r child = "vignettes/IPS.Rmd"}
```

## DATASUS

```{r child = "vignettes/DATASUS.Rmd"}
```

## IEMA

```{r child = "vignettes/IEMA.Rmd"}
```

🔴 This function uses the `googledrive` package to download data. In case of authentication errors, see [googledrive](#googledrive).

## Population

```{r child = "vignettes/POPULATION.Rmd"}
```

# Economic Data

## COMEX

```{r child = "vignettes/COMEX.Rmd"}
```

## BACI

```{r child = "vignettes/BACI.Rmd"}
```

## PIB-Munic

```{r child = "vignettes/PIBMUNIC.Rmd"}
```

## CEMPRE

```{r child = "vignettes/CEMPRE.Rmd"}
```

## PAM

```{r child = "vignettes/PAM.Rmd"}
```

## PEVS

```{r child = "vignettes/PEVS.Rmd"}
```

## PPM

```{r child = "vignettes/PPM.Rmd"}
```

## SIGMINE

```{r child = "vignettes/SIGMINE.Rmd"}
```

## ANEEL

```{r child = "vignettes/ANEEL.Rmd"}
```

## EPE

```{r child = "vignettes/EPE.Rmd"}
```

# Other tools

## Legal Amazon Municipalities

```{r child = "vignettes/municipalities.Rmd"}
```

## The 'googledrive' package

```{r child = "vignettes/GOOGLEDRIVE.Rmd"}
```

## Credits

DataZoom is developed by a team at Pontifícia Universidade Católica do Rio de Janeiro (PUC-Rio), Department of Economics. Our official website is at: .

To cite package `datazoom.amazonia` in publications use:

> Data Zoom (2023). Data Zoom: Simplifying Access To Brazilian Microdata.
> https://www.econ.puc-rio.br/datazoom/english/index.html

A BibTeX entry for LaTeX users is:

```
@Unpublished{DataZoom2023,
author = {Data Zoom},
title = {Data Zoom: Simplifying Access To Brazilian Microdata},
url = {https://www.econ.puc-rio.br/datazoom/english/index.html},
year = {2023},
}

```


Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 3 days ago

Total Commits: 892
Total Committers: 35
Avg Commits per committer: 25.486
Development Distribution Score (DDS): 0.887

Commits in past year: 40
Committers in past year: 8
Avg Commits per committer in past year: 5.0
Development Distribution Score (DDS) in past year: 0.7

Name Email Commits
Igor Rigolon i****e@h****m 101
FredieDidier f****r@t****r 95
BrunoAlcantaraD 6****D 87
Victor Aliende da Matta v****4@g****m 73
IgorRigolon 7****n 72
gnjardim 4****m 60
Guilherme Jardim g****8@g****m 54
arthurcbps a****s@g****m 50
annasaraiva a****a 49
Daniel AC Barbosa d****b@g****m 49
Francisco f****i@g****m 40
FredieDidier 7****r 31
arthurcbps 4****s 26
Luiz Guilherme Lopes Moussatche l****m@g****m 16
BrunoAlcantaraD b****e@g****m 15
titogbruni t****i@g****m 10
titogbruni 8****i 9
Michelle Souza M****0@g****m 8
Fernanda Watkins f****w@g****m 5
Maria Clara Mano m****o@g****m 5
brenoavidos b****s@g****m 5
giuliaimbu 1****u 4
Isaac Newton i****n@c****g 4
Francisco Cavalcanti 3****i 3
Maria Clara Mano 8****o 3
Victor Hugo Schieck Terziani 1****i 3
carolinamoura2000 1****0 3
Victor Hugo Schieck Terziani v****i@g****m 2
brenoavidos 1****s 2
Fernanda Watkins 1****w 2
and 5 more...

Committer domains:


Issue and Pull Request metadata

Last synced: 2 days ago

Total issues: 69
Total pull requests: 63
Average time to close issues: about 2 months
Average time to close pull requests: 9 days
Total issue authors: 14
Total pull request authors: 11
Average comments per issue: 0.96
Average comments per pull request: 0.35
Merged pull request: 57
Bot issues: 0
Bot pull requests: 0

Past year issues: 30
Past year pull requests: 29
Past year average time to close issues: about 1 month
Past year average time to close pull requests: 11 days
Past year issue authors: 6
Past year pull request authors: 5
Past year average comments per issue: 0.8
Past year average comments per pull request: 0.28
Past year merged pull request: 26
Past year bot issues: 0
Past year bot pull requests: 0

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/datazoompuc/datazoom.amazonia

Top Issue Authors

  • giuliaimbu (14)
  • IgorRigolon (13)
  • VictorHugoTerziani (11)
  • AntonioBergallo (7)
  • gnjardim (5)
  • lauratregadas (5)
  • fernandanevesw (4)
  • ArthurLins-code (3)
  • reichaves (2)
  • FranciscoCavalcanti (1)
  • FredieDidier (1)
  • MatthieuStigler (1)
  • RhayH (1)
  • sam-a-levy (1)

Top Pull Request Authors

  • IgorRigolon (26)
  • gnjardim (13)
  • brenoavidos (5)
  • giuliaimbu (5)
  • VictorHugoTerziani (4)
  • carolinamoura2000 (3)
  • FredieDidier (3)
  • luizguilhermelopesm (1)
  • titogbruni (1)
  • fernandanevesw (1)
  • AntonioBergallo (1)

Top Issue Labels

  • bug (29)
  • enhancement (18)
  • documentation (4)
  • good first issue (1)

Top Pull Request Labels

  • enhancement (3)
  • documentation (2)
  • bug (1)

Dependencies

DESCRIPTION cran
  • R >= 4.0 depends
  • Hmisc * imports
  • RCurl * imports
  • XML * imports
  • data.table * imports
  • dplyr * imports
  • janitor * imports
  • lubridate * imports
  • magrittr * imports
  • purrr * imports
  • readr * imports
  • readxl * imports
  • sf * imports
  • sidrar * imports
  • stringi * imports
  • stringr * imports
  • tibble * imports
  • tidyr * imports
  • utils * imports
  • foreign * suggests
  • googledrive * suggests
  • knitr * suggests
  • rmarkdown * suggests
  • terra * suggests
.github/workflows/R-CMD-check.yaml actions
  • actions/cache v2 composite
  • actions/checkout v3 composite
  • actions/upload-artifact main composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
.github/workflows/pr-commands.yaml actions
  • actions/checkout v2 composite
  • r-lib/actions/pr-fetch v1 composite
  • r-lib/actions/pr-push v1 composite
  • r-lib/actions/setup-r v1 composite

Score: 7.562681246721885