Description Usage Arguments Value Examples
query_ga
returns multiple Facebook Insights responses in a single data.table
1 2 3 | query_facebook(queries_table, start_date, end_date,
config_path = "config.json", token_path = "tokens/fbInsights_token",
override_dates = TRUE, include_query_data = FALSE)
|
queries_table |
data.table of queries |
start_date |
start date as character string in |
end_date |
end date as character string in |
config_path |
path where the config.json file is located |
override_dates |
whether all dates should be overriden with those in |
include_query_data |
whether the full query data should be included in a column as a json object |
A data.table filled with great, interesting googleAnalytics data!!
1 2 3 4 | ## Not run:
query_facebook(queries_table, "2015-01-01", "2015-02-01", config_path = "config.json", override_dates = TRUE, include_query_data = TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.