Skip to content

Feature/grscicoll#173

Merged
jhnwllr merged 17 commits intodevfrom
feature/grscicoll
Jul 17, 2025
Merged

Feature/grscicoll#173
jhnwllr merged 17 commits intodevfrom
feature/grscicoll

Conversation

@jhnwllr
Copy link
Copy Markdown
Contributor

@jhnwllr jhnwllr commented Jul 15, 2025

No description provided.

@jhnwllr jhnwllr requested a review from Copilot July 16, 2025 09:59

This comment was marked as outdated.

@jhnwllr jhnwllr requested a review from Copilot July 16, 2025 13:32
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 grscicoll module providing institutions function 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 jhnwllr changed the base branch from master to dev July 16, 2025 14:17
@jhnwllr jhnwllr merged commit d87af08 into dev Jul 17, 2025
9 checks passed
@jhnwllr jhnwllr deleted the feature/grscicoll branch July 17, 2025 09:19
jhnwllr added a commit that referenced this pull request Nov 14, 2025
* 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
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]>
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