database_query_from_list: Execute Database Query from R List

View source: R/database_query.R

database_query_from_listR Documentation

Execute Database Query from R List

Description

Execute Database Query from R List

Usage

database_query_from_list(
  data_source_id,
  query_list,
  efoqa_connection = connect_to_efoqa()
)

Arguments

data_source_id

String for EMS data source / database ID. For example FDW Flights = "[ems-core][entity-type][foqa-flights]"

query_list

R list object containing the EMS API query to execute

efoqa_connection

Optional if you want to re-use an existing connection to the API.

Value

The results of the EMS database query as a dataframe. Note that no type conversions are performed. Result types will depend on the 'format' flag in the query.

Examples

## Not run: 
database_query_from_json("[ems-core][entity-type][foqa-flights]",
  query_list = standard_flight_query_json)

## End(Not run)


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