orList: Obtaining an OR query to combine two and more query elements

View source: R/AggFunctions.R

orListR Documentation

Obtaining an OR query to combine two and more query elements

Description

This function retuns a list of a combination two or more query elements.

Usage

orList(query_prep = c())

Arguments

query_prep

one or more query vectors created by other query functions. if query vectors are more than one than c() should be used for lising within the function.

Value

A list of several query elements corresponding to a particular data table

Note

Please make sure that specifying the same data table in all query element functions to avoid errors
This query may build a large data set that could cause the data size issue in a Windows machine.

Examples

## Not run: # to subset real-time data with the constraint of a time range and a dyad
t <- returnTimes("phoenix_rt", "20171015", "20171215")
dyad <- returnDyad('Phoexnix_rt', 'RUS', 'SYR')
# building an OR-query of a certain time and the country dyad
or_query <- orList(c(t,dyad)) # it requires a large memory size to retrieve the data set
## End(Not run)

KateHyoung/UTDEventData documentation built on Nov. 16, 2022, 2:29 p.m.