Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refresh internal data and fix read_job_mobility() #256

Merged
merged 2 commits into from
Aug 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: readabs
Type: Package
Title: Download and Tidy Time Series Data from the Australian Bureau of Statistics
Version: 0.4.16.901
Version: 0.4.16.903
Authors@R: c(
person("Matt", "Cowgill", role = c("aut", "cre"), email = "mattcowgill@gmail.com", comment = c(ORCID = "0000-0003-0422-3300")),
person("Zoe", "Meers", role = "aut", email = "zoe.meers@sydney.edu.au"),
Expand Down
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# readabs development version
* The experimental `readabs::read_api()` function no longer coerces columns describing the data categories to numeric. Thanks to @kletts.
* Bug fix to read_job_mobility()

# readabs 0.4.16
* An error inadvertently introduced in 0.4.15 is fixed. This error would only affect a small minority of users.
Expand Down
3 changes: 2 additions & 1 deletion R/read_job_mobility.R
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ read_job_mobility <- function(tables = "all",
)

available_tables <- job_mob_tbls %>%
dplyr::filter(base::substr(.data$label, 1, 5) == "Table")
dplyr::filter(base::substr(.data$label, 1, 5) == "Table") %>%
dplyr::filter(tools::file_ext(file) == "xlsx")

if (tables == "all") {
selected_tables <- available_tables
Expand Down
Binary file modified R/sysdata.rda
Binary file not shown.
Loading