Learn R Programming

googleAnalyticsR (version 0.5.0)

chunkify: Break down a request into unsampled chunks

Description

Break down a request into unsampled chunks

Usage

chunkify(sessions_vec, limit = 250000)

Arguments

sessions_vec

A vector, ordered by date, with the number of sessions

limit

This is the upper bound for the number of sessions in one chunk

Value

A vector with the batch number of each date. This allows for usage in a mutate.