Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (19.7%) to scientific vocabulary
Last synced: 9 months ago
·
JSON representation
Repository
Pacote que disponibiliza dados de pesquisas OD do Brasil
Basic Info
- Host: GitHub
- Owner: hsvab
- License: gpl-3.0
- Language: R
- Default Branch: main
- Homepage: https://hsvab.github.io/odbr/
- Size: 1.9 MB
Statistics
- Stars: 17
- Watchers: 2
- Forks: 1
- Open Issues: 7
- Releases: 5
Created about 3 years ago
· Last pushed over 1 year ago
Metadata Files
Readme
License
README.Rmd
---
output: github_document
---
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# odbr: Download Data from Brazil's Origin Destination Surveys
[](https://app.codecov.io/gh/hsvab/odbr?branch=main)
[](https://github.com/hsvab/odbr/actions?query=branch%3Amain)
[](https://ropensci.org/champions/)
[](https://github.com/hsvab/odbr/actions/workflows/R-CMD-check.yaml)
**odbr** is an R package to download data from Brazil's Origin Destination
Surveys. The package provides databases, maps, and data dictionaries in English,
Portuguese, and Spanish. Furthermore, it is possible to download harmonized data
across different cohorts for the same city.
## Installation
You can install the [odbr Package](https://CRAN.R-project.org/package=odbr)
with:
``` r
# install from CRAN
install.packages("odbr")
library(odbr)
```
You can install the development version of odbr from
[GitHub](https://github.com/) with:
``` r
# or use the development version with latest features
devtools::install_github("hsvab/odbr")
library(odbr)
```
## Basic Usage
The syntax of all `odbr` functions operate on the same logic so it becomes
intuitive to download any data set using a single line of code. Like this:
```{r example}
# Return data from OD Surveys database as data.frame
library(odbr)
df <- read_od(
city = "Sao Paulo",
year = 2017,
harmonize = FALSE
)
# Return zone data from OD Surveys database as sf object at a given city and year
df <- read_map(
city = "Sao Paulo",
year = 2017,
harmonize = FALSE,
geometry = "zone"
)
# Return data dictionary from OD Surveys, as data.frame, at a given city and year
df <- read_dictionary(
city = "Sao Paulo",
year = 2017,
harmonize = FALSE,
language = "pt"
)
```
## Available datasets:
**The original geodetic reference system remained unchanged.**
|City|Years available| Harmonized |Dictionary languages | Source|
|-----|-----|-----|-----|-----|
|São Paulo| 1977, 1987, 1997, 2007, 2017 | No | en, es, pt-br | [Metrô-SP](https://transparencia.metrosp.com.br/dataset/pesquisa-origem-e-destino)
**There is no harmonized data available yet.**
*All harmonized datasets use geodetic reference system "SIRGAS2000", CRS(4674).*
## Contributing to odbr
If you would like to contribute to **odbr**, you're welcome to open an issue to
explain the proposed a contribution.
## Credits
Original databases and shapefiles are created by local official government
institutions.
The logo was designed by
[Marcos Kyoto de Tani e Isoda](https://www.instagram.com/redes.urbanas/)
If you want to cite this package, you can cite it as:
- Svab, Haydee; Milz, Beatriz; Oliveira, Diego Rabatone; Pereira, Rafael H. M.
(2023) odbr: Download Data from Brazil's Origin Destination Surveys. R package
version v0.1.0, .
```
bibentry(
bibtype = "Manual",
title = "odbr: Download Data from Brazil's Origin Destination Surveys",
author = "Haydee Svab [aut, cre] and Beatriz Milz [aut] and Diego Rabatone Oliveira [aut] and Rafael H. M. Pereira [aut]",
year = 2023,
version = "v0.1.0",
url = "https://CRAN.R-project.org/package=odbr",
textVersion = "Svab, H.; Milz, B.; Oliveira, D. R.; Pereira, R. H. M. (2023) odbr: Download Data from Brazil's Origin Destination Surveys v0.1.0, ."
)
```
## Sponsors
The **odbr** package was initially sponsored by rOpenSci through its Champions
Program (2022 edition) whose main goal is to provide support to R developers
from around the world who identify themselves as members of groups that are
systematically excluded from the open-source software community.
Owner
- Name: Haydee Svab
- Login: hsvab
- Kind: user
- Location: São Paulo, Brasil
- Company: @okfn-brasil
- Twitter: hsvab
- Repositories: 30
- Profile: https://github.com/hsvab
CEO of @okfn-brasil and Partner at @ask-ar. Urban Mobility, Open Data, Smart Cities and GovTech expert.
GitHub Events
Total
- Issues event: 5
- Watch event: 3
- Delete event: 3
- Member event: 1
- Issue comment event: 19
- Push event: 28
- Pull request review event: 5
- Pull request event: 9
- Create event: 5
Last Year
- Issues event: 5
- Watch event: 3
- Delete event: 3
- Member event: 1
- Issue comment event: 19
- Push event: 28
- Pull request review event: 5
- Pull request event: 9
- Create event: 5
Issues and Pull Requests
Last synced: 10 months ago
All Time
- Total issues: 5
- Total pull requests: 6
- Average time to close issues: 6 months
- Average time to close pull requests: 4 months
- Total issue authors: 4
- Total pull request authors: 4
- Average comments per issue: 2.6
- Average comments per pull request: 0.17
- Merged pull requests: 4
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 4
- Pull requests: 4
- Average time to close issues: N/A
- Average time to close pull requests: about 10 hours
- Issue authors: 4
- Pull request authors: 3
- Average comments per issue: 0.0
- Average comments per pull request: 0.25
- Merged pull requests: 2
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- rafapereirabr (2)
- hsvab (1)
- pdeffebach (1)
- pedreirajr (1)
- viniciusoike (1)
- Yusuf-Birdal (1)
Pull Request Authors
- olivroy (3)
- diraol (2)
- rafapereirabr (2)
- beatrizmilz (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cran 251 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 2
- Total maintainers: 1
cran.r-project.org: odbr
Download Data from Brazil's Origin Destination Surveys
- Homepage: https://hsvab.github.io/odbr/
- Documentation: http://cran.r-project.org/web/packages/odbr/odbr.pdf
- License: GPL (≥ 3)
-
Latest release: 0.1.1
published over 1 year ago
Rankings
Dependent packages count: 28.7%
Dependent repos count: 36.8%
Average: 50.5%
Downloads: 86.0%
Maintainers (1)
Last synced:
10 months ago