lightson: Download and Analyse Nighttime Lights Satellite Data

Downloads and processes nighttime lights satellite data from the 'NASA' 'VIIRS' Black Marble product suite (daily, monthly, and annual composites; Roman et al. (2018) <doi:10.1016/j.rse.2018.03.017>) served by the 'LAADS DAAC' archive <https://ladsweb.modaps.eosdis.nasa.gov>, and from the Indian Space Research Organisation's 'Bhuvan' nighttime lights portal. Provides zonal statistics over arbitrary polygons, returning tidy region-by-time panels, along with plotting helpers.

Version: 0.2.0
Depends: R (≥ 4.1.0)
Imports: httr2 (≥ 1.0.0), terra (≥ 1.7.0), sf (≥ 1.0.0), jsonlite, digest
Suggests: geodata, ggplot2, patchwork, scales, withr, testthat (≥ 3.1.7), knitr, rmarkdown
Published: 2026-11-03
DOI: 10.32614/CRAN.package.lightson (may not be active yet)
Author: Saket Choudhary ORCID iD [aut, cre]
Maintainer: Saket Choudhary <saketc at iitb.ac.in>
BugReports: https://github.com/saketlab/lightson/issues
License: MIT + file LICENSE
URL: https://lightson.saketlab.org, https://github.com/saketlab/lightson
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: lightson results

Documentation:

Reference manual: lightson.html , lightson.pdf
Vignettes: Custom geometry: district-level NTL with custom boundaries (source, R code)
India state-level NTL with Bhuvan (source, R code)
India electrification trends with VIIRS (source, R code)
Choosing and comparing nighttime-light sources (source)

Downloads:

Package source: lightson_0.2.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=lightson to link to this page.