View source: R/adjust_for_inflation.R
url_all_results | R Documentation |
results and returns JSON format
url_all_results(original_url)
original_url |
A World Bank API URL. E.g. "https://api.worldbank.org/v2/country". |
A character vector
# Provide a World Bank API URL and `url_all_results` will convert it into one with all results
# for that indicator
## Not run:
original_url <- "https://api.worldbank.org/v2/country" # Note: no ?format=json on url
url_all_results(original_url)
## End(Not run)
# "https://api.worldbank.org/v2/country?format=json&per_page=304"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.