Package: lightson 0.2.0

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.
Authors:
lightson_0.2.0.tar.gz
lightson_0.2.0.zip(r-4.7-any)lightson_0.2.0.zip(r-4.6-any)
lightson_0.2.0.tar.gz(r-4.7-any)lightson_0.2.0.tar.gz(r-4.6-any)
lightson_0.2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
lightson/json (API)
| # Install 'lightson' in R: |
| install.packages('lightson', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/saketlab/lightson/issues
Pkgdown/docs site:https://lightson.saketlab.org
Last updated from:3a00bc48e2. Checks:6 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 126 | ||
| source / vignettes | OK | 278 | ||
| linux-release | OK | 183 | ||
| windows-devel | OK | 85 | ||
| windows-release | OK | 94 | ||
| wasm-release | OK | 141 |
Exports:bhuvan_rasterbhuvan_statscache_clearearthdata_tokenextract_panelget_india_adminntl_downloadntl_indexntl_source_agreementplot_ntl_mapplot_ntl_panelplot_ntl_trendtheme_ntl
Dependencies:askpassclassclassIntclicurlDBIdigeste1071gluehttr2jsonliteKernSmoothlifecyclemagrittropensslproxyR6Rcpprlangs2sfsysterraunitsvctrswithrwk
Last update: 2026-11-03
Started: 2026-11-03
Last update: 2026-11-03
Started: 2026-11-03
Last update: 2026-11-03
Started: 2026-11-03
Last update: 2026-11-03
Started: 2026-11-03
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Download Bhuvan NTL raster tiles for a region | bhuvan_raster |
| Get pre-aggregated Bhuvan NTL state statistics | bhuvan_stats |
| Clear the local lightson cache | cache_clear |
| Get NASA Earthdata bearer token | earthdata_token |
| Compute zonal statistics for a panel of rasters | extract_panel |
| Get Indian administrative boundaries | get_india_admin |
| Download NASA Black Marble nighttime lights | ntl_download |
| Index nighttime-light values to a baseline period | ntl_index |
| Measure agreement between two nighttime-light panels | ntl_source_agreement |
| Plot a nighttime lights raster map | plot_ntl_map |
| Plot a multi-year nighttime lights panel | plot_ntl_panel |
| Plot nighttime lights radiance trends | plot_ntl_trend |
| ggplot2 theme for nighttime lights plots | theme_ntl |
