Description Usage Arguments Value Author(s) Examples
View source: R/searchCondition.R
Function to construct search conditions to be 'rbind'ed into one dataframe to be passed as conditions argument to any search function
1 | searchCondition(subject, verb, object)
|
subject |
the field you are conditioning on e.g. 'location_identifiers' |
verb |
the operator you want to use to connect 'subject' and 'object' e.g. includes, between.. A full list of all operators available can be obtained with the call 'getOperators()' |
object |
the values of the condition as a CHARACTER VECTOR e.g. c('germany', 'france') |
a data.frame row that can be easily 'rbind'ed to other search conditions to be passed in a searchForXXX(search_conditions) call to search for certain entities
Layla Rohkohl, byehity@gmail.com
1 | searchCondition(subject = "location_identifiers", verb = "includes", object = c("germany", "france"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.