collection_date(pango_lin, mutations=None, location=None)

outbreak_data.collection_date(pango_lin, mutations=None, location=None, server='api.outbreak.info')

Most recent collection date by location

Arguments:
pango_lin:

A string. (Required).

mutations:

(Optional). A string or list of strings. Comma separated list of mutations.

location:

(Optional). If not specified, return most recent date globally.

return:

A pandas dataframe.

Example usage:

df = od.collection_date('b.1.1.7', location='IND')
print(df)
Output
                 Values
 date        2021-11-26
 date_count           2