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

The output problem of function get_vessel_info #125

Closed Wangdonley closed 2 months ago

Wangdonley commented 7 months ago

get_vessel_info can only obtain up to 10000 pieces of data. What should be done when the data volume exceeds 10000.

AndreaSanchezTapia commented 2 months ago

Hi, this is a limitation of the API, you cannot send a string that is too long. If you need to do a larger query, loop over your vessel identifiers vector and do several calls instead of doing a single long query.

AndreaSanchezTapia commented 2 months ago

I will close this issue but feel free to reopen if you have any further questions.