From 558f9cd5c06989ed006a3055a3604ca520aa839b Mon Sep 17 00:00:00 2001 From: Matt Cowgill <mattcowgill@gmail.com> Date: Wed, 14 Oct 2020 13:12:37 +1100 Subject: [PATCH] update readme --- README.Rmd | 4 ++++ README.md | 23 ++++++++++++++--------- 2 files changed, 18 insertions(+), 9 deletions(-) diff --git a/README.Rmd b/README.Rmd index 675c0ee..8b0955b 100644 --- a/README.Rmd +++ b/README.Rmd @@ -112,6 +112,10 @@ In most cases, the `series` column will contain multiple components, separated b For more examples, please see the readabs vignette (run `browseVignettes("readabs")`). ## New in recent versions +In 0.4.5, +* A new `download_data_cube()` function has been added courtesy of David Diviny. +* readabs has been updated to work with the new ABS website. +* Some internal functions have been rewritten to improve their speed In 0.4.3, diff --git a/README.md b/README.md index 6696427..53e213b 100644 --- a/README.md +++ b/README.md @@ -75,12 +75,12 @@ library(readabs) #> You can set 'R_READABS_PATH' at any time. To set it for the rest of this session, use #> Sys.setenv(R_READABS_PATH = <path>) library(tidyverse) -#> ── Attaching packages ──────────────────────────────────────────────────────────────────── tidyverse 1.3.0.9000 ── +#> ── Attaching packages ─────────────────────────────────────────────────── tidyverse 1.3.0.9000 ── #> ✓ ggplot2 3.3.2 ✓ purrr 0.3.4.9000 -#> ✓ tibble 3.0.3.9000 ✓ dplyr 1.0.1 -#> ✓ tidyr 1.1.0 ✓ stringr 1.4.0.9000 +#> ✓ tibble 3.0.3.9000 ✓ dplyr 1.0.2 +#> ✓ tidyr 1.1.2 ✓ stringr 1.4.0.9000 #> ✓ readr 1.3.1 ✓ forcats 0.5.0.9000 -#> ── Conflicts ──────────────────────────────────────────────────────────────────────────── tidyverse_conflicts() ── +#> ── Conflicts ─────────────────────────────────────────────────────────── tidyverse_conflicts() ── #> x dplyr::filter() masks stats::filter() #> x dplyr::lag() masks stats::lag() ``` @@ -104,14 +104,14 @@ str(all_wpi) #> $ table_no : chr [1:58834] "634501" "634501" "634501" "634501" ... #> $ sheet_no : chr [1:58834] "Data1" "Data1" "Data1" "Data1" ... #> $ table_title : chr [1:58834] "Table 1. Total Hourly Rates of Pay Excluding Bonuses: Sector, Original, Seasonally Adjusted and Trend" "Table 1. Total Hourly Rates of Pay Excluding Bonuses: Sector, Original, Seasonally Adjusted and Trend" "Table 1. Total Hourly Rates of Pay Excluding Bonuses: Sector, Original, Seasonally Adjusted and Trend" "Table 1. Total Hourly Rates of Pay Excluding Bonuses: Sector, Original, Seasonally Adjusted and Trend" ... -#> $ date : Date[1:58834], format: "1997-09-01" "1997-12-01" ... -#> $ series : chr [1:58834] "Quarterly Index ; Total hourly rates of pay excluding bonuses ; Australia ; Private ; All industries ;" "Quarterly Index ; Total hourly rates of pay excluding bonuses ; Australia ; Private ; All industries ;" "Quarterly Index ; Total hourly rates of pay excluding bonuses ; Australia ; Private ; All industries ;" "Quarterly Index ; Total hourly rates of pay excluding bonuses ; Australia ; Private ; All industries ;" ... -#> $ value : num [1:58834] 67.4 67.9 68.5 68.8 69.6 70 70.4 70.8 71.5 71.9 ... -#> $ series_type : chr [1:58834] "Original" "Original" "Original" "Original" ... +#> $ date : Date[1:58834], format: "1997-09-01" "1997-09-01" ... +#> $ series : chr [1:58834] "Quarterly Index ; Total hourly rates of pay excluding bonuses ; Australia ; Private ; All industries ;" "Quarterly Index ; Total hourly rates of pay excluding bonuses ; Australia ; Public ; All industries ;" "Quarterly Index ; Total hourly rates of pay excluding bonuses ; Australia ; Private and Public ; All industries ;" "Quarterly Index ; Total hourly rates of pay excluding bonuses ; Australia ; Private ; All industries ;" ... +#> $ value : num [1:58834] 67.4 64.7 66.7 67.3 64.8 66.6 67.3 64.8 66.7 NA ... +#> $ series_type : chr [1:58834] "Original" "Original" "Original" "Seasonally Adjusted" ... #> $ data_type : chr [1:58834] "INDEX" "INDEX" "INDEX" "INDEX" ... #> $ collection_month: chr [1:58834] "3" "3" "3" "3" ... #> $ frequency : chr [1:58834] "Quarter" "Quarter" "Quarter" "Quarter" ... -#> $ series_id : chr [1:58834] "A2603039T" "A2603039T" "A2603039T" "A2603039T" ... +#> $ series_id : chr [1:58834] "A2603039T" "A2603989W" "A2603609J" "A2713846W" ... #> $ unit : chr [1:58834] "Index Numbers" "Index Numbers" "Index Numbers" "Index Numbers" ... ``` @@ -157,6 +157,11 @@ For more examples, please see the readabs vignette (run ## New in recent versions +In 0.4.5, \* A new `download_data_cube()` function has been added +courtesy of David Diviny. \* readabs has been updated to work with the +new ABS website. \* Some internal functions have been rewritten to +improve their speed + In 0.4.3, - `read_abs()` checks to see if you are connected to the internet, and