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.

AlgeriAPIs

License: MIT

The AlgeriAPIs package provides a unified interface to access open data from the World Bank API and the REST Countries API, with a focus on Algeria. It allows users to retrieve real-time or historical information on topics such as economic indicators, population statistics, and key geopolitical details.

AlgeriAPIs enables users to query data in a reproducible way and is designed for researchers, analysts, and developers who require reliable and programmatic access to Algerian data through established APIs.

Installation

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


install.packages("AlgeriAPIs")

You can install AlgeriAPIs package from its Github repository with the following R function:


# Make sure the 'devtools' package is installed before using install_github()


devtools::install_github("lightbluetitan/algeriapis")

Usage

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


library(AlgeriAPIs)

AlgeriAPIs Functions

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

Example Code:


# Load the package

library(AlgeriAPIs)

# Retrieves essential information about Algeria

get_country_info_dz()

# Get Algeria's Population (Total) from World Bank

get_algeria_population()

# Get Algeria’s GDP (current US$)

get_algeria_gdp()

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.