Function to access the Adobe Analytics Real-Time API v1.4. This API provides the ability for reporting up to the most recent minute. This API is best used at 15-30 second intervals (or longer).
GetRealTimeReport(reportsuite.ids, metrics, elements = c(),
date.granularity = 5, date.from = "1 hour ago", date.to = "now",
sort.algorithm = "mostpopular", floor.sensitivity = 0.25,
first.rank.period = 0, algorithm.argument = "linear",
everything.else = TRUE, selected = c())
Report Suite
Report metric
Report breakdowns
Report Granularity. Defaults to 5 minutes
Report starting time. Defaults to "1 hour ago"
Report end time. Defaults to "now"
Sorting algorithm. Defaults to "mostpopular"
Floor sensitivity. Defaults to .25
First Ranking Period. Defaults to 0
Ranking algorithm. Defaults to "linear"
Provide counts for elements not returned as 'top'
Selected items for a given element (only works for a single element)
Data frame
The Real-Time API uses a concept of "relative dates". To get a feeling for what's possible for submitting to date.from and date.to parameters, see link at:
http://php.net/manual/en/datetime.formats.relative.php
# NOT RUN {
custom_report <- GetRealTimeReport('')
# }
Run the code above in your browser using DataLab