The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

SouthKoreAPIs

License: MIT

The SouthKoreAPIs package provides a unified interface to access open data from the World Bank API, Nager.Date API, and the REST Countries API, with a focus on South Korea. It allows users to retrieve up-to-date or historical information on topics such as economic indicators, population statistics, national holidays, and key geopolitical details.

In addition to API-access functions, the package includes one of the largest curated collections of open datasets related to South Korea. These datasets cover a wide range of topics including public health outbreaks, demographics, social surveys, elections, economic indicators, natural disasters, administrative divisions, air quality, climate data, energy consumption, cultural information, and financial markets.

Installation

You can install the SouthKoreAPIs package from CRAN with the following R function:


install.packages("SouthKoreAPIs")

Usage

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


library(SouthKoreAPIs)

SouthKoreAPIs Functions

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

Dataset Suffixes

Each dataset in SouthKoreAPIs is labeled with a suffix to indicate its structure and type:

Datasets Included in SouthKoreAPIs

In addition to API access functions, SouthKoreAPIs offers one of the largest curated collections of open datasets focused on South Korea. These preloaded datasets cover a wide range of topics including public health outbreaks, demographics, social surveys, elections, economic indicators, natural disasters, administrative divisions, air quality, climate data, energy consumption, cultural information, and financial markets. Below are some featured examples:

Example Code:


# Load the package

library(SouthKoreAPIs)

# Retrieves essential information about South Korea

get_country_info_kr()

# Get South Korea's Population (Total) from World Bank

get_southkorea_population()

# Load a dataset

data(SouthKoreaBirths_tbl_df)

# Shows six rows of the dataset

head(SouthKoreaBirths_tbl_df)

# Display the structure of the dataset

str(SouthKoreaBirths_tbl_df)

# Shows the whole dataset

View(SouthKoreaBirths_tbl_df)

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.