Package: gfwr 2.0.0
gfwr: Access data from Global Fishing Watch APIs
This package connects to several Global Fishing Watch APIs to get vessel and events information in an R-friendly format.
Authors:
gfwr_2.0.0.tar.gz
gfwr_2.0.0.zip(r-4.5)gfwr_2.0.0.zip(r-4.4)gfwr_2.0.0.zip(r-4.3)
gfwr_2.0.0.tgz(r-4.4-any)gfwr_2.0.0.tgz(r-4.3-any)
gfwr_2.0.0.tar.gz(r-4.5-noble)gfwr_2.0.0.tar.gz(r-4.4-noble)
gfwr_2.0.0.tgz(r-4.4-emscripten)gfwr_2.0.0.tgz(r-4.3-emscripten)
gfwr.pdf |gfwr.html✨
gfwr/json (API)
NEWS
# Install 'gfwr' in R: |
install.packages('gfwr', repos = c('https://globalfishingwatch.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/globalfishingwatch/gfwr/issues
- test_shape - A sample shapefile
api-wrapperglobalfishingwatchmapping
Last updated 4 months agofrom:a8f404153a. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 01 2024 |
R-4.5-win | OK | Nov 01 2024 |
R-4.5-linux | OK | Nov 01 2024 |
R-4.4-win | OK | Nov 01 2024 |
R-4.4-mac | OK | Nov 01 2024 |
R-4.3-win | OK | Nov 01 2024 |
R-4.3-mac | OK | Nov 01 2024 |
Exports:%>%get_eventget_event_statsget_last_reportget_rasterget_region_idget_regionsget_vessel_infogfw_authgfw_user_agentsf_to_geojsonvector_to_array
Dependencies:askpassbitbit64classclicliprcpp11crayoncurldplyrfansigenericsgeojsonsfgeometriesgluehmshttr2jsonifyjsonlitelifecyclemagrittrMASSopensslpillarpkgconfigprettyunitsprogresspurrrR6rapidjsonrrappdirsRcppreadrrjsonrlangsfheadersstringistringrsystibbletidyrtidyselecttzdbutf8vctrsvroomwithr
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Base function to get events from API and convert response to data frame | get_event |
Base function to get events stats from API and convert response to data frame | get_event_stats |
Base function to get status of last report generated | get_last_report |
Base function to get raster from API and convert response to data frame | get_raster |
Function to pull numeric code using region name | get_region_id |
List of available regions | get_regions |
Base function to get vessel information from API and convert response to data frame | get_vessel_info |
Get user API token from .Renviron | gfw_auth |
A sample shapefile | test_shape |