Skip to contents

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.

Usage

get_mexico_literacy_rate()

Value

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).

Note

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.

See also

Examples

if (FALSE) { # \dontrun{
get_mexico_literacy_rate()
} # }