You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
atlas_media returns a confusing error when trying to filter by license type
media<- galah_call() |>
galah_identify("perameles") |>
galah_filter(license=="CC-BY 4.0 (Int)") |>
atlas_media(download_dir= tempdir())
#> Downloading records with media...#> This query will return 606 records#> | | | 0% | |======================================================================| 100%#> Warning: Unknown or uninitialised column: `name`.#> Error: attempt to select less than one element in get1index
In addition, atlas_media uses the multimediaLicense field rather than the license field in the summary output tibble. This means that people who use atlas_counts to get record count by license will get different results to what is returned by altas_media.
It would be good to make sure the names of the column name and the field name are consistent.
`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`
atlas_media
returns a confusing error when trying to filter by license typeCreated on 2022-07-14 by the reprex package (v2.0.1)
However, filtering by other fields work correctly
Created on 2022-07-14 by the reprex package (v2.0.1)
The text was updated successfully, but these errors were encountered: