query_ga: Fetch clean, streamlined Google Analytics Data, from a...

Description Usage Arguments Value Examples

Description

query_ga returns multiple Google Analytics API responses in a single data.table

Usage

1
2
query_ga(queries_table, start_date, end_date, override_dates = TRUE,
  include_query_data = FALSE)

Arguments

queries_table

data.table of queries

start_date

start date as character string in "%Y-%m-%d" format

end_date

end date as character string in "%Y-%m-%d" format

override_dates

whether all dates should be overriden with those in start_date & end_date

include_query_data

whether the full query data should be included in a column as a json object

config_path

path where the config.json file is located

Value

A data.table filled with great, interesting googleAnalytics data!!

Examples

1
2
3
4
## Not run: 
query_ga(queries_table, "2015-01-01", "2015-02-01", config_path = "config.json", override_dates = TRUE)

## End(Not run)

RazorfishGermany/reportingManager documentation built on May 9, 2019, 9:22 a.m.