View source: R/wdi_get_lending_types.R
wdi_get_lending_types | R Documentation |
This function returns a tibble of supported lending types for querying the World Bank API. The lending types classify countries based on the financial terms available to them from the World Bank.
wdi_get_lending_types(language = "en")
language |
A character string specifying the language code for the API response (default is "en" for English). |
This function provides a reference for the supported lending types, which classify countries according to the financial terms they are eligible for under World Bank programs. The language parameter allows the results to be returned in different languages as supported by the API.
A tibble with columns that typically include:
An integer for the lending type.
A character string for the ISO2 code of the lending type.
A description of the lending type (e.g., "IBRD", "IDA").
https://api.worldbank.org/v2/lendingTypes
# Download all lending types in English
wdi_get_lending_types()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.