Skip to contents

Send the query and receive the result

Usage

send_query(
  query,
  token,
  use_csv = TRUE,
  fetch_by_day = FALSE,
  api = "query",
  caching = FALSE,
  caching_dir = "cache",
  convert_types = TRUE
)

Arguments

query

list generated by build_query

token

login token generated by get_login_token

use_csv

logical to choose whether to fetch data via extra csv-request

fetch_by_day

logical fetch data day by day

api

API endpoint ("query", "sessions", "events")

caching

logical Set TRUE to enable caching

caching_dir

character Set directory for saving caching data, default cache

convert_types

logical guess type of columns and set them

Value

result as tibble