Skip to content

Commit 07a4be4

Browse files
authored
refresh internal data and fix read_job_mobility() (#256)
* refresh internal data * fix read_job_mobility()
1 parent 492d81d commit 07a4be4

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

DESCRIPTION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: readabs
22
Type: Package
33
Title: Download and Tidy Time Series Data from the Australian Bureau of Statistics
4-
Version: 0.4.16.901
4+
Version: 0.4.16.903
55
Authors@R: c(
66
person("Matt", "Cowgill", role = c("aut", "cre"), email = "mattcowgill@gmail.com", comment = c(ORCID = "0000-0003-0422-3300")),
77
person("Zoe", "Meers", role = "aut", email = "zoe.meers@sydney.edu.au"),

NEWS.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# readabs development version
22
* The experimental `readabs::read_api()` function no longer coerces columns describing the data categories to numeric. Thanks to @kletts.
3+
* Bug fix to read_job_mobility()
34

45
# readabs 0.4.16
56
* An error inadvertently introduced in 0.4.15 is fixed. This error would only affect a small minority of users.

R/read_job_mobility.R

+2-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ read_job_mobility <- function(tables = "all",
2929
)
3030

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

3435
if (tables == "all") {
3536
selected_tables <- available_tables

R/sysdata.rda

120 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)