GlobalFishingWatch / gfwr

R package for accessing data from Global Fishing Watch APIs
https://globalfishingwatch.github.io/gfwr/
Apache License 2.0
58 stars 7 forks source link

Specify Vessel Type in get_events Call #93

Closed adeloera closed 2 months ago

adeloera commented 1 year ago

Another functionality which I think would be really helpful to have in the get_events function is the ability to specify the vessel type. Currently I am trying to get port events for fishing vessels within a certain date range, and it would be nice to be able to just specify that I only want fishing vessels ex ante, rather than loading them all in and then filtering some events out by the vessel_type found under the vessel variable.

tclavelle commented 1 year ago

Another API feature consideration, @giselamo

giselamo commented 6 months ago

@tclavelle apologies for the delay on this, we do have in the API the possibility to filter by vessel types in the:

- GET endpoint the param is vessel-types

adding also @AndreaSanchezTapia to make sure we include this in gfwR when migrating to V3

AndreaSanchezTapia commented 2 months ago

I am closing this issue since the migration to v3 and this feature will be available. Please feel free to reopen if anything fails or you have a question.