Skip to content

Commit

Permalink
simplify the lga data to reduce pkg size
Browse files Browse the repository at this point in the history
  • Loading branch information
huizezhang-sherry committed Jun 27, 2023
1 parent 78cff5c commit 549be82
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CRAN-SUBMISSION
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Version: 0.3.0
Date: 2023-06-17 12:10:06 UTC
SHA: c4df1b369c8e00cd7b40a422095fe41bf4a7fc03
3 changes: 2 additions & 1 deletion data-raw/covid.R
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ usethis::use_data(covid, overwrite = TRUE)

lga <- strayr::read_absmap("lga2018") |>
filter(state_name_2016 == "Victoria") |>
select(lga_name_2018, geometry)
select(lga_name_2018, geometry) %>%
rmapshaper::ms_simplify(keep = 0.1)

usethis::use_data(lga, overwrite = TRUE)
Binary file modified data/lga.rda
Binary file not shown.
2 changes: 1 addition & 1 deletion man/covid.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 549be82

Please sign in to comment.