Package: gfwr 3.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_3.0.tar.gz
gfwr_3.0.zip(r-4.7)gfwr_3.0.zip(r-4.6)gfwr_3.0.zip(r-4.5)
gfwr_3.0.tgz(r-4.6-any)gfwr_3.0.tgz(r-4.5-any)
gfwr_3.0.tar.gz(r-4.7-any)gfwr_3.0.tar.gz(r-4.6-any)
gfwr_3.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
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
Pkgdown/docs site:https://globalfishingwatch.github.io
- gfw_marine_regions - Simplified Marine Regions v12 dataset
- gfw_test_shape - A sample shapefile
aisais-dataapi-wrapperglobalfishingwatchmapping
Last updated from:b8e7dcd1bd. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 153 | ||
| source / vignettes | OK | 217 | ||
| linux-release-x86_64 | OK | 156 | ||
| macos-release-arm64 | OK | 217 | ||
| macos-oldrel-arm64 | OK | 149 | ||
| windows-devel | OK | 90 | ||
| windows-release | OK | 112 | ||
| windows-oldrel | OK | 122 | ||
| wasm-release | OK | 125 |
Exports:%>%get_eventget_event_statsget_last_reportget_rasterget_region_idget_regionsget_vessel_infogfw_ais_fishing_hoursgfw_ais_presencegfw_authgfw_eventgfw_event_statsgfw_last_reportgfw_region_idgfw_regionsgfw_sar_vessel_detectionsgfw_user_agentgfw_vessel_infomarine_regionstest_shapevector_to_array
Dependencies:askpassbitbit64classclicliprcpp11crayoncurldplyrgenericsgeojsonsfgeometriesgluehmshttr2jsonifyjsonlitelifecyclelubridatemagrittrMASSopensslpillarpkgconfigprettyunitsprogresspurrrR6rapidjsonrrappdirsRcppreadrrjsonrlangsfheadersstringistringrsystibbletidyrtidyselecttimechangetzdbutf8vctrsvroomwithr
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Retrieve apparent fishing hours derived from AIS data and convert response to tibble | gfw_ais_fishing_hours |
| Retrieve vessel presence from AIS data and convert response to tibble | gfw_ais_presence |
| Get user API token from .Renviron | gfw_auth |
| Get events from API and convert response to tibble | gfw_event |
| Get events stats from API and convert response to tibble | gfw_event_stats |
| Base function to get status of last report generated | gfw_last_report |
| Simplified Marine Regions v12 dataset (previously 'marine_regions') | gfw_marine_regions |
| Function to pull region code using region name and viceversa | gfw_region_id |
| List of available regions in Global Fishing Watch platforms, EEZs, MPAs, and RFMOs | gfw_regions |
| Retrieve vessel presence detected using SAR and convert response to tibble | gfw_sar_vessel_detections |
| A sample shapefile (previously 'test_shape') | gfw_test_shape |
| Base function to get vessel information from API and convert response to tibble | gfw_vessel_info |
