{
  "_id": "6a27a97124555f66ed533ab9",
  "Package": "subincomeR",
  "Title": "Access to Global Sub-National Income Data",
  "Version": "0.5.0",
  "Authors@R": "person(\"Pablo\", \"García Guzmán\", , \"garciagp@ebrd.com\", role = c(\"aut\", \"cre\", \"cph\"))",
  "Description": "Provides access to granular sub-national income data from\nthe MCC-PIK Database Of Sub-national Economic Output (DOSE).\nThe package downloads and processes the data from its open\nrepository on 'Zenodo' (<https://zenodo.org/records/20035157>).\nFunctions are provided to fetch data at multiple geographic\nlevels, match coordinates to administrative regions, and access\nassociated geometries.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/pablogguz/subincomeR,\nhttps://pablogguz.github.io/subincomeR/",
  "BugReports": "https://github.com/pablogguz/subincomeR/issues",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nlibssl-dev libproj-dev libsqlite3-dev libudunits2-dev",
  "Repository": "https://pablogguz.r-universe.dev",
  "Date/Publication": "2026-05-09 13:44:28 UTC",
  "RemoteUrl": "https://github.com/pablogguz/subincomer",
  "RemoteRef": "HEAD",
  "RemoteSha": "8583f02ef56cdba4cdd8a0fd544ed8ef4203b655",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-08 06:37:44 UTC",
    "User": "root"
  },
  "Author": "Pablo García Guzmán [aut, cre, cph]",
  "Maintainer": "Pablo García Guzmán <garciagp@ebrd.com>",
  "MD5sum": "590d3624299cf928f94920f03d5ff5a3",
  "_user": "pablogguz",
  "_type": "src",
  "_file": "subincomeR_0.5.0.tar.gz",
  "_fileid": "0dcb836f41ea31a62d98d431b8e90a7175c946b36b722348c854632140596256",
  "_filesize": 1060015,
  "_sha256": "0dcb836f41ea31a62d98d431b8e90a7175c946b36b722348c854632140596256",
  "_created": "2026-06-08T06:37:44.000Z",
  "_published": "2026-06-09T05:49:37.179Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80256571879,
      "time": 148,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7473182853"
    },
    {
      "job": 80256571965,
      "time": 153,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7473183872"
    },
    {
      "job": 80256571485,
      "time": 131,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7499493734"
    },
    {
      "job": 80256571505,
      "time": 158,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7499496559"
    },
    {
      "job": 80256571791,
      "time": 239,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7473142326"
    },
    {
      "job": 80256571783,
      "time": 147,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7473182399"
    },
    {
      "job": 80256572066,
      "time": 88,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7473166330"
    },
    {
      "job": 80256572075,
      "time": 122,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7473175804"
    },
    {
      "job": 80256571779,
      "time": 150,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7473183510"
    }
  ],
  "_buildurl": "https://github.com/r-universe/pablogguz/actions/runs/27120261437",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/pablogguz/subincomer",
  "_commit": {
    "id": "8583f02ef56cdba4cdd8a0fd544ed8ef4203b655",
    "author": "pablo <72149928+pablogguz@users.noreply.github.com>",
    "committer": "pablo <72149928+pablogguz@users.noreply.github.com>",
    "message": "Fix gpkg generation + landing map for V2.14\n\nThe v0.5.0 release shipped with two latent issues in the GADM-DOSE\ngeometries served from Dropbox (package code was unaffected, so this\nfix is data-side only — no CRAN bump needed):\n\n- data-raw/_prepare_gpkg.R: filter GADM by GID_1 *referenced in the\n  DOSE CSV*, not by GID_0. The previous logic dropped all GADM-CAN\n  and GADM-PRT polygons because DOSE shipped one or two aggregated\n  custom geometries for those countries (CAN.100_1, PRT.101_1+),\n  orphaning the CAN.*_1 / PRT.*_1 rows the CSV actually uses. The\n  CSV-aware rule keeps GADM where the CSV references it and prefers\n  DOSE's polygon where both supply the same GID_1.\n\n- data-raw/_map_landing.R: arrange(desc(is.na(grp_ppp))) before\n  st_as_sf() so NA polygons render first and colored polygons draw\n  on top. Without this, historical aggregated shapes like CAN.100_1\n  (\"NWT including Nunavut\", used pre-1999) overlay the colored\n  current-day shapes for years where the aggregate has no data.\n\n- tests/testthat/test-coverage.R: new file. Three tests guard against\n  recurrence — every DOSE country has at least one polygon, CSV\n  GID_1s have polygons (tolerance <10), and matchDOSE returns\n  non-NA GID_1 for known cities in CAN/PRT/MEX/GBR/JPN.\n\n- CLAUDE.md: working rule — do not commit or push without an explicit\n  per-change instruction.\n\nThe accompanying gadm_geom.zip on Dropbox has been re-uploaded with\nthese fixes; share-link URL unchanged.\n\nCo-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>\n",
    "time": 1778334268
  },
  "_maintainer": {
    "name": "Pablo García Guzmán",
    "email": "garciagp@ebrd.com"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "countrycode",
      "role": "Imports"
    },
    {
      "package": "curl",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "sf",
      "role": "Imports"
    },
    {
      "package": "tidygeocoder",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "zip",
      "role": "Imports"
    },
    {
      "package": "fixest",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "ggtext",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    }
  ],
  "_owner": "pablogguz",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-37",
      "n": 2
    },
    {
      "week": "2026-19",
      "n": 5
    }
  ],
  "_tags": [
    {
      "name": "v0.4.0",
      "date": "2025-09-11"
    },
    {
      "name": "v0.5.0",
      "date": "2026-05-08"
    }
  ],
  "_stars": 3,
  "_contributors": [
    {
      "user": "pablogguz",
      "count": 43,
      "uuid": 72149928
    }
  ],
  "_userbio": {
    "uuid": 72149928,
    "type": "user",
    "name": "pablo",
    "description": "associate economist @ EBRD"
  },
  "_downloads": {
    "count": 657,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/subincomeR"
  },
  "_devurl": "https://github.com/pablogguz/subincomer",
  "_pkgdown": "https://pablogguz.github.io/subincomeR/",
  "_searchresults": 1,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/subincomeR.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/pablogguz/subincomer",
  "_realowner": "pablogguz",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.2.2",
      "date": "2024-12-19"
    },
    {
      "version": "0.3.0",
      "date": "2025-02-16"
    },
    {
      "version": "0.4.0",
      "date": "2025-09-11"
    },
    {
      "version": "0.5.0",
      "date": "2026-05-08"
    }
  ],
  "_exports": [
    "getDOSE",
    "getDOSE_geom",
    "matchDOSE"
  ],
  "_help": [
    {
      "page": "getDOSE",
      "title": "Download and load the DOSE dataset into memory",
      "topics": [
        "getDOSE"
      ]
    },
    {
      "page": "getDOSE_geom",
      "title": "Download and load GADM-DOSE geometries",
      "topics": [
        "getDOSE_geom"
      ]
    },
    {
      "page": "matchDOSE",
      "title": "Match coordinates to DOSE dataset",
      "topics": [
        "matchDOSE"
      ]
    }
  ],
  "_pkglogo": "https://github.com/pablogguz/subincomer/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/pablogguz/subincomer/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "class",
    "classInt",
    "cli",
    "countrycode",
    "crayon",
    "curl",
    "DBI",
    "dplyr",
    "e1071",
    "generics",
    "glue",
    "hms",
    "httr",
    "jsonlite",
    "KernSmooth",
    "lifecycle",
    "magrittr",
    "MASS",
    "mime",
    "openssl",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "proxy",
    "R6",
    "Rcpp",
    "rlang",
    "s2",
    "sf",
    "sys",
    "tibble",
    "tidygeocoder",
    "tidyselect",
    "units",
    "utf8",
    "vctrs",
    "withr",
    "wk",
    "zip"
  ],
  "_vignettes": [
    {
      "source": "regional-convergence.Rmd",
      "filename": "regional-convergence.html",
      "title": "Use case: regional convergence",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Loading required packages",
        "Getting the data",
        "Unconditional $\\beta$-convergence",
        "Conditional $\\beta$-convergence",
        "References"
      ],
      "created": "2024-12-17 13:37:40",
      "modified": "2025-09-11 14:40:55",
      "commits": 4
    }
  ],
  "_score": 4.477121254719663,
  "_indexed": true,
  "_nocasepkg": "subincomer",
  "_universes": [
    "pablogguz"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.0",
      "date": "2026-06-08T06:40:36.000Z",
      "distro": "noble",
      "commit": "8583f02ef56cdba4cdd8a0fd544ed8ef4203b655",
      "fileid": "e082c0436d29db3b702d6ea8d319cbb99045a6799a5609cc8ad0a2fdb279dc4f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pablogguz/actions/runs/27120261437"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.5.0",
      "date": "2026-06-08T06:40:39.000Z",
      "distro": "noble",
      "commit": "8583f02ef56cdba4cdd8a0fd544ed8ef4203b655",
      "fileid": "59e67be8ddcccf61e7d50cd3c3a1b3f9cbd0acfab0cf7ef5b56924ec65e8cfac",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pablogguz/actions/runs/27120261437"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5.0",
      "date": "2026-06-09T05:48:13.000Z",
      "commit": "8583f02ef56cdba4cdd8a0fd544ed8ef4203b655",
      "fileid": "146eab3c0bba6389b394a917cb9b71a548139fcc7f56131cbe64a799d095d50b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pablogguz/actions/runs/27120261437"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.5.0",
      "date": "2026-06-09T05:48:22.000Z",
      "commit": "8583f02ef56cdba4cdd8a0fd544ed8ef4203b655",
      "fileid": "c421bfa461dd9952ae90b7286214331a2287086b648175de8dc9ceffc80b4e71",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pablogguz/actions/runs/27120261437"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.5.0",
      "date": "2026-06-08T06:40:57.000Z",
      "commit": "8583f02ef56cdba4cdd8a0fd544ed8ef4203b655",
      "fileid": "118d1baf7d933f5fe01bbabf05759830d208f998765fdaa1e61b41c37af20ad3",
      "status": "success",
      "buildurl": "https://github.com/r-universe/pablogguz/actions/runs/27120261437"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.5.0",
      "date": "2026-06-08T06:39:32.000Z",
      "commit": "8583f02ef56cdba4cdd8a0fd544ed8ef4203b655",
      "fileid": "c778075086671b5c08e720df41b959ec0bb45f3e7f0540b08bf7472bebadb2c0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pablogguz/actions/runs/27120261437"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.5.0",
      "date": "2026-06-08T06:39:47.000Z",
      "commit": "8583f02ef56cdba4cdd8a0fd544ed8ef4203b655",
      "fileid": "d7e2cf10032ce29749f95c4d28bec9b7ce1963f9b3d5dce4ddc047e46ad4a9f1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pablogguz/actions/runs/27120261437"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.5.0",
      "date": "2026-06-08T06:40:32.000Z",
      "commit": "8583f02ef56cdba4cdd8a0fd544ed8ef4203b655",
      "fileid": "87f284ec5737773424b2513d235c2eb9798b9a333484a4c347da03f8b3843ac2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pablogguz/actions/runs/27120261437"
    }
  ]
}