analytics_query_with_unspecified_flight: Analytics Query with Unspecified Flight

View source: R/analytics_query.R

analytics_query_with_unspecified_flightR Documentation

Analytics Query with Unspecified Flight

Description

Analytics Query with Unspecified Flight

Usage

analytics_query_with_unspecified_flight(
  query_list,
  efoqa_connection = connect_to_efoqa()
)

Arguments

query_list

An R list representing the query (equivalent to what you would get by doing jsonlite::read_json() on the json query )

efoqa_connection

An optional efoqa connection list object for re-use or customization.

Value

A list object with the results of the analytics query by selecting a random flight to run the query on.

Examples

## Not run: 
query_list_example <- list(
   select = list( list( analyticID = analytic_id_1), list( analyticID = analytic_id_2 ) )
   )

analytics_query_with_unspecified_flight( query_list_example )

## End(Not run)

ge-flight-analytics/refoqa documentation built on Oct. 15, 2024, 7:15 a.m.