View source: R/database_query.R
database_query_from_json | R Documentation |
Executes an EMS database query for the supplied json query file.
database_query_from_json(
data_source_id,
json_file,
efoqa_connection = connect_to_efoqa()
)
data_source_id |
String for EMS data source / database ID. For example FDW Flights = "[ems-core][entity-type][foqa-flights]" |
json_file |
The path to the query you want to run in json file form. For example "./test_query.json" |
efoqa_connection |
Optional if you want to re-use an existing connection to the API. |
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.
## Not run:
database_query_from_json("[ems-core][entity-type][foqa-flights]",
json_file = "./my_query_file.json")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.