https://github.com/ambarja/geoidep
📥 Download geographic data on various topics provided and managed by the Spatial Data Infrastructure of Peru 🌎🌐.
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 (18.3%) to scientific vocabulary
Keywords
Repository
📥 Download geographic data on various topics provided and managed by the Spatial Data Infrastructure of Peru 🌎🌐.
Basic Info
- Host: GitHub
- Owner: ambarja
- License: apache-2.0
- Language: R
- Default Branch: main
- Homepage: https://geografo.pe/geoidep/
- Size: 14.8 MB
Statistics
- Stars: 12
- Watchers: 0
- Forks: 2
- Open Issues: 0
- Releases: 2
Topics
Metadata Files
README.Rmd
---
output: github_document
---
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/fig-",
out.width = "100%",
dpi = 300
)
```
# geoidep: Download Geographic Data Managed by Peru's Spatial Data Infrastructure
[](https://github.com/ambarja/geoidep/actions/workflows/R-CMD-check.yaml)
[](https://app.codecov.io/gh/ambarja/geoidep)
[](https://circleci.com/gh/ambarja/geoidep)
[](https://lifecycle.r-lib.org/articles/stages.html#experimental)

The goal of geoidep📦 is to offers R users an easy and accessible way to obtain official cartographic data on various topics, such as society🏛️, transport🚗, environment🌱, agriculture🌾, climate⛅️,among others.This includes information provided by regional government entities and technical-scientific institutions, managed by the Spatial Data Infrastructure of Peru.
*⚠️ The package accesses these datasets dynamically from official public servers, without redistributing data locally.*
The package is currently available in **R** and Python (coming soon).
## Installation R
You can install the development version of geoidep like so:
```r
install.packages('pak')
pak::pkg_install('ambarja/geoidep')
```
or also the official version available on CRAN:
```r
install.packages('geoidep')
```
## Example 01: Introduction
```{r, message=TRUE}
library(geoidep)
```
```r
── Welcome to geoidep ─────────────────────────────────────────────────────────────────
ℹ geoidep is a wrapper that enables you to download cartographic data for Peru directly from R.
ℹ Currently, `geoidep` supports data from the following providers:
• Geobosque
• INAIGEM
• INEI
• Midagri
• and more!
ℹ For more information, please use the `get_data_sources()` function.
```
In this example, we can identify the list of providers available in geoidep and the layers they present.
```{r}
get_data_sources() |>
head()
```
In summary the suppliers and the number of available layers
```{r}
get_providers()
```
## Example 02: Download official INEI administrative boundaries
This is a simple example of how to download Peru's official administrative boundaries:
```{r}
dep <- get_departaments(show_progress = FALSE)
```
The first 10 rows of the original data are displayed here:
```{r}
head(dep)
```
Owner
- Name: Antony Barja
- Login: ambarja
- Kind: user
- Location: Lima, Peru
- Company: National University of San Marcos
- Website: https://ambarja.github.io/
- Twitter: antony_barja
- Repositories: 14
- Profile: https://github.com/ambarja
I love geography, geocomputation and spatial data science 🤓🌎⚕️.
GitHub Events
Total
- Watch event: 6
- Push event: 109
- Pull request event: 2
- Fork event: 1
- Create event: 1
Last Year
- Watch event: 6
- Push event: 109
- Pull request event: 2
- Fork event: 1
- Create event: 1
Committers
Last synced: 10 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Antony Marcos Barja Ingaruca | a****8@g****m | 191 |
Issues and Pull Requests
Last synced: 11 months ago
All Time
- Total issues: 2
- Total pull requests: 7
- Average time to close issues: 3 days
- Average time to close pull requests: about 5 hours
- Total issue authors: 1
- Total pull request authors: 1
- Average comments per issue: 0.0
- Average comments per pull request: 0.86
- Merged pull requests: 7
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 2
- Pull requests: 7
- Average time to close issues: 3 days
- Average time to close pull requests: about 5 hours
- Issue authors: 1
- Pull request authors: 1
- Average comments per issue: 0.0
- Average comments per pull request: 0.86
- Merged pull requests: 7
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- ambarja (2)
Pull Request Authors
- ambarja (14)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- actions/checkout v4 composite
- r-lib/actions/check-r-package v2 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
- JamesIves/github-pages-deploy-action v4.5.0 composite
- actions/checkout v4 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
- archive * imports
- httr * imports
- sf * imports