Rnightlights (0.1.4)

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 () 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 (). 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.

Maintainer: Christopher Njuguna
Author(s): 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)

License: GPL-3

Uses: cleangeo, data.table, doParallel, dplyr, foreach, gdalUtils, lubridate, R.utils, raster, readr, reshape2, rgdal, rgeos, rvest, rworldmap, settings, sp, stringr, xml2, RColorBrewer, ggplot2, reshape, ggdendro, shiny, dendextend, shinydashboard, leaflet, plotly

Released over 2 years ago.