send_query: Send the query and receive the result

View source: R/send_query.R

send_queryR Documentation

Send the query and receive the result

Description

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


piwikproR documentation built on Sept. 1, 2022, 5:07 p.m.