{"id":23526021,"url":"https://github.com/wfmackey/abscorr","last_synced_at":"2025-10-05T18:07:09.037Z","repository":{"id":96901257,"uuid":"206700348","full_name":"wfmackey/abscorr","owner":"wfmackey","description":"This package has been superseded by runapp/strayr. Please see https://github.com/runapp-aus/strayr.","archived":false,"fork":false,"pushed_at":"2021-06-03T13:02:51.000Z","size":194,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-24T17:57:03.201Z","etag":null,"topics":["australia","correspondence","data-science","r"],"latest_commit_sha":null,"homepage":"","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wfmackey.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2019-09-06T02:54:28.000Z","updated_at":"2021-06-03T13:02:54.000Z","dependencies_parsed_at":"2023-07-15T22:02:59.155Z","dependency_job_id":null,"html_url":"https://github.com/wfmackey/abscorr","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wfmackey/abscorr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wfmackey%2Fabscorr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wfmackey%2Fabscorr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wfmackey%2Fabscorr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wfmackey%2Fabscorr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wfmackey","download_url":"https://codeload.github.com/wfmackey/abscorr/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wfmackey%2Fabscorr/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278494645,"owners_count":25996414,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-05T02:00:06.059Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["australia","correspondence","data-science","r"],"created_at":"2024-12-25T19:13:26.411Z","updated_at":"2025-10-05T18:07:09.021Z","avatar_url":"https://github.com/wfmackey.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/README-\",\n  out.width = \"100%\"\n)\n\ndata_path \u003c- \"man/data/egdata.csv\"\n```\n# abscorr\n\n\u003c!-- badges: start --\u003e\n\u003c!-- badges: end --\u003e\n\n`abscorr` is an R package that helps you deal with ABS correspondences. \n\n**For the moment**, `abscorr` provides easy access to common ABS structures, like\nthe Australian and New Zealand Standard Classification of Occupations (ANZSCO) \nand the Australian Standard Classification of Education (ASCED). \n\n**In the future**, it will contain correspondence functions \n(kind of like `absmapsdata::get_correspondence_absmaps`) for imperfect correspondence matching.\n\n\nInstallation and examples below.\n\nI'll be adding commonly-used structures as I use them myself. If you'd like \nto request one, let me know via a Github issue or email at [wfmackey@gmail.com](mailto:wfmackey@gmail.com).\n\n## Installation\n\nYou can install the current version of `abscorr` from [GitHub](https://github.com/) with:\n\n``` r\n# install.packages(\"remotes\")\nremotes::install_github(\"wfmackey/abscorr\")\n```\n## Example\n\n```{r example, message=FALSE}\nlibrary(tidyverse)\nlibrary(abscorr)\n\nglimpse(anzsco)\n\nglimpse(asced_foe)\n\n```\n\n\nThese tibbles can be tweaked and joined to your existing datasets. For example,\ngiven a dataset of Australians by four-digit field of education and age group:\n\n```{r}\n\ndata \u003c- read_csv(data_path)\n\nglimpse(data)\n\n```\n\nWe can retrieve the four-digit fields and their corresponding two-digit fields\nfrom `abscorr::asced_foe`:\n\n```{r}\njoin_foe2 \u003c- abscorr::asced_foe %\u003e% \n  select(foe2, foe4) %\u003e%   # just keep the variables you want\n  distinct()               # only keep unique observations\n\njoin_foe2\n\n```\n\nAnd join with our original dataset:\n\n```{r}\n\ndata %\u003e% \n  left_join(join_foe2)\n\n```\n\nBeaut. \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwfmackey%2Fabscorr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwfmackey%2Fabscorr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwfmackey%2Fabscorr/lists"}