post_flow: post flow

View source: R/post_flow.R

post_flowR Documentation

post flow

Description

This function runs a POST request for the whole length of a given url and flow. CCL is rate-limited to 2000 results, so this function will continue to make requests until the next link is null

Usage

post_flow(url, body, key, sum = TRUE)

Arguments

url

website url with endpoint

body

a POST Body

key

an API token

sum

TRUE/FALSE If results should be summed up

Value

a Dataframe

Examples

#NOT RUN, API token needed  post_flow("https://app.communityconnectlabs.com/api/v2/flow_variable_report.json",
#body = list(flow=5,variables=list(var1 =list(format="category"),var2=list(format="category"))), sum = TRUE, key=myAPIkey)


kianwazzu/cclapi documentation built on May 31, 2024, 12:30 p.m.