enzoampil / phcovid

Easy access to updated PH COVID data
MIT License
13 stars 3 forks source link

Create phcovid_network module to identify connections between cases #9

Closed andrewnyu closed 4 years ago

andrewnyu commented 4 years ago

Package code for graph traversal to output a table with a.) all networks, b.) cases in the network and c.) size of the network. Goal is to enable analysis on the big transmission networks.

Function: get_case_network (df, contact_col = 'contacts'): return df_case_network

andrewnyu commented 4 years ago

Will close this issue with updated pull request:

  1. Add phcovid_network module
  2. Add numeric versions of case_code column in phcovid.py for processing in phcovid_network functions
  3. Fix bug on column rename in phcovid.py
enzoampil commented 4 years ago

should be solved by the pull request