There is a newer version of the record available.

Published March 22, 2023 | Version v1.0.0

Bisaloo/contactdata: contactdata 1.0.0

Authors/Creators

  • 1. data.org
  • 2. @actions

Description

New features

The updated data from Prem et al. (2021) has been added (#4). This results in a large number of cascading changes, including some breaking changes, detailed below.

Breaking changes
  • The new default returns data from the updated dataset. This means that any re-run of code written with previous versions of contactdata will return a different result
  • Arguments in contact_df_countries() have been removed and replaced by ... to increase flexibility. This is only an interface change and does not modify the behaviour since all arguments were already forwarded to contact_matrix().
Non-breaking changes
  • list_countries() and contact_matrix() now have two additional arguments:
    • geographic_setting, which specifies if you'd like to get the contact data from a "rural", "urban" setting, or from "all" settings.
    • data_source, which indicates if the data should be extracted from Prem et al. (2017) or Prem et al. (2021)

Files

Bisaloo/contactdata-v1.0.0.zip

Files (4.1 MB)

Name Size
md5:0b8653d6c3b9e24dfa26853d0adaa5c3
4.1 MB Preview Download

Additional details

Related works