Skip to content

Commit

Permalink
refresh internal data and fix read_job_mobility() (#256)
Browse files Browse the repository at this point in the history
* refresh internal data

* fix read_job_mobility()
  • Loading branch information
MattCowgill authored Aug 3, 2024
1 parent 492d81d commit 07a4be4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
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 = "[email protected]", comment = c(ORCID = "0000-0003-0422-3300")),
person("Zoe", "Meers", role = "aut", email = "[email protected]"),
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.

0 comments on commit 07a4be4

Please sign in to comment.