Science Score: 26.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
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (10.6%) to scientific vocabulary
Last synced: 10 months ago
·
JSON representation
Repository
Translate Datasets to Portuguese
Basic Info
- Host: GitHub
- Owner: cienciadedatos
- License: gpl-3.0
- Language: R
- Default Branch: master
- Homepage: https://cienciadedatos.github.io/dados/
- Size: 844 KB
Statistics
- Stars: 47
- Watchers: 5
- Forks: 20
- Open Issues: 7
- Releases: 0
Created about 6 years ago
· Last pushed almost 2 years ago
Metadata Files
Readme
Changelog
License
Codemeta
README.Rmd
---
output: github_document
---
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/",
out.width = "100%"
)
library(dados)
library(ggplot2)
library(dplyr)
library(purrr)
library(stringr)
knitr::opts_chunk$set(echo = TRUE)
```
# dados
[](https://cran.r-project.org/package=dados) [](https://github.com/cienciadedatos/dados/actions)
Este pacote disponibiliza a tradução de conjuntos de dados em inglês originalmente disponíveis em outros pacotes de R. Os dados traduzidos são utilizados nos exemplos do livro [R for Data Science](https://r4ds.had.co.nz/) de Hadley Wickham & Garrett Grolemund, cuja [versão em português](https://altabooks.com.br/produto/r-para-data-science/) foi publicada por AltaBooks & O'Reilly.
## Instalação
Este pacote pode ser instalado a partir do CRAN:
```{r, eval = FALSE}
install.packages("dados")
```
A versão de desenvolvimento pode ser instalada a partir do GitHub:
```{r, eval = FALSE}
# install.packages("remotes")
remotes::install_github("cienciadedatos/dados")
```
## Traduções
As traduções disponíveis dentro de `dados` são as seguintes:
```{r, echo = FALSE}
specs <- list.files("inst/specs")
all <- map(file.path("inst", "specs", specs), yaml::read_yaml)
sources <- map_chr(all, ~.x$df$source)
pkgs <- tibble(
Nome = map_chr(all, ~.x$df$name),
`Título` = map_chr(all, ~.x$help$title),
Pacote = map_chr(strsplit(sources, "::"), ~.x[[1]]),
Dataset = map_chr(strsplit(sources, "::"), ~.x[[2]])
)
pkgs %>%
arrange(Pacote, Dataset) %>%
knitr::kable()
```
Os dados para praticar a manipulação de strings são `frases`, `palavras` e `frutas`.
## Uso
O pacote `dados` pode ser carregado como qualquer outro pacote de R:
```{r, message = FALSE}
library(dados)
library(ggplot2)
library(dplyr)
```
Ao carregar o pacote, as variáveis que contêm os dados estarão disponíveis imediatamente para uso. Porém, os dados não serão traduzidos até que a variável seja "chamada" explicitamente por um comando. Neste exemplo, o conjunto de dados `diamante`, que provém de `ggplot2::diamonds`, é carregado no *workspace* do R no momento em que o chamamos pela primeira vez em português:
```{r}
glimpse(diamante)
```
Os dados traduzidos permanecerão carregados em sua sessão de R:
```{r eval = FALSE}
diamante %>%
filter(corte == "Bom") %>%
ggplot() +
geom_boxplot(aes(transparencia, preco, fill = transparencia)) +
theme(legend.position = "none") +
labs(title = "Diamantes", subtitle = "Preço e transparência", y = "Preço", x = "Transparência")
```
## Funções internas de `dados`
As funções internas de `dados` foram desenvolvidas originalmente por seu pacote irmão: [`datos`](https://cienciadedatos.github.io/datos/).
Owner
- Name: cienciadedatos
- Login: cienciadedatos
- Kind: organization
- Repositories: 6
- Profile: https://github.com/cienciadedatos
CodeMeta (codemeta.json)
{
"@context": "https://doi.org/10.5063/schema/codemeta-2.0",
"@type": "SoftwareSourceCode",
"identifier": "dados",
"description": "Este pacote traduz os seguintes conjuntos de dados: 'airlines', 'airports', 'ames_raw', 'AwardsManagers', 'babynames', 'Batting', 'diamonds', 'faithful', 'fueleconomy', 'Fielding', 'flights', 'gapminder', 'gss_cat', 'iris', 'Managers', 'mpg', 'mtcars', 'atmos', 'penguins', 'People, 'Pitching', 'pixarfilms','planes', 'presidential', 'table1', 'table2', 'table3', 'table4a', 'table4b', 'table5', 'vehicles', 'weather', 'who'. English: It provides a Portuguese translated version of the datasets listed above.",
"name": "dados: Translate Datasets to Portuguese",
"codeRepository": "https://github.com/cienciadedatos/dados",
"issueTracker": "https://github.com/cienciadedatos/dados/issues",
"license": "https://spdx.org/licenses/GPL-3.0",
"version": "0.1.0",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "R",
"url": "https://r-project.org"
},
"runtimePlatform": "R version 4.1.2 (2021-11-01)",
"author": [
{
"@type": "Person",
"givenName": "Riva",
"familyName": "Quiroga",
"email": "riva.quiroga@uc.cl",
"@id": "https://orcid.org/0000-0002-1147-4135"
},
{
"@type": "Person",
"givenName": "Sara",
"familyName": "Mortara",
"email": "saramortara@gmail.com",
"@id": "https://orcid.org/0000-0001-6221-7537"
},
{
"@type": "Person",
"givenName": "Beatriz",
"familyName": "Milz",
"email": "beatriz.milz@usp.br",
"@id": "https://orcid.org/0000-0002-3064-4486"
},
{
"@type": "Person",
"givenName": "Andrea",
"familyName": "Snchez-Tapia",
"email": "andreasancheztapia@gmail.com",
"@id": "https://orcid.org/0000-0002-3521-4338"
},
{
"@type": "Person",
"givenName": "Alejandra Andrea",
"familyName": "Tapia Silva",
"email": "alejandraandreatapiasilva@gmail.com",
"@id": "https://orcid.org/0000-0003-0762-7618"
},
{
"@type": "Person",
"givenName": "Beatriz",
"familyName": "Maurer Costa",
"email": "beatrizmcosta@me.com"
},
{
"@type": "Person",
"givenName": "Jean",
"familyName": "Prado",
"email": "jeangrprado@gmail.com",
"@id": "https://orcid.org/0000-0002-7928-774X"
},
{
"@type": "Person",
"givenName": "Renata",
"familyName": "Hirota",
"email": "re.hirota@gmail.com",
"@id": "https://orcid.org/0000-0002-3589-3246"
},
{
"@type": "Person",
"givenName": "William",
"familyName": "Amorim",
"email": "wamorim@curso-r.com",
"@id": "https://orcid.org/0000-0003-0543-3473"
},
{
"@type": "Person",
"givenName": "Emmanuelle",
"familyName": "Rodrigues Nunes",
"email": "emmanuellernunes@gmail.com",
"@id": "https://orcid.org/0000-0001-5994-352X"
}
],
"maintainer": [
{
"@type": "Person",
"givenName": "Riva",
"familyName": "Quiroga",
"email": "riva.quiroga@uc.cl",
"@id": "https://orcid.org/0000-0002-1147-4135"
}
],
"softwareSuggestions": [
{
"@type": "SoftwareApplication",
"identifier": "covr",
"name": "covr",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=covr"
},
{
"@type": "SoftwareApplication",
"identifier": "testthat",
"name": "testthat",
"version": ">= 3.0.0",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=testthat"
}
],
"softwareRequirements": {
"1": {
"@type": "SoftwareApplication",
"identifier": "R",
"name": "R",
"version": ">= 3.5.0"
},
"2": {
"@type": "SoftwareApplication",
"identifier": "AmesHousing",
"name": "AmesHousing",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=AmesHousing"
},
"3": {
"@type": "SoftwareApplication",
"identifier": "babynames",
"name": "babynames",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=babynames"
},
"4": {
"@type": "SoftwareApplication",
"identifier": "dplyr",
"name": "dplyr",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=dplyr"
},
"5": {
"@type": "SoftwareApplication",
"identifier": "forcats",
"name": "forcats",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=forcats"
},
"6": {
"@type": "SoftwareApplication",
"identifier": "fueleconomy",
"name": "fueleconomy",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=fueleconomy"
},
"7": {
"@type": "SoftwareApplication",
"identifier": "gapminder",
"name": "gapminder",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=gapminder"
},
"8": {
"@type": "SoftwareApplication",
"identifier": "ggplot2",
"name": "ggplot2",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=ggplot2"
},
"9": {
"@type": "SoftwareApplication",
"identifier": "Lahman",
"name": "Lahman",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=Lahman"
},
"10": {
"@type": "SoftwareApplication",
"identifier": "palmerpenguins",
"name": "palmerpenguins",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=palmerpenguins"
},
"11": {
"@type": "SoftwareApplication",
"identifier": "nasaweather",
"name": "nasaweather",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=nasaweather"
},
"12": {
"@type": "SoftwareApplication",
"identifier": "nycflights13",
"name": "nycflights13",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=nycflights13"
},
"13": {
"@type": "SoftwareApplication",
"identifier": "rlang",
"name": "rlang",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=rlang"
},
"14": {
"@type": "SoftwareApplication",
"identifier": "tibble",
"name": "tibble",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=tibble"
},
"15": {
"@type": "SoftwareApplication",
"identifier": "tidyr",
"name": "tidyr",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=tidyr"
},
"16": {
"@type": "SoftwareApplication",
"identifier": "yaml",
"name": "yaml",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=yaml"
},
"17": {
"@type": "SoftwareApplication",
"identifier": "pixarfilms",
"name": "pixarfilms",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=pixarfilms"
},
"SystemRequirements": null
},
"fileSize": "380.571KB",
"releaseNotes": "https://github.com/cienciadedatos/dados/blob/master/NEWS.md",
"readme": "https://github.com/cienciadedatos/dados/blob/master/README.md",
"contIntegration": "https://github.com/cienciadedatos/dados/actions"
}
GitHub Events
Total
- Watch event: 4
- Issue comment event: 3
Last Year
- Watch event: 4
- Issue comment event: 3
Committers
Last synced: over 2 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| Riva Quiroga | r****a@u****l | 44 |
| Beatriz Milz | b****z@h****m | 34 |
| Alejandra Tapia | a****a@g****m | 30 |
| Beatriz Milz | 4****z | 23 |
| Jean Prado | j****o@g****m | 16 |
| William | t****9@g****m | 10 |
| saramortara | s****a@g****m | 8 |
| EmmanuelleRN | e****s@g****m | 5 |
| Andrea Sánchez Tapia | k****i@g****m | 5 |
| biamaurer | b****a@m****m | 4 |
| biamaurer | 5****r | 3 |
| rmhirota | 3****a | 1 |
| Riva Quiroga | 3****a | 1 |
| Andrea Sánchez-Tapia (she/her) | a****a@g****m | 1 |
Issues and Pull Requests
Last synced: 11 months ago
All Time
- Total issues: 17
- Total pull requests: 91
- Average time to close issues: 5 months
- Average time to close pull requests: 14 days
- Total issue authors: 2
- Total pull request authors: 11
- Average comments per issue: 1.0
- Average comments per pull request: 1.33
- Merged pull requests: 85
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 1
- Average time to close issues: N/A
- Average time to close pull requests: 2 days
- Issue authors: 0
- Pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 5.0
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- beatrizmilz (15)
- jjesusfilho (1)
Pull Request Authors
- beatrizmilz (28)
- rivaquiroga (22)
- alejandraandrea (13)
- jeanprado (11)
- biamaurer (7)
- saramortara (4)
- AndreaSanchezTapia (3)
- scopinho (2)
- rmhirota (1)
- williamorim (1)
- EmmanuelleRN (1)
Top Labels
Issue Labels
Big data (1)
Pull Request Labels
ready-to-merge (29)
revisao-traducao (8)
Dependencies
DESCRIPTION
cran
- R >= 3.5.0 depends
- AmesHousing * imports
- Lahman * imports
- babynames * imports
- dplyr * imports
- forcats * imports
- fueleconomy * imports
- gapminder * imports
- ggplot2 * imports
- nasaweather * imports
- nycflights13 * imports
- palmerpenguins * imports
- pixarfilms * imports
- rlang * imports
- tibble * imports
- tidyr * imports
- yaml * imports
- covr * suggests
- testthat >= 3.0.0 suggests
.github/workflows/R-CMD-check.yaml
actions
- actions/cache v2 composite
- actions/checkout v2 composite
- actions/upload-artifact main composite
- r-lib/actions/setup-pandoc v1 composite
- r-lib/actions/setup-r v1 composite