Satellite Nightlight Data Extraction

The Rnightlights package extracts raster and zonal statistics from satellite nightlight rasters downloaded from the United States National Oceanic and Atmospheric Administration (< http://www.noaa.gov>) free data repositories. Both the DMSP-OLS annual and SNPP-VIIRS monthly nightlight raster data are supported. Satellite nightlight raster tiles are downloaded and cropped to the country boundaries using shapefiles from the GADM database of Global Administrative Areas (< http://gadm.org>). Zonal statistics are then calculated at the lowest administrative boundary for the selected country and cached locally for future retrieval. Finally, a simple data explorer/browser is included that allows one to visualize the cached data e.g. graphing, mapping and clustering regional data.


News

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("Rnightlights")

0.1.2 by Christopher Njuguna, 13 days ago


https://github.com/chrisvwn/Rnightlights


Report a bug at https://github.com/chrisvwn/Rnightlights/issues


Browse source code at https://github.com/cran/Rnightlights


Authors: Christopher Njuguna [aut, cre, cph], Henrik Bengtsson [ctb] (data setup, https://cran.r-project.org/package=R.cache), Black Guru [ctb] (gdal zonal, http://www.guru-gis.net/efficient-zonal-statistics-using-r-and-gdal/), Jeff Chen [ctb] (masq function, https://commercedataservice.github.io/tutorial_viirs_part1/), Star Ying [ctb] (masq function, https://commercedataservice.github.io/tutorial_viirs_part1/), Chris Elvidge [ctb] (information + masq function)


Documentation:   PDF Manual  


GPL-3 license


Imports cleangeo, compiler, data.table, doParallel, dplyr, foreach, gdalUtils, lubridate, methods, raster, readr, reshape2, rgdal, rgeos, R.utils, rvest, rworldmap, settings, sp, stats, stringr, utils, xml2

Suggests dendextend, ggdendro, ggplot2, leaflet, plotly, RColorBrewer, reshape, shiny, shinydashboard

System requirements: gdal wget curl aria2


See at CRAN