R Dataset / Package mosaicData / Countries

Documentation

On this R-data statistics page, you will find information about the Countries data set which pertains to Countries. The Countries data set is found in the mosaicData R package. You can load the Countries data set in R by issuing the following command at the console data("Countries"). This will load the data into a variable called Countries. If R says the Countries data set is not found, you can try installing the package by issuing this command install.packages("mosaicData") and then attempt to reload the data. If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the Countries R data set. The size of this file is about 9,181 bytes.


Countries

Description

A data frame containing country names as used by GapMinder and the maps package to facilitate converstion between the two.

Usage

data(Countries)

Format

A data frame with 258 observations on the following variables.

  • worldmap region name http://mappinghacks.com/ data sets

  • gapminder country name in GapMinder data sets

  • maps region name in maps data sets

Details

The "countries" in the maps data include several other geographic regions (bodies of water, islands belonging to other countries, Hawaii, etc.) that are not countries. Furthermore, the maps countries do not include many of the countries that have been created since ca. 2000. The mapping is therefore many-to-many, and also includes some NAs when there is no appropriate mapping. Bodies of water in the maps data, for example, are not assigned a country in the GapMinder.

Examples

data(Countries)
subset(Countries, maps=="Yugoslavia")  # Where has Yugoslavia gone?
subset(Countries, is.na(gapminder))    # Things from maps with no GapMinder equivalent
subset(Countries, is.na(maps))         # Things from GapMinder with no maps equivalent
--

Dataset imported from https://www.r-project.org.

Title Authored on Content type
OpenIntro Statistics Dataset - dream August 9, 2020 - 12:25 PM Dataset
OpenIntro Statistics Dataset - winery_cars August 9, 2020 - 2:38 PM Dataset
R Dataset / Package HSAUR / toothpaste March 9, 2018 - 1:06 PM Dataset
R Dataset / Package HSAUR / pottery March 9, 2018 - 1:06 PM Dataset
R Dataset / Package HistData / Guerry March 9, 2018 - 1:06 PM Dataset
Embed
<iframe src="https://r-data.pmagunia.com/iframe/r-dataset-package-mosaicdata-countries.html" frameBorder="0" width="100%" height="307px" />
Attachment Size
dataset-56725.csv 8.97 KB
Dataset License
GNU General Public License v2.0
Documentation License
GNU General Public License v2.0

This documentation is licensed under GPLv3 or later.