https://github.com/calderonsamuel/perumapas
Mapas del Perú
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 (10.8%) to scientific vocabulary
Keywords
r
Last synced: 10 months ago
·
JSON representation
Repository
Mapas del Perú
Basic Info
- Host: GitHub
- Owner: calderonsamuel
- License: other
- Language: R
- Default Branch: master
- Homepage: https://perumapas.samuelenrique.com
- Size: 28.5 MB
Statistics
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
- Releases: 0
Topics
r
Created about 5 years ago
· Last pushed over 4 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%"
)
```
# perumapas
[](https://lifecycle.r-lib.org/articles/stages.html#experimental)
[](https://CRAN.R-project.org/package=perumapas)
The goal of `perumapas` is to have an easy way to draw maps with peruvian shapes.
## Installation
You can install the released version of perumapas from the [calderonsamuel r-universe](https://calderonsamuel.r-universe.dev/) with:
``` r
install.packages("perumapas", repos = 'https://calderonsamuel.r-universe.dev')
```
## Example
This is a basic example which shows you how to solve a common problem:
```{r, message=FALSE}
# messages were removed
library(perumapas) # usar siempre junto con sf
library(sf) # obligatorio!
library(ggplot2) # for plotting
library(dplyr) # for filtering
```
You can create maps easily.
```{r example}
mapa_distrital %>%
filter(departamento == "LIMA", provincia == "LIMA") %>%
ggplot() +
geom_sf()
```
`mapa_distrital` has avaiable the *ubigeo* field to easily join/merge with another dataset.
```{r}
head(mapa_distrital, 10)
```
To learn how to use `mapa_regional` and `mapa_provincial` see `vignette('basic-usage')`.
## Shapefiles source
The shapefiles for `mapa_distrital` were obtained from
Owner
- Name: Samuel Calderon
- Login: calderonsamuel
- Kind: user
- Location: Lima
- Website: www.samuelenrique.com
- Twitter: samucalse
- Repositories: 9
- Profile: https://github.com/calderonsamuel
Peruvian political scientist
GitHub Events
Total
- Watch event: 1
Last Year
- Watch event: 1
Issues and Pull Requests
Last synced: over 1 year ago
All Time
- Total issues: 2
- Total pull requests: 0
- Average time to close issues: 13 days
- Average time to close pull requests: N/A
- Total issue authors: 1
- Total pull request authors: 0
- Average comments per issue: 1.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
- calderonsamuel (2)