{
  "_id": "6ab1128e3d719c1f840869ab",
  "Package": "lightson",
  "Title": "Download and Analyse Nighttime Lights Satellite Data",
  "Version": "0.1.1",
  "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 (NTL) satellite\ndata from NASA VIIRS/Black Marble (daily, monthly, and annual\ncomposites) and India's ISRO Bhuvan NTL portal.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "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.0.0",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nlibssl-dev libproj-dev libsqlite3-dev libudunits2-dev",
  "Repository": "https://saketlab.r-universe.dev",
  "Date/Publication": "2026-09-13 18:04:33 UTC",
  "RemoteUrl": "https://github.com/saketlab/lightson",
  "RemoteRef": "HEAD",
  "RemoteSha": "321901e9a4ad607052cf66662d3c1e50f94f1b20",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-09-21 11:12:04 UTC",
    "User": "root"
  },
  "Author": "Saket Choudhary [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-5202-7633>)",
  "Maintainer": "Saket Choudhary <saketc@iitb.ac.in>",
  "_user": "saketlab",
  "_type": "src",
  "_file": "lightson_0.1.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/9264d4f70755e66e65f3850684ff62c183139f1ba5138ac5ee89b876d6b04889",
  "_filesize": 1700342,
  "_sha256": "9264d4f70755e66e65f3850684ff62c183139f1ba5138ac5ee89b876d6b04889",
  "_expires": "2026-12-30T11:18:36.000Z",
  "_created": "2026-09-21T11:12:04.000Z",
  "_published": "2026-09-21T11:18:38.475Z",
  "_jobs": [
    {
      "job": 106310798850,
      "time": 154,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "10635955557"
    },
    {
      "job": 106310798721,
      "time": 159,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "10635356040"
    },
    {
      "job": 106310798832,
      "time": 114,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "10635236618"
    },
    {
      "job": 106310798742,
      "time": 139,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "10635074850"
    },
    {
      "job": 106309118173,
      "time": 351,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10635650205"
    },
    {
      "job": 106310798764,
      "time": 146,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10635129046"
    },
    {
      "job": 106310798772,
      "time": 89,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "10635560449"
    },
    {
      "job": 106310798858,
      "time": 110,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "10635176492"
    },
    {
      "job": 106310798805,
      "time": 85,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "10635109031"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/saketlab/actions/runs/35592257862",
  "_status": "success",
  "_upstream": "https://github.com/saketlab/lightson",
  "_commit": {
    "id": "321901e9a4ad607052cf66662d3c1e50f94f1b20",
    "author": "Saket Choudhary <saketkc@gmail.com>",
    "committer": "Saket Choudhary <saketkc@gmail.com>",
    "message": "Add source comparison\n",
    "time": 1789322673
  },
  "_maintainer": {
    "name": "Saket Choudhary",
    "email": "saketc@iitb.ac.in",
    "login": "saketkc",
    "orcid": "0000-0001-5202-7633",
    "twitter": "@saketkc",
    "description": "",
    "uuid": 682153
  },
  "_distro": "resolute",
  "_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": "httptest2",
      "role": "Suggests"
    },
    {
      "package": "pkgdown",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "saketlab",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-17",
      "n": 2
    },
    {
      "week": "2026-23",
      "n": 4
    },
    {
      "week": "2026-31",
      "n": 1
    },
    {
      "week": "2026-35",
      "n": 7
    },
    {
      "week": "2026-37",
      "n": 10
    }
  ],
  "_tags": [],
  "_stars": 3,
  "_contributors": [
    {
      "user": "saketkc",
      "count": 24,
      "uuid": 682153
    }
  ],
  "_userbio": {
    "uuid": 204561227,
    "type": "organization",
    "name": "Saket Lab",
    "followers": 14
  },
  "_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",
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/lightson.html",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_cranurl": false,
  "_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"
      ]
    }
  ],
  "_readme": "https://github.com/saketlab/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-09-12 17:56:10",
      "modified": "2026-09-13 18:04:33",
      "commits": 4
    },
    {
      "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-04-26 18:08:22",
      "modified": "2026-09-13 15:00:37",
      "commits": 7
    },
    {
      "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-04-26 18:08:22",
      "modified": "2026-09-12 17:56:10",
      "commits": 5
    },
    {
      "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-04-26 18:08:22",
      "modified": "2026-09-13 14:37:50",
      "commits": 8
    }
  ],
  "_score": 4.477121254719663,
  "_indexed": true,
  "_nocasepkg": "lightson",
  "_universes": [
    "saketlab",
    "saketkc"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-09-21T11:14:39.000Z",
      "distro": "resolute",
      "commit": "321901e9a4ad607052cf66662d3c1e50f94f1b20",
      "fileid": "https://r2.ropensci.org/0b9d6e9648cb0752e6be2e1190752fbcd3cbb351e518701f810b0ef55dbf2fd1",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/saketlab/actions/runs/35592257862"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-09-21T11:14:41.000Z",
      "distro": "resolute",
      "commit": "321901e9a4ad607052cf66662d3c1e50f94f1b20",
      "fileid": "https://r2.ropensci.org/415bce17eaff77bd5428d43d7bd841f788feb9369cbb933781a98eb7f1b83aae",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/saketlab/actions/runs/35592257862"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-09-21T11:18:00.000Z",
      "commit": "321901e9a4ad607052cf66662d3c1e50f94f1b20",
      "fileid": "https://r2.ropensci.org/9cd264185b697f95e4bdbf8fc8dfd55f837ffec68d3d11a8aceee0afa4de3c5b",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/saketlab/actions/runs/35592257862"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-09-21T11:17:45.000Z",
      "commit": "321901e9a4ad607052cf66662d3c1e50f94f1b20",
      "fileid": "https://r2.ropensci.org/9df36dd3704daabca9bf3d4b3e879e765d7daf9f7dee48d59df04c224a4a471c",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/saketlab/actions/runs/35592257862"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.1",
      "date": "2026-09-21T11:14:47.000Z",
      "commit": "321901e9a4ad607052cf66662d3c1e50f94f1b20",
      "fileid": "https://r2.ropensci.org/56f145eb8fa7d4ebb4099d2a5014d7d804a742bc399b358770c3de09f8574bba",
      "status": "success",
      "buildurl": "https://github.com/r-universe/saketlab/actions/runs/35592257862"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-09-21T11:13:25.000Z",
      "commit": "321901e9a4ad607052cf66662d3c1e50f94f1b20",
      "fileid": "https://r2.ropensci.org/d2daf36e74ae4fb1bc5a2b9d6c05dcdaca2c4c1375841de90caa30d6ed5ee758",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/saketlab/actions/runs/35592257862"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-09-21T11:13:44.000Z",
      "commit": "321901e9a4ad607052cf66662d3c1e50f94f1b20",
      "fileid": "https://r2.ropensci.org/4d847d434f863a77e35a50abd00b4d30a150c6aea9c7340ddc42214a84b12e53",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/saketlab/actions/runs/35592257862"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-09-21T11:13:24.000Z",
      "commit": "321901e9a4ad607052cf66662d3c1e50f94f1b20",
      "fileid": "https://r2.ropensci.org/620c92146d135145db0abb5679856531293d3abb258b40d106bb69f7d1d7adf2",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/saketlab/actions/runs/35592257862"
    }
  ]
}