inbo / etn

R package to access data from the European Tracking Network
https://inbo.github.io/etn/
MIT License
7 stars 5 forks source link

'ETN group' filter #114

Open PieterjanVerhelst opened 4 years ago

PieterjanVerhelst commented 4 years ago

It would be interesting to allow a filter on ETN user groups in the functions get_projects(), get_detections(), get_animals(), get_transmitters() and get_deployments. The majority of the groups are institutes like 'VLIZ', 'INBO' and 'UGENT' and would allow a filtering on their specific data and meta data. Even more, I am currently performing an eel meta-analysis using data from various institutes merged under the group 'eel-meta-analysis'. Hence, I would benefit from such a filter to download the data specifically added to this group.

peterdesmet commented 4 years ago

Sounds interesting, but the concept of a group is not available in any of the views. Where are those defined?

PieterjanVerhelst commented 4 years ago

@jreubens can you answer this question?

jreubens commented 4 years ago

I guess @PieterjanVerhelst is referring to owner_organisations. Correct?

PieterjanVerhelst commented 4 years ago

that is correct 😃

peterdesmet commented 4 years ago

@PieterjanVerhelst so, the same field as discussed in #117? But extended to more views?

PieterjanVerhelst commented 4 years ago

indeed

peterdesmet commented 4 years ago

But it's a bit an odd concept to "own" deployments, animals and detections. And before we tackle this, I think we first need to figure out https://github.com/inbo/etn/issues/110#issuecomment-604893158