Description Usage Arguments Details Value Author(s) See Also Examples
Helper function to check valid values for parameters of
GET-family functions (i.e.: getAny
).
1 2 3 | findParams(params = c("level", "breakdowns", "date.preset",
"action.breakdowns", "action.report.time", "action.attribution.windows",
"time.increment"))
|
params |
parameter(s) to check |
Function applies to parameters of the following GET-family functions
(i.e.: getAny
) parameters:
level
breakdowns
date.preset
time.increment
ation.breakdowns
action.report.time
action.attribution.windows
subtype
limit.type
optimize_for
If one params
is passed the function returns a
vector
otherwise a list
is returned.
John Coene jcoenep@gmail.com
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run:
# check all valid fields
parameters <- findParams()
# check valid breakdowns
val_br <- findParams("breakdowns")
# use parameter in GET-family function
dat <- getAny(id = "act_123456789012345", token = "XXXXXXXXXXXXX",
breakdowns = val_br[1])
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.