bcdata
Search and Retrieve Data from the BC Data Catalogue
The R gateway to B.C.'s data catalogue, mostly busy keeping pace with the servers behind it.
◆Recent moves
- 1mo ago
Geometry predicate filters no longer rejected by the server
Filter calls using CQL geometry predicates such as INTERSECTS were producing malformed queries that the server refused with an HTTP 400, which made spatial filtering unusable rather than merely wrong. A single-item release, but it restores the capability that distinguishes this package from a plain catalogue client.
View source ↗ - 6mo ago
leaflet.extras dependency dropped for WMS legends
Swaps a leaflet.extras legend call for the equivalent built on leaflet's own addControl, removing a dependency without changing what users see. Routine pruning of the sort this package does periodically.
View source ↗ - 1y ago
Search and listing functions return complete results again
Repairs facet search and the group and organization listing functions, which had been silently returning partial results since the catalogue moved to CKAN 2.9, and adds package-specific options to control those queries. Silent truncation is the worst failure mode for a search client, so this matters more than its one-paragraph note suggests.
View source ↗ - 1y ago
Hardened against failing WMS and WFS capability requests
Makes the package tolerate WMS and WFS GetCapabilities requests that do not come back cleanly, adapts to dbplyr 2.5.0 tightening the rules around local evaluation, and deprecates a download-limit option made redundant by the server-set chunk limit. Defensive work against an upstream that cannot be relied on.
View source ↗ - 3y ago
JSON resources readable; organization listing helpers added
Adds JSON as a supported resource format so those records can be downloaded and read directly, plus helpers for listing organizations and their records, and fixes facet values that needed manual quoting to produce a valid query. Modest reach extension into parts of the catalogue that previously required manual handling.
View source ↗ - 3y ago
filter() now requires local() for locally-evaluated calls
Stops auto-detecting which function calls inside filter() need evaluating locally before the CQL query is built, requiring an explicit local() wrapper instead. A breaking change, but one that brings bcdata into line with how other dbplyr backends behave, and the package's interface has been stable since.
View source ↗