Nothing
#' Get information about the datasets provided by covid19nytimes
#'
#' @description Returns information about the datasets in this package for
#' covid19R harvesting
#'
#' @return a tibble of information about the datasets in this package
#' @export get_info_covid19nytimes
#'
#' @examples
#' \dontrun{
#'
#' # get the dataset info from this package
#' get_info_covid19nytimes()
#' }
#'
get_info_covid19nytimes <- function() {
latest_data_state <-
refresh_covid19nytimes_states()
tibble::tribble(
~data_set_name, ~package_name, ~function_to_get_data,
~data_details, ~data_url, ~license_url,
~data_types, ~location_types,
~spatial_extent, ~has_geospatial_info,
"covid19nytimes_states",
"covid19nytimes",
"refresh_covid19nytimes_states",
"Open Source data from the New York Times on distribution of confirmed Covid-19 cases and deaths in the US States. For more, see https://www.nytimes.com/article/coronavirus-county-data-us.html or the readme at https://github.com/nytimes/covid-19-data.",
"https://raw.githubusercontent.com/nytimes/covid-19-data/master/us-counties.csv",
"https://github.com/nytimes/covid-19-data/blob/master/LICENSE",
latest_data_state %>%
pull_unique(data_type),
latest_data_state %>%
pull_unique(location_type),
"country",
FALSE,
"covid19nytimes_counties",
"covid19nytimes",
"refresh_covid19nytimes_counties",
"Open Source data from the New York Times on distribution of confirmed Covid-19 cases and deaths in the US by County. For more, see https://www.nytimes.com/article/coronavirus-county-data-us.html or the readme at https://github.com/nytimes/covid-19-data.",
"https://raw.githubusercontent.com/nytimes/covid-19-data/master/us-counties.csv",
"https://github.com/nytimes/covid-19-data/blob/master/LICENSE",
latest_data_state %>%
pull_unique(data_type),
latest_data_state %>%
pull_unique(location_type),
"country",
FALSE
)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.