Merged
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR introduces GRSCICOLL (Global Registry of Scientific Collections) support to the pygbif library, enabling users to query institution and collection data from the GBIF API. The PR implements a new grscicoll module with institution search functionality and comprehensive testing infrastructure.
- Adds a new
grscicollmodule providinginstitutionsfunction for searching biological collections and institutions - Updates the library version from 0.6.4 to 0.6.5
- Implements comprehensive test coverage with VCR cassettes for various search scenarios
Reviewed Changes
Copilot reviewed 30 out of 110 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| test/vcr_cassettes/test_networks.yaml | Updates version number in test data to 0.6.5 and refreshes API response data |
| test/vcr_cassettes/test_institution_typeSpecimenCount.yaml | New test data for institution searches filtered by type specimen count |
| test/vcr_cassettes/test_institution_search_typeSpecimenCount.yaml | New test data for type specimen count filtering in institution searches |
| test/vcr_cassettes/test_institution_search_q.yaml | New test data for free-text query searches in institutions |
| test/vcr_cassettes/test_institution_search_numberSpecimens.yaml | New test data for filtering institutions by number of specimens |
| test/vcr_cassettes/test_institution_search_country.yaml | New test data for country-based institution filtering |
| test/vcr_cassettes/test_institution_search_active.yaml | New test data for filtering institutions by active status |
jhnwllr
added a commit
that referenced
this pull request
Mar 25, 2026
* Release/v0.6.6 (#185) * Feature/grscicoll (#173) Adding support for GRSciColl institution and collection search. Updating documentation and vcr fixtures. * Adding support for species match v2 #176 (#177) * preparing for new version 0.6.6 * updating ver * fixing tests and fresh cassettes * fixing build * docs: clarify GBIF credentials required for downloads (#200) * Add download statistics functions to occurrences module #201 - Add download_stats() for general download statistics - Add download_stats_user_country() for user country stats - Add download_stats_records_by_dataset() for records by dataset - Add download_stats_by_dataset() for downloads by dataset - Add download_stats_by_source() for downloads by source - Add comprehensive test coverage for all new functions - Update __init__.py to expose new functions - Add .github/copilot-instructions.md to .gitignore --------- Co-authored-by: Abi <[email protected]>
jhnwllr
added a commit
that referenced
this pull request
Apr 1, 2026
* Release/v0.6.6 (#185) * Feature/grscicoll (#173) Adding support for GRSciColl institution and collection search. Updating documentation and vcr fixtures. * Adding support for species match v2 #176 (#177) * preparing for new version 0.6.6 * updating ver * fixing tests and fresh cassettes * fixing build * docs: clarify GBIF credentials required for downloads (#200) * Use COL-style taxon keys in checklistKey examples Update examples and tests to use COL-style taxon key (5WZLF) instead of numeric GBIF Backbone taxon keys when demonstrating checklistKey functionality. This aligns with ChecklistBank taxonomy format. * Add checklistKey parameter support for occurrence downloads - Added checklistKey parameter to download() function and GbifDownload class - Supports root-level (global) usage: applies to entire download request - Supports predicate-level usage: for filtering specific predicates - Updated all examples to use COL-style taxon key (5WZLF) - Added comprehensive tests for both usage patterns - Updated documentation in occurrence.rst and download.py - Updated Changelog.rst with feature description - Maintains backward compatibility when checklistKey not provided * documentaiton updates * updating docs * docs update --------- Co-authored-by: Abi <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.