Learn R Programming

Rnightlights (version 0.1.2)

downloadNlTilesOLS: Download OLS nightlight tile

Description

Download OLS nightlight tile

Usage

downloadNlTilesOLS(nlYear, downloadMethod = pkgOptions("downloadMethod"))

Arguments

nlYear

the year in "YYYY" format e.g. "2012"

downloadMethod

The method to use for download.

Value

TRUE/FALSE Whether the download was successful

Examples

Run this code
# NOT RUN {
if(downloadNlTilesOLS("201205"))
  print("download successful")
  
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab