GlobalFishingWatch / gfwr

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

improve nomenclature consistency #146

Open AndreaSanchezTapia opened 3 weeks ago

AndreaSanchezTapia commented 3 weeks ago

Possible discussion with the API team as well to avoid solving downstream.

AndreaSanchezTapia commented 2 weeks ago

The tinyest change to avoid a long explanation is renaming selfReportedInfo$id to selfReportedInfo$vesselId in the results. No change to parameters or API calls, only readme and vignette results processing.

AndreaSanchezTapia commented 2 weeks ago
jflowernet commented 1 week ago

Hi. Hope you don't mind me jumping in, but I had a thought about argument naming! I notice in the latest version of gfwr, get_raster() has had some changes, one of which is that the user specified region should be an sf object (great enhancement, thanks!). Given this change, wouldn't it make sense to use region_source = "user_polygon", or something similar, rather than "user_json"?