-
Notifications
You must be signed in to change notification settings - Fork 1
Allow media-based observations #172
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
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #172 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 27 27
Lines 1204 1212 +8
=========================================
+ Hits 1204 1212 +8 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…mtrapdp into media-based_observations
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! I've already updated write_eml()
to use the same filtering (needed for scopes in metadata). @sannegovaert I think we need one more thing though: when using observation_level == "media"
we need to create our multimedia.csv
differently. Currently it has:
dplyr::select(-"mediaID") %>%
dplyr::left_join(
media,
by = c("deploymentID", "eventID"),
relationship = "many-to-many" # Silence warning
)
So it still joins on eventID
while we should use mediaID
in this case. So:
- Update how the join is made depending on
observation_level
- Extend new test to also expect a
multimedia_media_based.csv
with an expected number of records. Currently themultimedia.csv
has too many records.
fix #168