{
  "_id": "6ab25a1f3d719c1f8408c57c",
  "Package": "OPCC",
  "Title": "Open Postal Code Correspondence",
  "Version": "1.0.1",
  "Authors@R": "person(\"Lennon\", \"Li\", email = \"yeli@biostats.ai\",\nrole = c(\"aut\", \"cre\", \"cph\"))",
  "Description": "An open, fully reproducible alternative to closed postal\ncode conversion files, giving source-qualified many-to-many\ncorrespondence between Ontario postal codes and Statistics\nCanada 2021 census geographies. Every published artifact can be\nrebuilt step by step from public sources using the included\nbuild functions, so any user can reproduce and audit the\nconversion end to end. Lookup results retain allocation\nweights, evidence source, lineage, method, and vintage;\nunmatched postal codes remain explicit, and versioned release\nartifacts are checksum-verified before use. A built-in 'shiny'\napplication provides a point-and-click interface for joining,\nmapping, and exporting results. Correspondences are derived\nfrom the Statistics Canada National Address Register\n<https://www150.statcan.gc.ca/n1/pub/46-26-0002/462600022022001-eng.htm>,\nthe 2021 Census Geographic Attribute File\n<https://www12.statcan.gc.ca/census-recensement/2021/geo/aip-pia/attribute-attribs/index-eng.cfm>,\nand the GeoNames postal code export\n<https://download.geonames.org/export/zip/>. The package does\nnot redistribute Canada Post, PCCF, or PCCF+ data and does not\nclaim authoritative postal assignments.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "URL": "https://github.com/lennon-li/OPCC",
  "BugReports": "https://github.com/lennon-li/OPCC/issues",
  "Roxygen": "list(markdown = TRUE)",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "Config/roxygen2/version": "8.0.0",
  "Repository": "https://lennon-li.r-universe.dev",
  "Date/Publication": "2026-09-12 02:22:35 UTC",
  "RemoteUrl": "https://github.com/lennon-li/opcc",
  "RemoteRef": "HEAD",
  "RemoteSha": "9f30bbb991d1fd652ad464e7e96abd9c8646b9de",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-09-22 10:21:01 UTC",
    "User": "root"
  },
  "Author": "Lennon Li [aut, cre, cph]",
  "Maintainer": "Lennon Li <yeli@biostats.ai>",
  "_user": "lennon-li",
  "_type": "src",
  "_file": "OPCC_1.0.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/aa9712bc342f1d51c86261c92a270b67ee9122112d720eb6a373d289ae4361db",
  "_filesize": 272781,
  "_sha256": "aa9712bc342f1d51c86261c92a270b67ee9122112d720eb6a373d289ae4361db",
  "_expires": "2026-12-31T10:36:13.000Z",
  "_created": "2026-09-22T10:21:01.000Z",
  "_published": "2026-09-22T10:36:15.296Z",
  "_jobs": [
    {
      "job": 106705986903,
      "time": 153,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10689209278"
    },
    {
      "job": 106705986867,
      "time": 152,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10688914372"
    },
    {
      "job": 106705986533,
      "time": 102,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10690015802"
    },
    {
      "job": 106705986494,
      "time": 103,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10690230751"
    },
    {
      "job": 106704873481,
      "time": 219,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10689213701"
    },
    {
      "job": 106705986874,
      "time": 116,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10689229050"
    },
    {
      "job": 106705987422,
      "time": 90,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10688969173"
    },
    {
      "job": 106705986709,
      "time": 94,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10688309093"
    },
    {
      "job": 106705986665,
      "time": 90,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10688234198"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/lennon-li/actions/runs/35715143016",
  "_status": "success",
  "_upstream": "https://github.com/lennon-li/opcc",
  "_commit": {
    "id": "9f30bbb991d1fd652ad464e7e96abd9c8646b9de",
    "author": "Lennon Li <yeli@biostats.ai>",
    "committer": "Lennon Li <yeli@biostats.ai>",
    "message": "chore: record the 1.0.1 CRAN submission\n\nSubmitted via the CRAN web form, which does not write this file the way\ndevtools::submit_cran() does, so the provenance is recorded here. Points at\n0155cf7, the tagged v1.0.1 tree the submitted tarball was built from.\n\nCo-Authored-By: Claude Opus 5 <noreply@anthropic.com>\nClaude-Session: https://claude.ai/code/session_0156TKgtbJCZGjVsEZStZPPP\n",
    "time": 1789179755
  },
  "_maintainer": {
    "name": "Lennon Li",
    "email": "yeli@biostats.ai"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1",
      "role": "Depends"
    },
    {
      "package": "digest",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "curl",
      "role": "Suggests"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "readr",
      "role": "Suggests"
    },
    {
      "package": "readxl",
      "role": "Suggests"
    },
    {
      "package": "rlang",
      "role": "Suggests"
    },
    {
      "package": "sf",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    },
    {
      "package": "shiny",
      "version": ">= 1.8.0",
      "role": "Suggests"
    },
    {
      "package": "bslib",
      "version": ">= 0.6.0",
      "role": "Suggests"
    },
    {
      "package": "DT",
      "role": "Suggests"
    },
    {
      "package": "leaflet",
      "role": "Suggests"
    },
    {
      "package": "htmlwidgets",
      "role": "Suggests"
    },
    {
      "package": "chromote",
      "role": "Suggests"
    },
    {
      "package": "processx",
      "role": "Suggests"
    },
    {
      "package": "httpuv",
      "role": "Suggests"
    }
  ],
  "_owner": "lennon-li",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-29",
      "n": 17
    },
    {
      "week": "2026-30",
      "n": 20
    },
    {
      "week": "2026-31",
      "n": 15
    },
    {
      "week": "2026-32",
      "n": 9
    },
    {
      "week": "2026-34",
      "n": 6
    },
    {
      "week": "2026-35",
      "n": 13
    },
    {
      "week": "2026-36",
      "n": 10
    },
    {
      "week": "2026-37",
      "n": 4
    }
  ],
  "_tags": [
    {
      "name": "v1.0.0",
      "date": "2026-08-31"
    },
    {
      "name": "v1.0.1",
      "date": "2026-09-11"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "lennon-li",
      "count": 22,
      "uuid": 85519713
    }
  ],
  "_userbio": {
    "uuid": 85519713,
    "type": "user",
    "name": "Ye (Lennon) Li",
    "followers": 3
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/OPCC"
  },
  "_devurl": "https://github.com/lennon-li/opcc",
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/OPCC.html",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/lennon-li/opcc",
  "_realowner": "lennon-li",
  "_cranurl": true,
  "_exports": [
    "aggregate_da_correspondence",
    "build_centroids",
    "build_db_assignment",
    "build_m2",
    "build_source_layer",
    "clear_opcc_cache",
    "contribution_bundle",
    "contribution_issue_url",
    "download_census_boundaries",
    "download_da_boundaries",
    "download_gaf",
    "download_geonames",
    "download_nar",
    "export_postal_points",
    "geonames_supplementary_adapter",
    "get_correspondence",
    "get_da_correspondence",
    "list_vintages",
    "new_source_adapter",
    "normalize_postal_code",
    "open_contribution_issue",
    "pc_to_geo",
    "pc_to_point",
    "profile_source_layer",
    "release_manifest",
    "run_app",
    "validate_release",
    "validate_source_data"
  ],
  "_help": [
    {
      "page": "aggregate_da_correspondence",
      "title": "Aggregate postal-code-to-DB evidence to DA links",
      "topics": [
        "aggregate_da_correspondence"
      ]
    },
    {
      "page": "build_centroids",
      "title": "Build Ontario postal code centroids from NAR and GeoNames",
      "topics": [
        "build_centroids"
      ]
    },
    {
      "page": "build_db_assignment",
      "title": "Assign postal centroids to Dissemination Blocks and join GAF",
      "topics": [
        "build_db_assignment"
      ]
    },
    {
      "page": "build_m2",
      "title": "Build the M2 postal-code-to-DB correspondence",
      "topics": [
        "build_m2"
      ]
    },
    {
      "page": "build_source_layer",
      "title": "Build a source-separated local evidence layer",
      "topics": [
        "build_source_layer"
      ]
    },
    {
      "page": "clear_opcc_cache",
      "title": "Clear the downloaded OPCC release cache",
      "topics": [
        "clear_opcc_cache"
      ]
    },
    {
      "page": "contribution_bundle",
      "title": "Create a reviewable local-source contribution bundle",
      "topics": [
        "contribution_bundle"
      ]
    },
    {
      "page": "contribution_issue_url",
      "title": "Create a GitHub source-proposal issue URL for a contribution bundle",
      "topics": [
        "contribution_issue_url"
      ]
    },
    {
      "page": "download_census_boundaries",
      "title": "Download Statistics Canada 2021 census boundary shapefiles",
      "topics": [
        "download_census_boundaries"
      ]
    },
    {
      "page": "download_da_boundaries",
      "title": "Download Statistics Canada 2021 dissemination area boundary files",
      "topics": [
        "download_da_boundaries"
      ]
    },
    {
      "page": "download_gaf",
      "title": "Download the Statistics Canada 2021 Geographic Attribute File",
      "topics": [
        "download_gaf"
      ]
    },
    {
      "page": "download_geonames",
      "title": "Download GeoNames Canadian postal codes",
      "topics": [
        "download_geonames"
      ]
    },
    {
      "page": "download_nar",
      "title": "Download the Statistics Canada National Address Register",
      "topics": [
        "download_nar"
      ]
    },
    {
      "page": "export_postal_points",
      "title": "Write a postal-code point shapefile for an OPCC join",
      "topics": [
        "export_postal_points"
      ]
    },
    {
      "page": "geonames_supplementary_adapter",
      "title": "Load the versioned GeoNames supplementary-point adapter",
      "topics": [
        "geonames_supplementary_adapter"
      ]
    },
    {
      "page": "get_correspondence",
      "title": "Download, cache, and verify a correspondence release",
      "topics": [
        "get_correspondence"
      ]
    },
    {
      "page": "get_da_correspondence",
      "title": "Download, cache, and verify a direct DA correspondence release",
      "topics": [
        "get_da_correspondence"
      ]
    },
    {
      "page": "list_vintages",
      "title": "List supported correspondence release vintages",
      "topics": [
        "list_vintages"
      ]
    },
    {
      "page": "new_source_adapter",
      "title": "Define a source adapter for a local evidence layer",
      "topics": [
        "new_source_adapter"
      ]
    },
    {
      "page": "normalize_postal_code",
      "title": "Normalize Canadian postal codes",
      "topics": [
        "normalize_postal_code"
      ]
    },
    {
      "page": "OPCC",
      "title": "Open Postal Code Correspondence",
      "topics": [
        "OPCC-package",
        "OPCC"
      ]
    },
    {
      "page": "open_contribution_issue",
      "title": "Open a GitHub source-proposal issue for a contribution bundle",
      "topics": [
        "open_contribution_issue"
      ]
    },
    {
      "page": "pc_to_geo",
      "title": "Look up postal-code-to-geography links",
      "topics": [
        "pc_to_geo"
      ]
    },
    {
      "page": "pc_to_point",
      "title": "Look up source-qualified point observations",
      "topics": [
        "pc_to_point"
      ]
    },
    {
      "page": "profile_source_layer",
      "title": "Profile a local source layer",
      "topics": [
        "profile_source_layer"
      ]
    },
    {
      "page": "release_manifest",
      "title": "Read and verify a release manifest",
      "topics": [
        "release_manifest"
      ]
    },
    {
      "page": "run_app",
      "title": "Launch the OPCC Shiny app",
      "topics": [
        "run_app"
      ]
    },
    {
      "page": "validate_release",
      "title": "Validate a verified correspondence release",
      "topics": [
        "validate_release"
      ]
    },
    {
      "page": "validate_source_data",
      "title": "Validate local postal-code evidence",
      "topics": [
        "validate_source_data"
      ]
    }
  ],
  "_readme": "https://github.com/lennon-li/opcc/raw/HEAD/README.md",
  "_rundeps": [
    "digest",
    "jsonlite"
  ],
  "_vignettes": [
    {
      "source": "using-opcc.Rmd",
      "filename": "using-opcc.html",
      "title": "Using OPCC",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Part 1: Use OPCC with your data",
        "Install",
        "Key concepts",
        "Normalize postal codes",
        "Look up a single postal code",
        "Join OPCC geographies to your own data",
        "Download and cache artifacts",
        "Verify a release",
        "Offline and air-gapped use",
        "Source-qualified point lookups",
        "Import your own open evidence locally",
        "Part 2: Reproduce and verify artifacts",
        "Verify published artifacts",
        "Reproduce the DA artifact from the DB artifact",
        "Reproduce offline",
        "Rebuild all artifacts from raw sources"
      ],
      "created": "2026-07-20 14:07:33",
      "modified": "2026-09-11 18:21:45",
      "commits": 12
    }
  ],
  "_score": 4.6020599913279625,
  "_indexed": true,
  "_nocasepkg": "opcc",
  "_universes": [
    "lennon-li"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-09-22T10:23:39.000Z",
      "distro": "resolute",
      "commit": "9f30bbb991d1fd652ad464e7e96abd9c8646b9de",
      "fileid": "https://r2.ropensci.org/2257ecb24af1c48425516c4ead687a37c80369e7b6c65204495cf6e7de711683",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lennon-li/actions/runs/35715143016"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-09-22T10:23:39.000Z",
      "distro": "resolute",
      "commit": "9f30bbb991d1fd652ad464e7e96abd9c8646b9de",
      "fileid": "https://r2.ropensci.org/6424c73e38469a3d6556c50cea7d0c770586ca096dedf6976fe205a7afc7dad2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lennon-li/actions/runs/35715143016"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-09-22T10:35:22.000Z",
      "commit": "9f30bbb991d1fd652ad464e7e96abd9c8646b9de",
      "fileid": "https://r2.ropensci.org/500e43ea16756d86e813248ccd7dcb6e8190389950d686055ddf056b92bf37b0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lennon-li/actions/runs/35715143016"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-09-22T10:32:23.000Z",
      "commit": "9f30bbb991d1fd652ad464e7e96abd9c8646b9de",
      "fileid": "https://r2.ropensci.org/f8ee7058a378c75b19e0f5b2cf2bcec3840ff10e7d291ac11111ff4f3b91833a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lennon-li/actions/runs/35715143016"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.1",
      "date": "2026-09-22T10:23:24.000Z",
      "commit": "9f30bbb991d1fd652ad464e7e96abd9c8646b9de",
      "fileid": "https://r2.ropensci.org/3237f1c91d26c2419e06c2e8c514d6bc68e205292e514bd9095e1b84410a546f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/lennon-li/actions/runs/35715143016"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-09-22T10:22:26.000Z",
      "commit": "9f30bbb991d1fd652ad464e7e96abd9c8646b9de",
      "fileid": "https://r2.ropensci.org/8307febfe65c32cae10d3301a54f1c6c54f8e9f9eca235c11de56d9dabc4ab91",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lennon-li/actions/runs/35715143016"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-09-22T10:22:28.000Z",
      "commit": "9f30bbb991d1fd652ad464e7e96abd9c8646b9de",
      "fileid": "https://r2.ropensci.org/1b943761ee759e9a0424bdf1fd146c1c07b8bcd2687fbe966c05f7551a9e76ff",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lennon-li/actions/runs/35715143016"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-09-22T10:22:25.000Z",
      "commit": "9f30bbb991d1fd652ad464e7e96abd9c8646b9de",
      "fileid": "https://r2.ropensci.org/22cb88262a5fbd5ea2d8ed4bd6c1b89863653669f387b58472199df33626d5e1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lennon-li/actions/runs/35715143016"
    }
  ]
}