Calculate daily migration by simple repartition
Function to calculate daily migration from migration monitoring whose length is less than one day, typically video recording whose period are instant events.
fun_report_mig_mult(time.sequence, datasub, negative = FALSE)
the time sequence to be filled in with new data
the initial dataset
"boolean", default FALSE, TRUE indicates a separate sum for negative and positive migrations
A data.frame with number summed over over the time.sequence. The function returns the same output than fun_report_mig_mult_overlaps but is intended to work faster
The method uses sqldf, configured to access a postgres database, and runs caclulations on a database called test (the username and password for test are set in the calcmig.csv configuration file).