R/data.R

#' Google Trends categories
#'
#' The category names and IDs used when specifying a category in a trends search.
#'
#' @format A dataframe with 1426 categories and IDs
#'
#' \describe{
#' \item{name}{Category name, e.g. Arts & Entertainment}
#' \item{id}{Numeric ID, e.g., 3}
#' }
"categories"

#' States to narrow trends search
#'
#' State abbreviations to narrow down the search
#'
#' @format Dataframe with 50 states and United States
#'
#' \describe{
#' \item{name}{full name}
#' \item{abb}{state abbreviation}
#' \item{id}{formatted for use}
#' }
"states"
taylorgrant/GSPtrends documentation built on Sept. 14, 2024, 5:43 p.m.