powered by
Iteratively runs get_paginated_data to download all results and combine them into a data.frame.
get_paginated_data
data.frame
get_data( theme = NULL, sub_theme = NULL, topic = NULL, geography_type = NULL, geography = NULL, metric = NULL )
data.frame containing the query results
the largest overall topical subgroup of data. For example infectious_disease.
infectious_disease
a topical subgroup associated with the parent theme. For example respiratory.
respiratory
categorical subgroup associated with the selected theme and sub_theme. For example, COVID-19.
COVID-19
the overarching area type for the intended geography. For example Nation.
Nation
the selected area under the geography_type. For example England.
geography_type
England
the type of data being selected. For example COVID-19_testing_PCRcountByDay.
COVID-19_testing_PCRcountByDay
For further information on the UKHSA dashboard API please visit the API documentation.
If any input argument is left NULL or invalid, a list of possible values for that parameter is returned.
get_data( theme = "infectious_disease", sub_theme = "respiratory", topic = "COVID-19", geography_type = "Nation", geography = "England", metric = "COVID-19_cases_casesByDay" )
Run the code above in your browser using DataLab