Auerbach-Lab/Behavior-autoanalysis

Counts off when multiple runs per day

Opened this issue · 0 comments

Note when there are multiple runs per day issues crop up in supervisor summarise.

to correct:
prior to either build_counts or build table:

  • get rat_runs
  • group by date
  • in do(), if nrow > 1, summarize note that this is tricky because text columns should be unique() while numeric except % should be summed then the % should be recalculated AND stats will need to be unnested
    Now there should only be one row per day

This kind of fix should probably be a callable independent function that can be used in graphing_unrolled and analysis.

This could be considered a fix for #14, expect it doesn't handle inputting.