nightlight_download: Download nighlight data from NOAA

Description Usage Arguments Examples

View source: R/nightlight.R

Description

nightlight_download downloads nightlight data from NOAA's website and places it the specified destination directory

Usage

1
2
3
nightlight_download(dest = ".",
  src = "ftp://ftp.ngdc.noaa.gov/STP/DMSP/web_data/v4composites",
  max_retry = 5)

Arguments

dest

destination folder for the downloaded nightight data

src

source URL of NOAA nightlight data

max_retry

maximum number of retries

Examples

1
2
3
library(nightlight)

nightlight_download("~/datasets/noaa")

altaf-ali/nightlight documentation built on May 10, 2017, 11:14 p.m.