50% off | Unlimited Data & AI Learning

Last chance! 50% off unlimited learning

Sale ends in


ISRaD (version 2.5.5)

ISRaD.extra.fill_country: ISRaD.extra.fill_country

Description

Fills country code from profile coordinates

Usage

ISRaD.extra.fill_country(database, continent = FALSE, region = FALSE)

Value

ISRaD_data object with extracted country names.

Arguments

database

ISRaD dataset object.

continent

Boolean noting whether a column should be added for extracted continent (8 continent model, including Oceania)

region

Boolean noting whether a column should be added for extracted subregion

Author

Shane Stoner & J. Beem-Miller

Examples

Run this code
# Load example dataset Gaudinski_2001
database <- ISRaD::Gaudinski_2001
# Fill profile coordinates
database.x <- ISRaD.extra.fill_coords(database)
# Fill country
database.x <- ISRaD.extra.fill_country(database.x)

Run the code above in your browser using DataLab