Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RMHDR-257 Fix parsing and filtering of device type strings #26

Conversation

pranavanba
Copy link
Collaborator

Major Changes

  1. Parse device type string from summarized list of device type strings for each participant in the data frame
  2. Use a less strict pattern matching rule for exclusion of rows where the column named value contains other in its row value in any form

@pranavanba pranavanba self-assigned this Jun 3, 2024
@pranavanba pranavanba merged commit 0efc5fe into Sage-Bionetworks:main Jun 3, 2024
2 checks passed
@pranavanba pranavanba deleted the RMHDR-257-fix-other-device-type-filtering branch June 3, 2024 15:49
Copy link

@itismeghasyam itismeghasyam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I looked at the changes to the way we are picking up device manufacturers, the new code update treats them as case(lower/upper/mix) agnostic. We coerce all values as 'Apple Watch' or 'Garmin' or 'Polar' or 'HRM808S' or 'Other'. 'Fitbit' apparently(from Pranav) has no variations in case as it does appear as 'Fitbit' - so that device manufacturer is not considered in this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants