Skip to content

Releases: bcgov/bcdata

bcdata 0.5.3

Choose a tag to compare

@ateucher ateucher released this 10 Jul 21:45
  • Fixed a bug where filter() calls using CQL geometry predicates (such as
    INTERSECTS()) produced malformed CQL that the server rejected with an HTTP
    400 error (#368).

bcdata 0.5.2

Choose a tag to compare

@ateucher ateucher released this 09 Feb 06:32
4273e47
  • Removed dependency on leaflet.extras, using leaflet::addControl() instead
    of leaflet.extras::addWMSLegend() for WMS legend display (#364).

bcdata 0.5.1

Choose a tag to compare

@ateucher ateucher released this 26 Mar 17:39
fa24832
  • Fix bugs where bcdc_search_facets(), bcdc_list_group_records() and
    bcdc_list_organization_records() were not returning all records after
    the upgrade to CKAN 2.9 (#353). Includes adding tests and bcdata-specific
    options for these queries, see bcdc_options().
  • Added examples of partial query using %like% and %in% in
    bcdc_query_geodata() (#356, thanks @bevingtona).

bcdata 0.5.0

Choose a tag to compare

@ateucher ateucher released this 12 Dec 16:59
  • Make functions more robust to non-functioning WMS/WFS GetCapabilities requests
    (#339, #341).
  • dbplyr 2.5.0 has made the requirement for using !! or local() for local
    functions more restrictive; updated tests and examples (#341).
  • Deprecate the bcdata.single_download_limit option, as it was mostly
    redundant with bcdata.chunk_limit, and should always be set by the server.
    Please set the page size limit for paginated requests via the
    bcdata.chunk_limit option (#332).
  • Updated internals to adapt to changes in B.C. Data Catalogue (#342, #343).

bcdata 0.4.1

Choose a tag to compare

@ateucher ateucher released this 31 Mar 20:58
73f0e4d
  • Add jsonlite::read_json() as a file read method, so users can now download & read json resources in B.C. Data Catalogue records
  • Change the download_audience default from Public to NULL in bcdc_search() (#315)
  • Fix bug where some/all facet values in bcdc_search() need to be quoted to generate a valid API query (#315)
  • Add new functions bcdc_list_organizations and bcdc_list_organization_records as helper functions for finding records #322

bcdata 0.4.0

Choose a tag to compare

@ateucher ateucher released this 05 Jan 22:04
323320c

User-facing changes

  • For WFS queries constructed using bcdc_query_geodata(), function calls in filter() that need to be evaluated locally are no-longer auto-detected. They now need to be wrapped in local() to force local evaluation before the CQL query is constructed and sent to the WFS server. Please see vignette("local-filter") for more information. This aligns with recommended usage patterns in other dbplyr backends (#304, PR #305).

bcdata v0.3.2

Choose a tag to compare

@ateucher ateucher released this 25 Oct 23:46
e8382da
  • Fixed a test that was failing when no internet was available
  • Upgraded to dbplyr edition 2, bumped dependency to 2.0.0 (#300)

bcdata 0.3.1

Choose a tag to compare

@ateucher ateucher released this 24 May 23:46
d56c512
  • Added bcdc_get_citation to generate bibliographic entries (via utils::bibentry) for individuals records. #273
  • Results from bcdc_search() (objects of class "bcdc_recordlist") now print 50 records by default, instead of 10. In addition, there is a new [ method for "bcdc_recordlist" objects, allowing you to subset these lists and still have a nice printout (#288).
  • Ensure that bcdc_get_data() fails informatively when a given resource doesn't exist in a record (#290)
  • Ensure compatibility with upcoming dbplyr 2.2.0 (#297, 82b9def)

bcdata 0.3.0

Choose a tag to compare

@ateucher ateucher released this 28 Oct 17:06
c3efee4
  • The BC Data Catalogue and its API have been updated, requiring changes to the bcdata package, most of which are internal only (#283). These should be mostly invisible to the user, except for the removal of the type search facet in bcdc_search() and bcdc_search_facets(). If you use an API key (authorized catalogue editors only), you will need to login to the new catalogue and get your updated key and set the value your BCDC_KEY environment variable to the new key.

IMPROVEMENTS

  • Add names method for bcdc.promise objects. You can now call names on an object produced by bcdc_query_geodata. This is handy when trying to figure out exact column spelling etc. #278

BUG FIXES

  • Fix bug where sticky column were incorrectly identified in bcdc_describe_feature (#279)

bcdata 0.2.4

Choose a tag to compare

@ateucher ateucher released this 04 May 20:43
  • Code in .onLoad() that sent a request to the wfs getCapabilities endpoint could cause the package to fail to load. This was moved into an internal function bcdc_get_capabilities() that makes the request the first time it's required, and stores the result for the remainder of the session (#271)
  • testthat is now used conditionally to only run tests if the testthat package is installed.