https://github.com/calderonsamuel/ubigeosperu

https://github.com/calderonsamuel/ubigeosperu

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 (12.6%) to scientific vocabulary

Keywords

geocoding peru peruvian peruvian-cities r
Last synced: 6 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: calderonsamuel
  • License: other
  • Language: R
  • Default Branch: master
  • Size: 78.1 KB
Statistics
  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Topics
geocoding peru peruvian peruvian-cities r
Created over 6 years ago · Last pushed almost 6 years 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%"
)
```

# ubigeosperu


[![Project Status](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active)
[![CRAN status](https://www.r-pkg.org/badges/version/ubigeosperu)](https://cran.r-project.org/package=ubigeosperu)


The goal of ubigeosperu is to have an easy way to get the peruvian ubigeos into R. The data has been collected from CONCYTEC's GitHub [repository](https://github.com/CONCYTEC/ubigeo-peru/blob/master/equivalencia-ubigeos-oti-concytec.csv).

## Installation

You can install the released version of ubigeosperu from [CRAN](https://CRAN.R-project.org) with:

``` r
## This will work when the package is published into CRAN
install.packages("ubigeosperu")
```

And the development version from [GitHub](https://github.com/) with:

``` r
# install.packages("devtools")
devtools::install_github("calderonsamuel/ubigeosperu")
```
## Example

This is a basic example which shows you how to solve a common problem:

```{r library, message=FALSE}
library(ubigeosperu)
library(dplyr)
```

ubigeosperu contains a single dataframe object containing the peruvian ubigeos codes.


```{r dim, message=FALSE}
dim(ubigeos)
```

The ubigeos dataset is a tibble.

```{r tibble, message=FALSE}
ubigeos
```

You can access the tidy version and pipe it!

```{r tidy, message=FALSE}
ubigeos_tidy %>%
    filter(lugar == "CHORRILLOS", nivel == "Distrito")
```


Owner

  • Name: Samuel Calderon
  • Login: calderonsamuel
  • Kind: user
  • Location: Lima

Peruvian political scientist

GitHub Events

Total
Last Year

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels