Thank you for taking the time to contribute! This package is a low-level client for the NHS Business Services Authority Open Data Portal, and contributions that keep it a thin, general-purpose wrapper are very welcome.
Scope
nhsbsa deliberately contains no dataset-specific or domain knowledge. New endpoint wrappers should map one-to-one onto a CKAN API action, exposing an argument for each documented API parameter. Logic specific to a particular dataset belongs in a separate package that depends on this one.
Reporting bugs and requesting features
Please open an issue at https://github.com/rmgpanw/nhsbsa/issues. For bugs, a minimal reprex is enormously helpful.
Pull requests
Fork the repository and create a branch for your change.
Make your change, following the conventions in
CLAUDE.md(UK English,snake_case,nhsbsa_-prefixed exports,clifor messages via the internalnhsbsa_abort()/nhsbsa_warn()/nhsbsa_inform()helpers).Add or update tests. Offline tests use recorded
httptest2fixtures; live tests are gated behind theNHSBSA_LIVE_TESTSenvironment variable.-
Run the checks before submitting:
Open a pull request describing the change and linking any related issue.
