Description Usage Arguments Value Examples
Request header for the given input arguments (filters
,
structure
, and lastest_by
).
1 |
filters |
API filters. See the API documentations for additional information. |
structure |
Structure parameter. See the API documentations for additional information. |
list Request headers.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | query_filters <- c(
"areaType=region"
)
query_structure <- list(
date = "date",
name = "areaName",
code = "areaCode",
daily = "newCasesBySpecimenDate",
cumulative = "cumCasesBySpecimenDate"
)
headers <- get_head(filters = query_filters, structure = query_structure)
# We can now access header parameters. For instance, to get the
# timestamp for the latest update, we do as follows:
print(headers$`last-modified`)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.