View source: R/get_mexico_literacy_rate.R
get_mexico_literacy_rate | R Documentation |
This function retrieves Mexico's literacy rate for adults aged 15 and above,
expressed as a percentage, for the years 2010 to 2022 using the World Bank Open Data API.
The indicator used is SE.ADT.LITR.ZS
.
get_mexico_literacy_rate()
A tibble with the following columns:
indicator
: Indicator name (e.g., "Literacy rate, adult total (
country
: Country name ("Mexico").
year
: Year of the data.
value
: Literacy rate (numeric percentage).
Some years may return missing values ('NA') due to lack of official data reported to the World Bank. Requires internet connection. The function pulls data in real time from the World Bank API.
GET
, fromJSON
, as_tibble
## Not run:
get_mexico_literacy_rate()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.