Public-Health-Scotland / phsmethods

An R package to standardise methods used in Public Health Scotland (https://public-health-scotland.github.io/phsmethods/)
https://public-health-scotland.github.io/phsmethods/
54 stars 13 forks source link

Get dataset #59

Closed Moohan closed 3 years ago

Moohan commented 3 years ago

This depends on #58 so that needs, finishing, and reviewing first

Moohan commented 3 years ago

I think this does everything we want just now and all checks pass.

The latest addition was as we (@csillasch) discussed to pull all dataset names to suggest a correction only when we have an error. This strikes the balance of being helpful to the user but only doing additional API queries when we know they've already done something wrong.