R/worldbank_df.R

#' @name worldbank_df
#' @aliases worldbank_df
#' @title World Bank data
#'
#' @description The object loaded is a \code{data.frame} object containing data from World Bank
#' 
#' @format Formal class 'data.frame'; the data contains a data.frame with 177 obs. of 7 variables:
#' \itemize{
#'     \item{name: character vector of country names}
#'     \item{iso_a2: character vector of ISO 2 character country codes}
#'     \item{HDI: human development index (HDI)}
#'     \item{urban_pop: urban population}
#'     \item{unemployment: unemployment, total (\% of total labor force)}
#'     \item{pop_growth: population growth (annual \%)}
#'     \item{literacy: adult literacy rate, population 15+ years, both sexes (\%)}
#' }
#' 
#' @seealso 
#' See the wbstats package: https://cran.r-project.org/web/packages/wbstats
#' 
#' @source \url{https://data.worldbank.org/}
#' @docType data
#' @keywords datasets
#' @examples 
#' data(worldbank_df)
#' # or
#' worldbank_df <- read.csv(system.file("misc/worldbank_df.csv", package="spData"))
#' 
#' summary(worldbank_df)
#' 
"worldbank_df"

Try the spData package in your browser

Any scripts or data that you put into this service are public.

spData documentation built on Sept. 11, 2024, 5:36 p.m.