Open smnorris opened 1 month ago
Testing current fixes/PR fails because no results are found when searching for these packages. Maybe not all packages/resources are included in the testing instance?
Tests now mostly pass, the only error is when scanning for preview_info
key where resource["format"] == "multiple"
(not present for WHSE_HUMAN_CULTURAL_ECONOMIC.HIST_HISTORIC_ENVIRONMENTS_SP
.
The current scanning of bcdc api results/resources for the table schema and description is scattered and could be improved. Would searching by object name and bcdc_type=geographic
work instead of looking at each resource format?
https://bcgov.github.io/data-publication/pages/dps_bcdc_api_w_common_calls.html#search-by-object_name https://bcgov.github.io/data-publication/pages/dps_bcdc_api_w_common_calls.html#search-by-bcdc_type
edit - seems to work just fine, PR is updated
Once bcdc api upgrade is deployed (I don't see any guidance on date):
bcdata
in downstream projects
https://github.com/bcgov/bcdata/issues/342
Swapping in the test url (https://toyger.data.gov.bc.ca/) results in several failures: