Skip to content
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

Dev #236

Merged
merged 48 commits into from
Apr 12, 2024
Merged

Dev #236

merged 48 commits into from
Apr 12, 2024

Conversation

mjwestgate
Copy link
Collaborator

No description provided.

daxkellie and others added 30 commits February 16, 2024 13:29
Not a solution yet, but sets up architecture for running tests using secret information
- add `check_field_identities()` to perform a check on retuned field names; but not correct them (returns warning if triggered)
- remove `enforce_field_names_and_types()`
- read_csv() now automatically converts assertions to logical, meaning `fix_assertion_cols()` no longer needed
Separate warnings for additions vs subtractions, noting it is possible for both to occur simultaneously
- add species list and image licence APIs for SBDI
- enable image services for SBDI and BAO (neither tests successfully yet)
- remove canadensys.net APIs (unused)
- upgrade `collect_licences()` and `collect_media_metadata()` to not fail for empty results
Still need a function to download maps in a usable format
- write methods for `data/distributions` and `metadata/distributions`
- ensure `data` approach returns valid spatial objects
- support filtering by ID, taxonomic arguments with `identify()`
- build unexported (for now) `build_query_set()` for debugging
- tests for the above
If not, a message is posted that states they are calling the ALA.
- ensure working APIs for atlases using pipelines infrastructure
- use less intrusive column renaming
- remove APIs for atlases where we have been unable to test downloads (Portugal and Estonia)
- default is `group = "taxonomy"` for backwards-consistency
- other arguments are added as fields
- when empty `select()` provided, just returns facets (speciesID)
- warns when invalid fields are provided
-tests for the above
Alters behaviour added in commit 156cc33. Note that behaviour of tracking whether a user has manually specified which node to use is retained; may be useful down the track.
…s_counts()`

Basic problem was using `label` field returned by JSON instead of the actual field value. Test added for the same.
Information was being incorrectly added to the `data_request`, and was missing a test for this use case.
* Add `galah_radius()` function
* Allow "radius" as an argument to `galah_geolocate()`
* Allow `galah_radius()` arguments to pass to correct url arguments in `build_query()`
Had to amend behavior in `quosure_handling.R` to cover unusual cases when assertions are used for filtering (i.e. fewer brackets). Assertions queries must be placed before other queries to work. Tests updated in `galah_filter()`, but some still fail and require further investigation. Clean up `browser()` calls and run `document()`.
- Expert distribution APIs not fully tested yet; code retained
- occurrences/facets/downloads removed from UK and Guatemala (non-functional)
- Require further checks before decision on Austria biocache and Sweden images
- GBIF download by DOI should be functional - add
- atlases_plot.png updated to current status
- query builder didn't recognise geolocate as a filter, so errored unnecessarily
- location argument failing when specified in a way not expected by query builder
- reconfigure quick start guide to use dplyr syntax
- fix minor bugs
- consistency in author names
The only 'real' bug here is not generating an API properly - fixed in `collapse()` by making sure arguments are passed on correctly
@mjwestgate mjwestgate merged commit 3597579 into main Apr 12, 2024
7 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants