Skip to content

Version 0.3

Compare
Choose a tag to compare
@beansrowning beansrowning released this 10 Mar 23:19
· 104 commits to master since this release

Changes

  • See #83, #84
  • Implemented get_hk_data() and get_taiwan_data() as internal functions to return case and death time series data from HK CHP and Taiwan CDC respectively
  • Updated OWID source in data source lookup
  • get_covid_df() now accepts a sources argument
    • "all": the default, returns JHU, WHO, Taiwan CDC, HK CHP
    • "WHO": WHO data as-is (china aggregated counts and no supplemental data)
    • "WHO+JHU": the "old" version containing WHO + JHU disaggregated data
    • "WHO+Primary": WHO data plus HK data from HK CHP, Taiwan data from Taiwan CDC, and Macau data from JHU thru Mar 10, 2023
  • get_combined_table() was reworked internally to handle new data sources
  • type argument for get_combined_table() was changed to accept a new type: "legacy", which returns what "Both" used to return previously (though the JHU data won't be updated and China Mainland data haven't been updated in some time)
  • "Both" type for get_combined_table() now returns case and death data from get_covid_df("WHO+Primary")
  • Updated docs accordingly