Skip to content

Version 0.3.1

Compare
Choose a tag to compare
@beansrowning beansrowning released this 28 Mar 13:24
· 67 commits to master since this release

Issues

Changes

Fixed a random Rd issue with get_onetable() due to dropped }

No more warnings.

New Burden Map

burden_map_global_14 <- df_both |>
  filter(date <= sunday_date) |>
  map_burden(time_step = 14)


burden_map_global_14

image

  • Updated API:
    • Updating region and adding time_step argument to allow this to vary
    • Created internal function calc_window_incidence(), which computes average incidence interally
    • No more creating breaks externally and passing in
    • Improved docs

Updated Trend Map

  • Refined API to be in-line with map_burden
    • All computation done within function via calc_window_pct_change(), not outside and passed in
  • Updated docs
df_both |>
  filter(date <= sunday_date) |>
  map_trend(time_step = 14)

image

Major overhaul of case tables API

  • Combined docs into one shared Rd file
    image
  • Tables now compute all values internally, greatly reducing complexity in using them and utilizing the same helper functions for the above maps
  • Updated documentation in vignette

Examples

df_both |>
  filter(date <= sunday_date) |>
  table_10mostcases(time_step = 14)

image

df_both |>
  filter(date <= sunday_date) |>
  table_10incidence(time_step = 14)

image

df_both %>%
  filter(date <= sunday_date, population >= 10000000) |>
  table_10percentchange(time_step = 14)

image

Caching R dependencies in CI pipeline for faster runs