Learn R Programming

Rnightlights (version 0.1.5)

getCtryNlDataFnamePath: Construct the full path to save the file containing the country data

Description

Construct the full path to save the file containing the country data. Note it does not indicate if the file exists

Usage

getCtryNlDataFnamePath(ctryCode)

Arguments

ctryCode

character string The ctryCode of interest

Value

Character string the full path to the data file of a country

Examples

Run this code
# NOT RUN {
#get the full path to the file containing data for KEN
getCtryNlDataFnamePath("KEN")

Rnightlights:::getCtryNlDataFnamePath("KEN")
 #returns full path of the nightlight data file for the country

#@export only due to exploreData() shiny app
# }

Run the code above in your browser using DataLab