View source: R/summary.by.period.R
activpal.summary.by.period | R Documentation |
activity.summary.by.period processes all the events files (format *Events.csv) in a folder and produces a summary table giving a breakdown across consecutive periods of a specified duration during the day. The output generated matches the output format obtained from using the Daily summaries export in PALanalysis / PALbatch
The generated summary activity table for each events file is saved to a csv file, while an additional csv file containing the summaries across all the processed events files is also saved.
If the window duration is not a factor of 24, some summary period may encompass events spanning two distinct days
activpal.summary.by.period(
location_folder,
output_folder,
window_duration = 24
)
location_folder |
The filepath for the folder where the events files to be processed are saved |
output_folder |
The filepath for the folder where the csv summary files are saved |
window_duration |
The size of each bucket in hours that the data is to be summarised. Default - 24 hours. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.