searchConditionCurrency: Function to construct currency type search conditions to be...

Description Usage Arguments Value Author(s) Examples

View source: R/searchConditionCurrency.R

Description

Function to construct currency type search conditions to be 'rbind'ed into one dataframe to be passed as conditions argument to any search function

Usage

1
searchConditionCurrency(subject, verb, value, currency)

Arguments

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()'

value

integer or numeric value of the currency condition

currency

of the value of the currency condition as a character e.g. "usd"

Value

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

Author(s)

Layla Rohkohl, byehity@gmail.com

Examples

1
searchConditionCurrency(subject = "money_raised", verb = "gte", value = 10000000L, currency = "USD")

Lyrohk/cruncher documentation built on Dec. 17, 2021, 1:17 a.m.