View source: R/filter_on_dimensions.R
filter_dimension_by_string | R Documentation |
Add an additional filter to any query list object that will filter for a specific string value of the target field
filter_dimension_by_string(
efoqa_connection = connect_to_efoqa(),
data_source_id,
query_list,
field_id,
dimension_string
)
efoqa_connection |
optional existing efoqa connection for re-use or advanced use |
data_source_id |
Schema string for the target entity type (flights or events) |
query_list |
An existing query in R list form |
field_id |
The target field to filter on |
dimension_string |
The target string name of the discrete to filter to |
The input query list with an additional added filter for the target dimension string
## Not run:
filter_dimension_by_string( efoqa_connection,
data_source_id = "[ems-core][entity-type][foqa-flights]",
query_list = standard_flight_query_json,
field_id = "[-hub-][field][[[ems-core][entity-type][foqa-flights]][[airframe-engine-field-set][base-field][airframe]]]",
dimension_string = "717-200")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.