Learn R Programming

Rnightlights (version 0.2.4)

downloadNlTilesOLS: Download OLS nightlight tile

Description

Download OLS nightlight tile

Usage

downloadNlTilesOLS(nlPeriod,
  downloadMethod = pkgOptions("downloadMethod"), nlType = "OLS.Y",
  configName = pkgOptions(paste0("configName_", nlType)),
  multiTileStrategy = pkgOptions("multiTileStrategy"))

Arguments

nlPeriod

the nlPeriod of the tile

downloadMethod

The method to use for download.

nlType

A character string of nlType

configName

character the type of raster being processed

multiTileStrategy

character How to handle multiple tiles per nlPeriod

Value

TRUE/FALSE Whether the download was successful

Examples

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

Run the code above in your browser using DataLab