{
  "_id": "6a102cc3acfb0bcc41c935e2",
  "Package": "pseudohouseholds",
  "Type": "Package",
  "Title": "Generate Pseudohouseholds on Road Networks in Regions",
  "Version": "0.1.1",
  "Authors@R": "person(given = \"Christopher\", \nfamily = \"Belanger\",\nemail = \"christopher.a.belanger@gmail.com\",\nrole = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0000-0003-2070-5721\"))",
  "Description": "Given an arbitrary set of spatial regions and road\nnetworks, generate a set of representative points, or\npseudohouseholds, that can be used for travel burden analysis.\nParallel processing is supported.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.2.3",
  "Config/testthat/edition": "3",
  "URL": "https://github.com/chris31415926535/pseudohouseholds",
  "BugReports": "https://github.com/chris31415926535/pseudohouseholds/issues",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nlibssl-dev libproj-dev libsqlite3-dev libudunits2-dev",
  "Repository": "https://chris31415926535.r-universe.dev",
  "Date/Publication": "2023-11-27 20:25:52 UTC",
  "RemoteUrl": "https://github.com/chris31415926535/pseudohouseholds",
  "RemoteRef": "HEAD",
  "RemoteSha": "6ab2a9853a58e70f20715357dd5d84edb8f92839",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-13 06:08:06 UTC",
    "User": "root"
  },
  "Author": "Christopher Belanger [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0003-2070-5721>)",
  "Maintainer": "Christopher Belanger <christopher.a.belanger@gmail.com>",
  "MD5sum": "410b17f4053361fe60fd9c26909b9efd",
  "_user": "chris31415926535",
  "_type": "src",
  "_file": "pseudohouseholds_0.1.1.tar.gz",
  "_fileid": "7fa087aba67b4e9b3373c47f6f2eddf7e6348021cbcabf04fa49a63c9dcd9629",
  "_filesize": 4900506,
  "_sha256": "7fa087aba67b4e9b3373c47f6f2eddf7e6348021cbcabf04fa49a63c9dcd9629",
  "_created": "2026-05-13T06:08:06.000Z",
  "_published": "2026-05-22T10:15:31.857Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77359811479,
      "time": 155,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6962845127"
    },
    {
      "job": 77359811718,
      "time": 145,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6962843171"
    },
    {
      "job": 77359811506,
      "time": 87,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6962829489"
    },
    {
      "job": 77359811534,
      "time": 103,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6962833333"
    },
    {
      "job": 77359811132,
      "time": 212,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6962808670"
    },
    {
      "job": 77359811058,
      "time": 133,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7158121205"
    },
    {
      "job": 77359811608,
      "time": 135,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6962840623"
    },
    {
      "job": 77359811788,
      "time": 101,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6962832899"
    },
    {
      "job": 77359811646,
      "time": 89,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6962830300"
    }
  ],
  "_buildurl": "https://github.com/r-universe/chris31415926535/actions/runs/25781546109",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/chris31415926535/pseudohouseholds",
  "_commit": {
    "id": "6ab2a9853a58e70f20715357dd5d84edb8f92839",
    "author": "Christopher Belanger <christopher.a.belanger@gmail.com>",
    "committer": "Christopher Belanger <christopher.a.belanger@gmail.com>",
    "message": "update news to reflect v0.1.1 changes\n",
    "time": 1701116752
  },
  "_maintainer": {
    "name": "Christopher Belanger",
    "email": "christopher.a.belanger@gmail.com",
    "login": "chris31415926535",
    "uuid": 60512542,
    "orcid": "0000-0003-2070-5721"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "furrr",
      "role": "Imports"
    },
    {
      "package": "sf",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "future",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "ggspatial",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "purrr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "chris31415926535",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "geospatial"
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "chris31415926535",
      "count": 34,
      "uuid": 60512542
    }
  ],
  "_userbio": {
    "uuid": 60512542,
    "type": "user",
    "name": "Christopher Belanger"
  },
  "_downloads": {
    "count": 186,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/pseudohouseholds"
  },
  "_devurl": "https://github.com/chris31415926535/pseudohouseholds",
  "_searchresults": 9,
  "_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/pseudohouseholds.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/chris31415926535/pseudohouseholds",
  "_realowner": "chris31415926535",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2023-05-04"
    },
    {
      "version": "0.1.1",
      "date": "2023-07-19"
    }
  ],
  "_exports": [
    "get_phhs_parallel",
    "get_phhs_single",
    "validate_phhs"
  ],
  "_datasets": [
    {
      "name": "ottawa_db_shp",
      "title": "2021 Statistics Canada Dissemination Block Boundaries and Populations for Ottawa, Ontario",
      "object": "ottawa_db_shp",
      "class": [
        "sf",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "DBUID",
        "dbpop2021",
        "geometry"
      ],
      "rows": 8559,
      "table": false,
      "tojson": true
    },
    {
      "name": "ottawa_roads_shp",
      "title": "2021 Statistics Canada Road Network for Ottawa, Ontario",
      "object": "ottawa_roads_shp",
      "class": [
        "sf",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "NGD_UID",
        "NAME",
        "RANK",
        "CLASS",
        "geometry"
      ],
      "rows": 33983,
      "table": true,
      "tojson": true
    },
    {
      "name": "region_shp",
      "title": "Synthetic region shapefile for testing",
      "object": "region_shp",
      "class": [
        "sf",
        "data.frame"
      ],
      "fields": [
        "x",
        "region_id",
        "population"
      ],
      "rows": 1,
      "table": false,
      "tojson": true
    },
    {
      "name": "road_shp",
      "title": "Synthetic road shapefile for testing",
      "object": "road_shp",
      "class": [
        "sf",
        "data.frame"
      ],
      "fields": [
        "x",
        "road_id"
      ],
      "rows": 1,
      "table": false,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "get_phhs_parallel",
      "title": "Get Pseudo-Households (PHH) for many regions, with optional parallel processing",
      "topics": [
        "get_phhs_parallel"
      ]
    },
    {
      "page": "get_phhs_single",
      "title": "Get Pseudo-Households (PHH) for a single region",
      "topics": [
        "get_phhs_single"
      ]
    },
    {
      "page": "ottawa_db_shp",
      "title": "2021 Statistics Canada Dissemination Block Boundaries and Populations for Ottawa, Ontario",
      "topics": [
        "ottawa_db_shp"
      ]
    },
    {
      "page": "ottawa_roads_shp",
      "title": "2021 Statistics Canada Road Network for Ottawa, Ontario",
      "topics": [
        "ottawa_roads_shp"
      ]
    },
    {
      "page": "region_shp",
      "title": "Synthetic region shapefile for testing",
      "topics": [
        "region_shp"
      ]
    },
    {
      "page": "road_shp",
      "title": "Synthetic road shapefile for testing",
      "topics": [
        "road_shp"
      ]
    },
    {
      "page": "validate_phhs",
      "title": "Validate Pseudohouseholds (PHHs)",
      "topics": [
        "validate_phhs"
      ]
    }
  ],
  "_readme": "https://github.com/chris31415926535/pseudohouseholds/raw/HEAD/README.md",
  "_rundeps": [
    "class",
    "classInt",
    "cli",
    "codetools",
    "DBI",
    "digest",
    "dplyr",
    "e1071",
    "furrr",
    "future",
    "generics",
    "globals",
    "glue",
    "KernSmooth",
    "lifecycle",
    "listenv",
    "magrittr",
    "MASS",
    "parallelly",
    "pillar",
    "pkgconfig",
    "proxy",
    "purrr",
    "R6",
    "Rcpp",
    "rlang",
    "s2",
    "sf",
    "tibble",
    "tidyselect",
    "units",
    "utf8",
    "vctrs",
    "withr",
    "wk"
  ],
  "_vignettes": [
    {
      "source": "pseudohouseholds.Rmd",
      "filename": "pseudohouseholds.html",
      "title": "pseudohouseholds: Generating Representative Points on Roads in Regions for Travel Analyses",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Summary",
        "What are pseudohouseholds?",
        "The pseudohouseholds package",
        "The algorithm for creating pseudohouseholds",
        "If the region is unpopulated, optionally return a default point.",
        "Find road segments intersecting or near the region",
        "Create initial points by sampling along the road segments",
        "Create candidate PHHs beside the road network",
        "Keep only candidates within the region",
        "(If necessary) If no valid points are returned, sample radially around our on-street points",
        "(Optionally) Ensure our PHHs have a minimum population",
        "(Optionally) Remove candidates that are too close to others",
        "Distribute regional population among PHHs",
        "Considerations",
        "The final number of PHHs may be more or less than you expect.",
        "Any input roads may receive PHHs, so ensure only habitable roads are used as inputs.",
        "PHHs do not correspond directly to dwellings, and should only be used as a proxy to \"smooth out\" populations for analysis.",
        "Details",
        "The variable phh_type",
        "The default point"
      ],
      "created": "2023-04-24 14:59:50",
      "modified": "2023-07-19 19:28:02",
      "commits": 4
    }
  ],
  "_score": 3.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "pseudohouseholds",
  "_universes": [
    "chris31415926535"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-05-13T06:10:41.000Z",
      "distro": "noble",
      "commit": "6ab2a9853a58e70f20715357dd5d84edb8f92839",
      "fileid": "74201e14a1dd042ada071941abab83987621eec593b12f881dcd32dbc95a0c3c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/chris31415926535/actions/runs/25781546109"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-05-13T06:10:37.000Z",
      "distro": "noble",
      "commit": "6ab2a9853a58e70f20715357dd5d84edb8f92839",
      "fileid": "ade5795bf5ba698b241d489b4c62aff9b56e51f39ebf4c99fcc18c015708a54a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/chris31415926535/actions/runs/25781546109"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-05-13T06:09:44.000Z",
      "commit": "6ab2a9853a58e70f20715357dd5d84edb8f92839",
      "fileid": "ef4b9bf006fca31c5be6c7145778038ab3a00f51ec2980d4bc0449857c74607e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/chris31415926535/actions/runs/25781546109"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-05-13T06:10:00.000Z",
      "commit": "6ab2a9853a58e70f20715357dd5d84edb8f92839",
      "fileid": "0f90d02bf8b20839c9a95dec0e6b2b5081cb9b77eb2660dcaa747fca0a72b541",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/chris31415926535/actions/runs/25781546109"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-05-13T06:10:15.000Z",
      "commit": "6ab2a9853a58e70f20715357dd5d84edb8f92839",
      "fileid": "d0ee72b02e883eea7057459882179bd1e936cab21a8e850bde3d795d5cecaf15",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/chris31415926535/actions/runs/25781546109"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-05-13T06:09:46.000Z",
      "commit": "6ab2a9853a58e70f20715357dd5d84edb8f92839",
      "fileid": "2df07d36729db4c2cceb8e91ee05cfc80df8d837c371e58a256a4d9397e4153b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/chris31415926535/actions/runs/25781546109"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-05-13T06:09:35.000Z",
      "commit": "6ab2a9853a58e70f20715357dd5d84edb8f92839",
      "fileid": "1689d480daac53c6cb7c0714d708e9dcc15cc2640beb197b81958e468269638e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/chris31415926535/actions/runs/25781546109"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.1",
      "date": "2026-05-22T10:15:13.000Z",
      "commit": "6ab2a9853a58e70f20715357dd5d84edb8f92839",
      "fileid": "5d5aeba33dfd9c41b26b3860efc8fb114126fe1571ecb7b8e165cc3407b01a85",
      "status": "success",
      "buildurl": "https://github.com/r-universe/chris31415926535/actions/runs/25781546109"
    }
  ]
}