-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add filters for fileSize
and/or imageSize
to atlas_media
?
#140
Comments
This is an interesting one, as it may require a rethink of how
Some useful additions would be:
A harder problem is how Option 1 is to force the user to do their own occurrence download first, and pass the results to
This is more modular than the current version, and doesn't require many new function names; but greatly changes the behaviour of Option 2 is to keep the filtering behaviour of
|
`atlas_media` now returns a `tibble`, but does not download images; this allows use of e.g. `dplyr::filter` to reduce the number of images that will be returned (#140, #151) - new function `collect_media` takes a tibble from `atlas_media` and downloads to the specified directory. Supports thumbnail downloads via `type` argument (#145) - Alternatively, users can build their own media queries via `atlas_occurrences` and trigger a metadata download (equivalent to `atlas_media`) using `show_all_media`
Current status of a simple example:
A more complex example showing how to filter by file size:
Finally, how to avoid
Then getting associated media:
It would not be impossible to walk back these changes back into |
This is now possible using |
It was suggested in a separate issue to add a fileSize filter for downloading media. This is potentially a good idea worth discussing, and I don't imagine it being too difficult to implement for
atlas_media
The text was updated successfully, but these errors were encountered: