Learn R Programming

Rnightlights (version 0.1.5)

existsCtryNlDataFile: Check if a country's data file exists

Description

Check if a country's data file exists

Usage

existsCtryNlDataFile(ctryCode)

Arguments

ctryCode

the ISO3 country code

Value

TRUE/FALSE

Examples

Run this code
# NOT RUN {
ctryCode <- "KEN"
message("Data file for ", ctryCode, 
    ifelse(Rnightlights:::existsCtryNlDataFile(ctryCode), 
        " FOUND", " NOT FOUND"))

# }

Run the code above in your browser using DataLab