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
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (12.2%) to scientific vocabulary
Repository
Access to Data on Argentina via REST APIs
Basic Info
- Host: GitHub
- Owner: lightbluetitan
- Language: R
- Default Branch: main
- Size: 1.79 MB
Statistics
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
ArgentinAPI
The ArgentinAPI package provides a unified interface to access open data from the ArgentinaDatos API and the REST Countries API, with a focus on Argentina. It allows users to easily retrieve up-to-date information on exchange rates, inflation, political figures, national holidays, and country-level indicators relevant to Argentina.
In addition to API-access functions, the package includes a collection of curated datasets related to Argentina, covering diverse domains such as economic indicators, biodiversity, agriculture, human rights, genetics, and consumer prices.
ArgentinAPI is designed to support research, teaching, and data analysis focused on Argentina by integrating publicly available APIs and high-quality datasets into a single, easy-to-use R package.
Installation
You can install the ArgentinAPI package from CRAN with the following R function:
```R
install.packages("ArgentinAPI")
```
Usage
After installation, load the package and start exploring and using its functions and datasets.
```R
library(ArgentinAPI)
```
ArgentinAPI Functions
getargentinedeputies() This function retrieves a list of Argentine deputies
getargentinesenators() This function retrieves a list of Argentine senators
getargentinianholidays() This function retrieves the list of official holidays in Argentina
getcountryinfo() Retrieves selected, essential information about Argentina
getpresidentialevents() This function retrieves the list of presidential events in Argentina
getusdexchange_rates() Latest exchange rates of the US dollar (USD) in Argentina
viewdatasetsArgentinAPI() List of Datasets in the ArgentinAPI Package
Some of the ArgentinAPI Datasets
The naming convention helps you easily understand the structure of each dataset:
_df: A standard data frame._tbl_df: A tibble (modern data frame)._ts: A time series object._matrix: A matrix structure._list: A list object.corn_nitrogen_df: Argentina Corn Yield & Nitrogen Data A data frame with yield monitor data from a corn field in Argentina, including variables such as nitrogen application, yield, topography, and block replicates.STRs_argentina_list: STRs Allelic Frequencies from Argentina A list of allelic frequencies for 24 Short Tandem Repeat (STR) genetic markers collected from different populations across Argentina.
Example Code:
```R
Load the package
library(ArgentinAPI)
Selected, essential information about Argentina
getcountryinfo()
List of presidential events in Argentina
getpresidentialevents()
Load a dataset
data("cornnitrogendf")
Shows six rows of the dataset
head(cornnitrogendf)
Display the structure of the dataset
str(cornnitrogendf)
Shows the whole dataset
View(cornnitrogendf)
```
Owner
- Name: Renzo Cáceres Rossi
- Login: lightbluetitan
- Kind: user
- Location: Lima, Perú
- Twitter: RHablamos
- Repositories: 2
- Profile: https://github.com/lightbluetitan
Soy un fanatico del Lenguaje de programación R y RMarkdown
GitHub Events
Total
- Watch event: 1
- Push event: 1
- Create event: 2
Last Year
- Watch event: 1
- Push event: 1
- Create event: 2
Packages
- Total packages: 1
-
Total downloads:
- cran 280 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 1
- Total maintainers: 1
cran.r-project.org: ArgentinAPI
Access Argentine Economic, Social, and Geopolitical Data via RESTful APIs and Curated Datasets
- Homepage: https://github.com/lightbluetitan/argentinapi
- Documentation: http://cran.r-project.org/web/packages/ArgentinAPI/ArgentinAPI.pdf
- License: GPL-3
-
Latest release: 0.1.0
published 12 months ago
Rankings
Maintainers (1)
Dependencies
- R >= 4.1.0 depends
- dplyr * imports
- httr * imports
- jsonlite * imports
- lubridate * imports
- utils * imports
- ggplot2 * suggests
- knitr * suggests
- rmarkdown * suggests
- testthat >= 3.0.0 suggests