Closed tclavelle closed 1 year ago
In addition to your own JSON region, can now pass EEZ or MPA id to get_raster
function to query specific region
get_region_id
now takes id and returns label. This allows you to get the label for the id values returned by certain endpoints (e.g. get_event
)
Considerable speed increases in get_event
function
get_event
prints "Your request returned zero results"
and returns NULL
when the API response contains no results instead of causing an error.get_raster
: requires group_by
and appropriate parameter name is gearType
Added a NEWS.md
file to track changes to the package.
This PR merges the first round of improvements to
main
following the initial release ofgfwr
. It includes the following:get_event()
dramatically faster while also handling zero-length responses without errorget_region_id() to accept a
region_id` value in addition to a region nameget_event()
,get_region_id()
, andget_raster()