I have to process data about fishing sessions and I want to investigate links between the number of fished individuals (trouts, for instance) and various environmental variables. It is necessary to select sub-datasets, depending on environmental characteristics (“Domaine”, for instance) and of fishing strategies. An important variable is EC1 : the hunted species.
The beginning and the end of each session are known, and I need to complete the raw dataset by a supplementary column : End-Begin (discretized), say.
My code is :
Final = Lepoisson[
All, <|#,
"Diff" ->
Ceiling[(AbsoluteTime@#"hcont" -
AbsoluteTime@#"hdeb") /(60 Pas)] |> &]
(see the joined notebook).
My problem is that, depending on the way data are selected, Final cannot be computed!
What is wrong in the above instruction?
I would you suggest that you pare this down to a minimal example that demonstrates the exact place where you’re having struggles. Like, maybe provide a one line expression that doesn’t work as you expect along with the “correct” result that you’re looking for. As it stands, it looks like I must first figure out all of your variables before I can even parse your question.