{"id":32406464,"url":"https://github.com/asiripanich/abs","last_synced_at":"2026-07-05T23:31:33.410Z","repository":{"id":125315812,"uuid":"228950913","full_name":"asiripanich/abs","owner":"asiripanich","description":"Read csv tables exported from ABS TableBuilder and ABS Census TableBuilder.","archived":false,"fork":false,"pushed_at":"2020-11-08T10:46:14.000Z","size":884,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-25T12:54:21.238Z","etag":null,"topics":["abs","abstablebuilder","australian-bureau-of-statistics","r","tablebuilder"],"latest_commit_sha":null,"homepage":"https://abs.amarin.dev","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/asiripanich.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2019-12-19T01:28:33.000Z","updated_at":"2024-06-11T03:08:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"ecba859c-b982-4646-8188-e43cbf7c0d99","html_url":"https://github.com/asiripanich/abs","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/asiripanich/abs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asiripanich%2Fabs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asiripanich%2Fabs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asiripanich%2Fabs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asiripanich%2Fabs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/asiripanich","download_url":"https://codeload.github.com/asiripanich/abs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asiripanich%2Fabs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35172975,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-05T02:00:06.290Z","response_time":100,"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":["abs","abstablebuilder","australian-bureau-of-statistics","r","tablebuilder"],"created_at":"2025-10-25T12:54:01.332Z","updated_at":"2026-07-05T23:31:33.406Z","avatar_url":"https://github.com/asiripanich.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```\n\n# abs\n\n\u003c!-- badges: start --\u003e\n[![Lifecycle: maturing](https://img.shields.io/badge/lifecycle-maturing-blue.svg)](https://www.tidyverse.org/lifecycle/#maturing)\n[![DOI](https://zenodo.org/badge/228950913.svg)](https://zenodo.org/badge/latestdoi/228950913)\n[![R build status](https://github.com/asiripanich/abs/workflows/R-CMD-check/badge.svg)](https://github.com/asiripanich/abs/actions)\n\u003c!-- badges: end --\u003e\n\nThe goal of abs is to provide a function to read csv tables downloaded from ABS TableBuilder without having to 'tidy' them first. Thus, this helps ti retain the meta information of the tables.\n\n## Table Builder\n\nCurrently, The package only works with Table Builder files downloaded as \"CSV String Value (.csv)\", as shown in the image below.\n\n![pic](man/figures/download-tb-file.png)\n\n## Installation\n\nYou can install the development version of abs from GitHub with:\n\n``` r\nremotes::install_github(\"asiripanich/abs\")\n```\n\n## Example\n\nThe main function is `abs_read_tb()` which let you read in a TableBuilder file downloaded as \"CSV String Value (.csv)\" into a tidy data by ignoring all its metadata.\n\n```{r example}\nlibrary(abs)\ndata_dir \u003c- system.file(\"extdata\", package = \"abs\")\ntest_csv \u003c- file.path(data_dir, \"tb1.csv\")\nmytable \u003c- abs_read_tb(test_csv, .names = \"simplify\", exclude_total = TRUE)\nmytable\n```\n\nNote that `abs_read_tb` returns a data.table object. To convert it back to data.frame simply use `as.data.frame()`.\n\n## Related packages\n\n- [readabs](https://github.com/MattCowgill/readabs): for reading time series data from ABS.\n- [stplanr](https://github.com/ropensci/stplanr): has a utility function, stplanr::read_table_builder(), for reading Table Builder files.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasiripanich%2Fabs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasiripanich%2Fabs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasiripanich%2Fabs/lists"}