Skip to content

Releases: data-mermaid/mermaidr

mermaidr 0.4.1

31 Aug 14:33
f11709a
Compare
Choose a tag to compare
  • mermaid_get_sites() and mermaid_get_managements() now require authorization.
  • Added vignette on accessing development data.

mermaidr 0.4.0

10 Aug 14:11
Compare
Choose a tag to compare
  • Added ability to import data into MERMAID via mermaid_import_project_data().
  • Added mermaid_import_field_options() to check valid options for fields in import.

mermaidr 0.3.2

21 Apr 19:47
e726a22
Compare
Choose a tag to compare
  • Removed ability to query "beltfishes", "benthicpits", and "habitatcomplexities" in mermaid_get_project_endpoint(), since the endpoints were removed from the underlying API.
  • Bug fixes.

mermaidr 0.3.1

25 Mar 21:56
8b87853
Compare
Choose a tag to compare

Updated mermaid_get_reference() to include regions.

mermaidr 0.3.0

22 Mar 18:35
cd8c8aa
Compare
Choose a tag to compare
  • Updated mermaid_get_project_data() to automatically unpack any data frame columns. This affects the fishbelt, benthic PIT, and benthic LIT methods, for both sample units and sample events data. This is a breaking change, expected to affect existing code that uses the biomass_kgha_by_trophic_group, biomass_kgha_by_fish_family, and percent_cover_by_benthic_category columns in sample units, and their *_avg counterparts in sample events. Instead of these columns, results will now contain a column for subgroup - for example, instead of biomass_kgha_by_trophic_group there will be columns such as biomass_kgha_trophic_group_piscivore and biomass_kgha_trophic_group_planktivore.
  • Updated mermaid_get_reference() to provide enhanced reference data, returning actual values for e.g. fish family, sizes, groups, etc, instead of their internal IDs. The display column for the "fishspecies" reference has been renamed to species (#21).

mermaidr 0.2.3

18 Mar 17:58
d2dbb5b
Compare
Choose a tag to compare

Fixed bug with handling of covariates (now properly handles case where covariates are NULL).

mermaidr 0.2.2

10 Feb 19:10
dbc1ec0
Compare
Choose a tag to compare

mermaidr 0.2.2

  • Added Allen Coral Atlas to all aggregated endpoints (in mermaid_get_project_data()).
  • Added biomass_kgha_by_fish_family and biomass_kgha_by_fish_family_avg to fishbelt sample units and sample events, respectively (in mermaid_get_project_data()).

mermaidr 0.2.1

  • Terminating httr::RETRY() after one failure if the status code indicates an unauthorized request; no need to retry in those cases.

mermaidr 0.2.0

17 Dec 23:07
8e9436b
Compare
Choose a tag to compare
  • Big addition of Benthic LIT, Bleaching, and Habitat Complexity methods in mermaid_get_project_data(), and additional fields available in Fish Belt and Benthic PIT endpoints.
  • Removed url argument from most external functions, since switching between prod and dev is more complicated than just changing the url - especially for authenticated endpoint calls. For now, switching between prod and dev requires installing from the main and dev branches, respectively. I will continue to explore making the token generation more robust for accessing both prod and dev, at which point the url argument will likely return!
  • Using httr::RETRY() instead of httr::GET() to make functions more resilient to e.g. temporary API outages or timeouts
  • Documentation improvements.

mermaidr 0.1.1

17 Jul 12:49
f0b5d00
Compare
Choose a tag to compare
  • Fix bug related to stricter row binding behaivour from updated version of vctrs.
  • Use trailing slash on endpoints to avoid redirects.
  • Suppress warning caused by introduction of HTTP_API_VERSION header that is not properly handled by the httr package (r-lib/httr#590).
  • Add missing count column to fishbelt observations (queried via mermaid_get_project_data(method = "fishbelt", data = "observations")).

mermaidr 0.1.0 Initial Release

15 May 18:23
Compare
Choose a tag to compare