Learn R Programming

wbids (version 1.1.3)

ids_get_ed: Get full IDS tables from EconDataverse datasets

Description

A convenience wrapper around econdatasets::ed_get() that retrieves tables from the World Bank International Debt Statistics (IDS) dataset hosted on EconDataverse Hugging Face repositories.

Usage

ids_get_ed(table = "debt_statistics", columns = NULL, quiet = FALSE)

Value

A data.frame containing the requested IDS table, or NULL if the download fails.

Arguments

table

Character string naming the table from the IDS dataset. Default: "debt_statistics".

columns

Character vector naming the columns. Defaults to NULL.

quiet

A logical parameter indicating whether messages should be printed to the console.

See Also

econdatasets::ed_get() for the underlying function that downloads data from EconDataverse repositories.

Examples

Run this code
# \donttest{
# Get the default debt statistics table
debt_statitics <- ids_get_ed()

# Get a different table from IDS
series_data <- ids_get_ed("series")
# }

Run the code above in your browser using DataLab