andList: Obtaining an AND query syntax to use two and more query...

View source: R/AggFunctions.R

andListR Documentation

Obtaining an AND query syntax to use two and more query elements

Description

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

Usage

andList(query_prep = c())

Arguments

query_prep

ne 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

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 AND-query of a certain time and the country dyad
and_query <- andList(c(t,dyad))
## End(Not run)

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