Skip to content

Releases: ropensci/rgbif

rgbif v3.7.4

06 Dec 15:41
730d945

Choose a tag to compare

NEW FEATURES

  • name_usage now has the ability to fetch iucn red list categories using data="iucnRedListCategory". (#547)

DOCUMENTATION

BUG FIXES

  • dataset_gridded bug fixed when inputing only one non-gridded dataset. (#546)

MINOR IMPROVEMENTS

  • New CRAN checks badge URL. (#555)
  • Updated min vcr requirment to (>= 1.2.0). (#559)
  • Updated r-lib actions to v2 (#566)

rgbif v3.7.3

05 Sep 07:38
150cab6

Choose a tag to compare

NEW FEATURES

  • Added missing search parameters for occ_data() and occ_search() (#530)
  • Added missing occ_download() terms to key lookup (#541)
  • Support for identifying "gridded datasets" with experimental API using dataset_gridded() (#516)
  • Look up the datasets in a GBIF network with network_constituents() (#527)
  • Added support for using GBIF experimental reverse geocoding API gbif_geocode() (#521)

DEPRECATED

  • networks() is deprecated and called network() instead. (#527)
  • parsenames() is deprecated and called name_parse() for better alignment
    with other name_* functions. (#504)

BUG FIXES

  • occ_search fixed bug related to networkKey in the column names (#524)

rgbif v3.7.2

11 Apr 13:52
87914b9

Choose a tag to compare

MINOR IMPROVEMENTS

  • Removing wellknown dependency and switching to wk (#512)

BUG FIXES

  • name_backbone_checklist() : bug fix related two square brackets in url (#509)

rgbif v3.7.1

18 Mar 08:18
c6f056a

Choose a tag to compare

BUG FIXES

  • name_backbone_checklist() : bug fixes (#501) (#505)

rgbif v3.7.0

09 Feb 12:18

Choose a tag to compare

There is a new rgbif maintainer: John Waller.

NEW FEATURES

  • derived_dataset() : New function to register a cleaned or modified dataset on GBIF for citation. (#467)
  • name_backbone_checklist() : New function that takes a list, vector, or data.frame of scientific names and asynchronously matches them to the backbone. (#475)
  • pred_isnull() : New predicate function that includes NULL values from a column in the download. (#489)
  • occ_download.print() : Now prints out much more information including a DOI and citation. (#494)

DEPRECATED

  • gbif_citation.gbif() : it is no longer considered best practice to generate a citation from occ_search() or occ_data(). We recommend occ_download() or derived_dataset() instead. (#494)

MINOR IMPROVEMENTS

  • occ_download_wait() and occ_download_meta() : now accept a class character download key directly. The keys does do not need to be class "occ_download". (#487)
  • name_backbone() : now returns new columns "verbatim_name", "verabtim_genus" ect. that the user has supplied. This makes it easier for the user to track what has been matched. The verbose argument also has been un-retired. If verbose=TRUE, more results will be returned in a single data.frame. (#475)
  • gbif_citation() : will now accept a download key directly.
  • occ_download_get() : Does not throw an error if the data is already present and overwrite=FALSE, it will just give a warning and return the already present dataset. This allows users to run occ_download_get(key) %>% occ_download_import() multiple times without re-downloading the same file with overwrite=TRUE.
  • download_predicate_dsl() : "publishingOrg" now added as a download key. (#496) key_lkup now includes GBIF-style uppercase keys as well. So pred("TAXON_KEY",212) and pred("taxonKey",212) will both work.

DOCUMENTATION

Wrote new articles highlighting new features and encouraging the use of occ_download() over occ_search().

New articles:

BUG FIXES

  • occ_download_import() : fixed bug related to select argument. (#479)
  • map_fetch() : fixed bug related to sp::CRS (#497)

rgbif v3.6.0

02 Jun 00:52
6a0e708

Choose a tag to compare

Downloads

  • typo in download predicate functions fixed - mulitpoint -> multipoint (#460) thanks @damianooldoni for catching that
  • added three new predicate keys: stateProvince (#458), gadm (#462), and occurrenceStatus (#465)

MINOR IMPROVEMENTS

  • add two new occurrence issues: FOOTPRINT_SRS_INVALID and FOOTPRINT_WKT_INVALID (#454)
  • occ_download_import() docs: more information on data.table::fread parameters and particular ones that would be useful to sort out data read issues (#461)

BUG FIXES

  • fix occ_download_get(): downloaded files used to have a certain content type in response header we checked for, but its changed at least once even in successful responses, so that step has been removed (#464)
  • fix occ_download_import(): country code for Namibia is NA - this was turning into the R missing value NA - now fixed (#463)

rgbif v3.5.2

27 Jan 20:31
08e4444

Choose a tag to compare

Download predicates

  • in occurrence download predicate builder checks, to better help users, give the name of the key that fails upon failure instead of just the string 'key' (#450)
  • occurrence download predicates: new key coordinateUncertaintyInMeters added, e.g. usage: pred_lt("coordinateUncertaintyInMeters",10000) (#449)
  • pred_and() and pred_or() slight change: now required that more than one predicate is passed to each of these functions because it doesn't make sense to do an and or or predicate with only one predicate (#452)
  • fix for use of pred_not(pred_notnull()) (#452)

MINOR IMPROVEMENTS

  • add a new occurrence issue (TAXON_MATCH_AGGREGATE) and a new name issue (BACKBONE_MATCH_AGGREGATE) (#453)

BUG FIXES

  • remove geoaxe references in man-roxygen template doc files - not using pkg anymore here and that pkg is cran archived too (#448)

rgbif v3.5.0

13 Jan 21:34
c661b46

Choose a tag to compare

MINOR IMPROVEMENTS

  • remove package wicket - use package wellknown instead - no user facing changes related to this (#447)
  • remove package geoaxe (to be archived on CRAN soon) - use package sf instead (#447)

BUG FIXES

  • fix to download predicate function pred_not(): it was not constructing the query correctly, fixed now. user facing change as well: it now expects a predicate to be passed, and only a single predicate as GBIF not predicate only accepts one predicate (#446)

rgbif v3.4.2

05 Jan 02:05
da8230a

Choose a tag to compare

MINOR IMPROVEMENTS

  • Add new occurrence issue DIFFERENT_OWNER_INSTITUTION (#444)
  • re-record all test fixtures

BUG FIXES

  • fix bug in occ_search() (#443)

rgbif v3.4.0

03 Dec 01:35
acd8b97

Choose a tag to compare

MINOR IMPROVEMENTS

  • Documentation: clarify for occ_search() and occ_data() what parameters accept many values and which do not; in addition, we clarify which parameters accept multiple values in the same HTTP request, and those that accept multiple values but apply each in separate HTTP requests. See also ?many-values manual file (#369)
  • gbif_issues() gains 9 new occurrence issues (#435)
  • for occ_search() and occ_data(), basisOfRecord parameter now supports multiple values, both in one request and in different requests, depending on input format (see "Multiple values passed to a parameter" section in ?occ_search) (#437)
  • remove vignettes from cran to avoid cran checks - still available on our docs site (#438)
  • occ_download_get(): GBIF slightly altered download behavior - we now explicitly follow any redirects to get a download (#439)
  • print.occ_download_meta (used when you run occ_download_meta()) was printing NA for number of results found if no results were ready yet - now prints 0 instead of NA (#440)

BUG FIXES

  • count_facet() fixes: fixed internal fxn for count_facet for parsing results, was dropping values for facets; added assertions to check parameter types input by user for the fxn; changed so that keys and basisofrecord can be passed together (#436)