get_wastewater_samples_by_lineage

outbreak_data.get_wastewater_samples_by_lineage(lineage, descendants=False, min_prevalence=0.01, **req_args)

Get IDs of wastewater samples containing a certain lineage.

Parameters
  • lineage -- String containing the name of the target lineage.

  • descendants -- If true, include that lineage's descendants in the query.

  • min_prevalence -- The minimum prevalence necessary for a sample to be considered to contain a lineage.

Returns

A pandas series containing IDs of samples found to contain matching lineages.

Parameter example

{ 'lineage': 'EG.5.1', 'server': 'dev.outbreak.info' }