diff --git a/DESCRIPTION b/DESCRIPTION index 0208c80..22ce737 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: strayr Type: Package Title: Ready-to-use Australian common structures and classifications and tools for working with them -Version: 0.2.2.9000 +Version: 0.2.2.9001 Authors@R: c(person("Will", "Mackey", email = "wfmackey@gmail.com", role = c("aut", "cre")), person("Matt", "Johnson", email = "mrjoh3@gmail.com", role = c("aut")), person("David", "Diviny", email = "david.diviny@nousgroup.com.au", role = c("aut")), diff --git a/NEWS.md b/NEWS.md index a161519..051bedd 100644 --- a/NEWS.md +++ b/NEWS.md @@ -2,6 +2,7 @@ * `create read_correspondence_tbl()` reads correspondence tables from `absmapsdata` similarly to `read_absmap()` * updated `anzsco2006` to include leading zeros in codes (see ). This is a backwards incompatible change that may cause issues (not enough for a major version progression) +* fixed duplication in auholidays # strayr 0.2.2 * `anzsco2022` updated to reflect changes made by the ABS diff --git a/data-raw/create_au_holidays.R b/data-raw/create_au_holidays.R index 4440ca7..f974e30 100644 --- a/data-raw/create_au_holidays.R +++ b/data-raw/create_au_holidays.R @@ -21,7 +21,7 @@ auholidays <- raw_data %>% Name = coalesce(`Holiday Name`), Jurisdiction = coalesce(`Applicable To`, Jurisdiction), Jurisdiction = str_to_upper(Jurisdiction) - ) - + ) |> + distinct() usethis::use_data(auholidays, internal = FALSE, overwrite = TRUE) diff --git a/data/auholidays.rda b/data/auholidays.rda index 5c60529..ad78f47 100644 Binary files a/data/auholidays.rda and b/data/auholidays.rda differ