{
  "_id": "6aea2a081e2c7b3a4f533b52",
  "Package": "lightson",
  "Title": "Download and Analyse Nighttime Lights Satellite Data",
  "Version": "0.2.0",
  "Authors@R": "person(\"Saket\", \"Choudhary\",\nemail = \"saketc@iitb.ac.in\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0001-5202-7633\"))",
  "Description": "Downloads and processes nighttime lights satellite data\nfrom the 'NASA' 'VIIRS' Black Marble product suite (daily,\nmonthly, and annual composites; Roman et al. (2018)\n<doi:10.1016/j.rse.2018.03.017>) served by the 'LAADS DAAC'\narchive <https://ladsweb.modaps.eosdis.nasa.gov>, and from the\nIndian Space Research Organisation's 'Bhuvan' nighttime lights\nportal. Provides zonal statistics over arbitrary polygons,\nreturning tidy region-by-time panels, along with plotting\nhelpers.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "URL": "https://lightson.saketlab.org,\nhttps://github.com/saketlab/lightson",
  "BugReports": "https://github.com/saketlab/lightson/issues",
  "Config/roxygen2/version": "8.1.1",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-03 18:34:10 UTC",
    "User": "root"
  },
  "Author": "Saket Choudhary [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-5202-7633>)",
  "Maintainer": "Saket Choudhary <saketc@iitb.ac.in>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-11-03 15:22:25 UTC",
  "RemoteUrl": "https://github.com/cran/lightson",
  "RemoteRef": "HEAD",
  "RemoteSha": "3a00bc48e284ddc3893bc225a9fc927ede293a3a",
  "_user": "cran",
  "_type": "src",
  "_file": "lightson_0.2.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/131937b63a460ce59f0fb88daad670d89010cfb3bf20d85ce3bcc8f4dc06ebda",
  "_filesize": 1048298,
  "_sha256": "131937b63a460ce59f0fb88daad670d89010cfb3bf20d85ce3bcc8f4dc06ebda",
  "_expires": "2027-02-11T18:37:58.000Z",
  "_created": "2026-11-03T18:34:10.000Z",
  "_published": "2026-11-03T18:38:00.747Z",
  "_upstream": "https://github.com/cran/lightson",
  "_status": "success",
  "_maintainer": {
    "name": "Saket Choudhary",
    "email": "saketc@iitb.ac.in",
    "login": "saketkc",
    "orcid": "0000-0001-5202-7633",
    "twitter": "@saketkc",
    "description": "",
    "uuid": 682153
  },
  "_jobs": [
    {
      "job": 126123536097,
      "time": 126,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13260587088"
    },
    {
      "job": 126123536170,
      "time": 183,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13262285202"
    },
    {
      "job": 126120934554,
      "time": 278,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13259621268"
    },
    {
      "job": 126123536357,
      "time": 141,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13260262302"
    },
    {
      "job": 126123536572,
      "time": 85,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13261080263"
    },
    {
      "job": 126123536260,
      "time": 94,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13261980091"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/41694287301",
  "_commit": {
    "id": "3a00bc48e284ddc3893bc225a9fc927ede293a3a",
    "author": "Saket Choudhary <saketc@iitb.ac.in>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.2.0\n",
    "time": 1793719345
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "httr2",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "terra",
      "version": ">= 1.7.0",
      "role": "Imports"
    },
    {
      "package": "sf",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "digest",
      "role": "Imports"
    },
    {
      "package": "geodata",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "patchwork",
      "role": "Suggests"
    },
    {
      "package": "scales",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.1.7",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-45",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.2.0",
      "date": "2026-11-03"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "saketkc",
      "count": 1,
      "uuid": 682153
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 635,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/lightson"
  },
  "_devurl": "https://github.com/saketlab/lightson",
  "_pkgdown": "https://lightson.saketlab.org",
  "_searchresults": 8,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/lightson.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.2.0",
      "date": "2026-11-03"
    }
  ],
  "_exports": [
    "bhuvan_raster",
    "bhuvan_stats",
    "cache_clear",
    "earthdata_token",
    "extract_panel",
    "get_india_admin",
    "ntl_download",
    "ntl_index",
    "ntl_source_agreement",
    "plot_ntl_map",
    "plot_ntl_panel",
    "plot_ntl_trend",
    "theme_ntl"
  ],
  "_help": [
    {
      "page": "bhuvan_raster",
      "title": "Download Bhuvan NTL raster tiles for a region",
      "topics": [
        "bhuvan_raster"
      ]
    },
    {
      "page": "bhuvan_stats",
      "title": "Get pre-aggregated Bhuvan NTL state statistics",
      "topics": [
        "bhuvan_stats"
      ]
    },
    {
      "page": "cache_clear",
      "title": "Clear the local lightson cache",
      "topics": [
        "cache_clear"
      ]
    },
    {
      "page": "earthdata_token",
      "title": "Get NASA Earthdata bearer token",
      "topics": [
        "earthdata_token"
      ]
    },
    {
      "page": "extract_panel",
      "title": "Compute zonal statistics for a panel of rasters",
      "topics": [
        "extract_panel"
      ]
    },
    {
      "page": "get_india_admin",
      "title": "Get Indian administrative boundaries",
      "topics": [
        "get_india_admin"
      ]
    },
    {
      "page": "ntl_download",
      "title": "Download NASA Black Marble nighttime lights",
      "topics": [
        "ntl_download"
      ]
    },
    {
      "page": "ntl_index",
      "title": "Index nighttime-light values to a baseline period",
      "topics": [
        "ntl_index"
      ]
    },
    {
      "page": "ntl_source_agreement",
      "title": "Measure agreement between two nighttime-light panels",
      "topics": [
        "ntl_source_agreement"
      ]
    },
    {
      "page": "plot_ntl_map",
      "title": "Plot a nighttime lights raster map",
      "topics": [
        "plot_ntl_map"
      ]
    },
    {
      "page": "plot_ntl_panel",
      "title": "Plot a multi-year nighttime lights panel",
      "topics": [
        "plot_ntl_panel"
      ]
    },
    {
      "page": "plot_ntl_trend",
      "title": "Plot nighttime lights radiance trends",
      "topics": [
        "plot_ntl_trend"
      ]
    },
    {
      "page": "theme_ntl",
      "title": "ggplot2 theme for nighttime lights plots",
      "topics": [
        "theme_ntl"
      ]
    }
  ],
  "_pkglogo": "https://github.com/cran/lightson/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/cran/lightson/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "class",
    "classInt",
    "cli",
    "curl",
    "DBI",
    "digest",
    "e1071",
    "glue",
    "httr2",
    "jsonlite",
    "KernSmooth",
    "lifecycle",
    "magrittr",
    "openssl",
    "proxy",
    "R6",
    "Rcpp",
    "rlang",
    "s2",
    "sf",
    "sys",
    "terra",
    "units",
    "vctrs",
    "withr",
    "wk"
  ],
  "_vignettes": [
    {
      "source": "source-comparison.Rmd",
      "filename": "source-comparison.html",
      "title": "Choosing and comparing nighttime-light sources",
      "engine": "knitr::rmarkdown",
      "headings": [
        "At a glance",
        "Bhuvan: simple India annual data",
        "NASA Black Marble: annual, monthly, and daily",
        "Comparison"
      ],
      "created": "2026-11-03 15:22:25",
      "modified": "2026-11-03 15:22:25",
      "commits": 1
    },
    {
      "source": "custom-geometry.Rmd",
      "filename": "custom-geometry.html",
      "title": "Custom geometry: district-level NTL with custom boundaries",
      "engine": "knitr::rmarkdown",
      "headings": [
        "State-level workflow (bundled boundaries)",
        "District-level workflow",
        "LGD boundaries",
        "Historical census boundaries",
        "VIIRS path"
      ],
      "created": "2026-11-03 15:22:25",
      "modified": "2026-11-03 15:22:25",
      "commits": 1
    },
    {
      "source": "india-electrification.Rmd",
      "filename": "india-electrification.html",
      "title": "India electrification trends with VIIRS",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Get a NASA Earthdata token",
        "Quick workflow",
        "Use your own shape/boundary file"
      ],
      "created": "2026-11-03 15:22:25",
      "modified": "2026-11-03 15:22:25",
      "commits": 1
    },
    {
      "source": "india-bhuvan-states.Rmd",
      "filename": "india-bhuvan-states.html",
      "title": "India state-level NTL with Bhuvan",
      "engine": "knitr::rmarkdown",
      "headings": [
        "All states, all years",
        "Single state time series",
        "Compare states",
        "Nighttime India from space, 2012 to 2024",
        "Filter by year range"
      ],
      "created": "2026-11-03 15:22:25",
      "modified": "2026-11-03 15:22:25",
      "commits": 1
    }
  ],
  "_score": 3.3010299956639813,
  "_indexed": true,
  "_nocasepkg": "lightson",
  "_universes": [
    "cran",
    "saketkc",
    "saketlab"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-11-03T18:36:19.000Z",
      "distro": "resolute",
      "commit": "3a00bc48e284ddc3893bc225a9fc927ede293a3a",
      "fileid": "https://r2.ropensci.org/b5d0809e056c84783f062bf2081b400bf1f6017117021bca0a138bed38b7bffe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41694287301"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-11-03T18:37:13.000Z",
      "distro": "resolute",
      "commit": "3a00bc48e284ddc3893bc225a9fc927ede293a3a",
      "fileid": "https://r2.ropensci.org/a2d4791478da91a49911889a942c86f1b59c9e6571a73d6b6327eda118ceda2e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41694287301"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-11-03T18:36:49.000Z",
      "commit": "3a00bc48e284ddc3893bc225a9fc927ede293a3a",
      "fileid": "https://r2.ropensci.org/9a7e966f263bccd30b6c3ea754cceec938a585c9f47574b57ff488ea225c390d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41694287301"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-11-03T18:35:30.000Z",
      "commit": "3a00bc48e284ddc3893bc225a9fc927ede293a3a",
      "fileid": "https://r2.ropensci.org/3dae55bc2f45ea0a1a44455e28b9f8a394ba37538ead562729d15aa087ea5b04",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41694287301"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-11-03T18:35:35.000Z",
      "commit": "3a00bc48e284ddc3893bc225a9fc927ede293a3a",
      "fileid": "https://r2.ropensci.org/03c165ce8ca5e50a56bb321dbacb4ee9fe11a70230d5d35f337e30b22160d0be",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41694287301"
    }
  ]
}