get_wastewater_latest

outbreak_data.get_wastewater_latest(**kwargs)

Get date of latest wastewater sample matching a given query. Same parameters as get_wastewater_samples.

Returns

The date of the most recent matching sample in YYYY-MM-DD.

Parameter example

{ 'region': 'Ohio', 'server': 'dev.outbreak.info' }

Example Usage

Get the most recent date for wastewater data collection in Ohio:

>>> outbreak_data.get_wastewater_latest(region="Ohio", server='dev.outbreak.info')

[Out]: '2023-10-01'