opengamedata / opengamedata-core

Python framework for extracting features from OpenGameData event datasets.
https://opengamedata.fielddaylab.wisc.edu/
MIT License
1 stars 3 forks source link

Aqualab: PlayLocations #112

Closed LswaN58 closed 7 months ago

LswaN58 commented 10 months ago

This should be a feature that has the AvailableModes function overridden so that it only runs for the PLAYER mode.

It should accept all events, and for each event, check if it has seen the given session ID before. If it has encountered this session before, it should ignore the event. If it has not encountered this session before, it should add the session to a list of "previously seen sessions", and should append a True or False to a parallel list of "in school" sessions. The value should be True if the event's timestamp was on a weekday and between the hours of 9am and 3pm. The value should be False otherwise.

LswaN58 commented 7 months ago

Merged work on this into aqualab_new_features, and made a fix with commit ff8ec4b08abd74fe6d3f0a5aad2e5283cfc07088, I think this commit completed the functionality.