getData: Get Google trends data and format

Description Usage Arguments Value Examples

Description

Get Google trends data and format

Usage

1
getData(input_keywords, date_range = c("2015-01-01", Sys.Date()))

Arguments

input_keywords

A string with keywords comma separated

date_range

Vector of length 2 with the start and end date

Value

Dataframe

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
test <- getData(
              input_keywords = 'brexit'
              date_range = c("2018-01-01", "2019-01-01")
        )



## End(Not run)

duncstod/newRPackage documentation built on May 9, 2019, 2:22 a.m.