Movatterモバイル変換


[0]ホーム

URL:


ArgentinAPI

TheArgentinAPI package provides a comprehensive andunified interface to access open data aboutArgentinafrom multiple public RESTful APIs, includingArgentinaDatosAPI,REST Countries API, andWorldBank API. Through these sources, users can easily retrieveinformation on exchange rates, inflation, political figures, nationalholidays, economic indicators, and general country-level statistics.

In addition to API-access functions, the package includes acollection of curated datasets covering diverse domains such as economicindicators, biodiversity, agriculture, human rights, genetic data, andconsumer prices.

Installation

You can install theArgentinAPI package from CRAN withthe following R function:

install.packages("ArgentinAPI")

Usage

After installation, load the package and start exploring and usingits functions and datasets.

library(ArgentinAPI)

ArgentinAPI Functions

Below is a list of the main functions included in theArgentinAPI package:

Some of the ArgentinAPIDatasets

The naming convention helps you easily understand the structure ofeach dataset:

Example Code:

# Load the packagelibrary(ArgentinAPI)# Selected, essential information about Argentinaget_country_info_ar()# List of presidential events in Argentinaget_presidential_events()# Load a datasetdata("corn_nitrogen_df")# Shows six rows of the datasethead(corn_nitrogen_df)# Display the structure of the datasetstr(corn_nitrogen_df)# Shows the whole datasetView(corn_nitrogen_df)

[8]ページ先頭

©2009-2025 Movatter.jp