getTimelinesForHealth: getTimelineForHealth

View source: R/getTimelinesForHealth.R

getTimelinesForHealthR Documentation

getTimelineForHealth

Description

getTimelineForHealth

Usage

getTimelinesForHealth(
  batch_size = 1,
  year_batch = "1 year",
  time.startDate = "2019-06-15",
  time.endDate = "2020-01-01",
  timelineResolutions = c("month"),
  terms = c("summer + winter + fall + spring", "cat + cat food + dog + dog food"),
  names = c("seasons", "pets"),
  geoRestriction.regions = c("US-NY", "US-CA"),
  geoRestriction.countries = c("GB", "US"),
  geoRestriction.dmas = c(),
  output_directory = "../output"
)

Arguments

df

A dataframe including time as timestamp and searches for your given geography in one column.

Examples

getTimelinesForHealth()

tlcaputi/gtrendR documentation built on Nov. 3, 2022, 10:46 p.m.