Skip to content

Commit

Permalink
manual data refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
MattCowgill committed Jan 19, 2021
1 parent 1edf959 commit 0b475c0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
Binary file modified R/sysdata.rda
Binary file not shown.
16 changes: 7 additions & 9 deletions data-raw/data.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,22 @@ library(purrr)

# WPI ----
wpi <- read_abs("6345.0",
tables = c("1", "2b", "5b"),
path = tempdir(),
show_progress_bars = FALSE
tables = c("1", "2b", "5b")
) %>%
mutate(collection = "Wage Price Index")

# Monthly LFS ----
lfs <- read_abs("6202.0",
tables = c(1, 12, 19, 22),
path = tempdir(),
show_progress_bars = FALSE) %>%
tables = c("1", "12", "19") )

lfs <- read_abs("6202.0",
tables = "22") %>%
bind_rows(lfs) %>%
mutate(collection = "Labour Force")

# CPI ----
cpi <- read_abs("6401.0",
tables = c(1, 3, 8),
path = tempdir(),
show_progress_bars = FALSE) %>%
tables = c(1, 3, 8) ) %>%
mutate(collection = "Consumer Price Index")

# Reduce data size ---
Expand Down

0 comments on commit 0b475c0

Please sign in to comment.