datorama_process: Process Data Streams

Description Usage Arguments Details Value Examples

Description

Process all the data streams listed in 'dataStreamIds' between the dates 'startDate' and 'endDate' (format YYYY-MM-DD). The optional field 'create' determines whether it's the first time the data streams are being processed. Default value is false. Data streams being processed for the first time (i.e. create: true) will also have a SmartLenses dashboard created for them. This is designed to allow flexibility when creating complex setups via API. It is the API user's responsibility to determine if they want processed data streams to trigger SmartLenses creation.

Usage

1
2
datorama_process(access_token = NULL, dataStreamIds = NULL,
  startDate = NULL, endDate = NULL, create = FALSE)

Arguments

access_token

Authorization string that is found within the Datorama platform

dataStreamIds

A list of integers relationg to Data Stream IDs to process

startDate

A string -> format YYYY-MM-DD

endDate

A string -> format YYYY-MM-DD

create

A boolean indicating whether to create a new stream or not

Details

Note: Used for API streams only.

Value

A list containing the processing request's results

Examples

1
2
3
4
5
6
7
8
## Not run: 
datorama_process(acces_token = "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
                 dataStreamIds = list(348937, 34289),
                 startDate = "2018-01-01",
                 endDate = "2018-01-20",
)

## End(Not run)

beigebrucewayne/datoramar documentation built on June 29, 2019, 9:32 p.m.