flt_query: Create Flight Query

View source: R/flt_query.R

flt_queryR Documentation

Create Flight Query

Description

Create a flight query object for use in run function

Usage

flt_query(conn, ems_name, data_file)

Arguments

conn

A connection object generated by connect

ems_name

A string, indicating the name of the EMS server. Will return an informative error if you use the wrong name.

data_file

An string, indicating the name of the .db file where the query tree metadata will be stored locally.

Details

This function uses a connection object to create a flight query object. These can be manipulated using the filter, select and other functions before passing to run to execute and return a dataframe. This object won't work by itself - you will need to set a database, select elements etc for it to work.

Value

A FltQuery object to be manipulated and then run.

Examples

## Not run: 
conn <- connect("joe.bloggs", "mypassword")
qry <- flt_query(conn, "my-ems", data_file = "metadata.db")

## End(Not run)


ge-flight-analytics/Rems documentation built on May 17, 2023, 8:02 a.m.