-
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
Support GBIF queries from galah
#172
Labels
enhancement
New feature or request
Comments
mjwestgate
added a commit
that referenced
this issue
Dec 7, 2022
mjwestgate
added a commit
that referenced
this issue
Dec 9, 2022
- rename all code that directly calls APIs from `atlas_` prefix to `url_` prefix, to avoid confusion with functions that return data - restructure `galah_config` for cleaner storage, ability to specify atlas names by org name, acronym or region - add new arguments `username` and `password` to `galah_config` to support gbif integration (#172) - restructure `url_` functions to no longer use `tryCatch` - parse out `url_get` from `url_paginate` to make code cleaner and easier to use ahead of new API calls (#163)
mjwestgate
added a commit
that referenced
this issue
Dec 22, 2022
- upgrade `atlas_occurrences` to check whether `atlas = GBIF` and send correct arguments to correct functions - split `atlas_occurrences_internal` into Living Atlases implementation `_LA` and `_GBIF` - update `build_predicates` to match output of `rgbif` - misc changes to `url_GET`, `url_POST` and `url_download` - convert `check_queue` to `url_queue` for consistency with related functions
mjwestgate
added a commit
that referenced
this issue
Dec 23, 2022
Unlike ALA, which has a separate API for species downloads (i.e. facets downlods), GBIF works through the occurrences download system. Ergo we can use the same code for `atlas_occurrences` and `atlas_species`, simply by changing `format` from `SIMPLE_CSV` to `SPECIES_LIST`. This commit makes the relevant changes, but doesn't stabilise `occurrences_GBIF` any further, meaning more checks will be needed
mjwestgate
added a commit
that referenced
this issue
Jan 4, 2023
+ following improvements to GBIF functions: - limit results from `show_all` collectory functions to n = 20, with a message - add `search_all` collectory functions - support `group_by` and range queries for `atlas_counts` - remove support for `taxize` objects - add `is_gbif()` function for easy lookup - fix bugs in `print.galah_config` & `url_paginate`
mjwestgate
added a commit
that referenced
this issue
Jan 6, 2023
…BIF (#172) - add tests for `atlas_species` and `atlas_occurrences` - provide more useful progress information when verbose = TRUE - update `build_filter_query` to support `==`, `<=` or `>=` BUT NOT `<`, `>` or `!=` (relevant to `atlas_counts`)
Closing this with release of v1.5.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In a previous issue (#126) we expanded support to all available living atlases. We currently (v 1.5.0) support the GBIF name-matching service for some atlases, but no other services; I suspect this is a strange oversight to most users.
The first set of challenges to upgrading to GBIF are:
rgbif
hard codes them)galah_filter
as GBIF doesn't usesolr
solr
approach (albeit in JSON), but the 'online' GBIF occurrence API doesn't use them, potentially creating a mismatch betweenatlas_counts
(online) andatlas_occurrences
(offline)Other problems may emerge once these are solved. However, the two systems are otherwise closely related, so it is conceptually straightforward to map current
galah
functions to GBIF.The text was updated successfully, but these errors were encountered: