-
Notifications
You must be signed in to change notification settings - Fork 12
Home
Vmstools is an open-source software package build in R. It is specifically developed to process, analyse and visualize logbooks and VMS data.
Some of its functionality:
- Analyses use standardised data formats for logbook (EFLALO) and VMS (TACSAT)
- Handles erroneous data point detection and removal
- Link logbook and VMS data together in order to distinguish fishing from other activities
- Provide high-resolution maps of both fishing effort and -landings, interpolate vessel tracks
- Calculate indicators of fishing impact as listed under the Data Collection Framework at different spatio-temporal scales.
- Perform some statistical analyses with VMS data
- Investigate the dependence of fishers on a certain enclosed area
- Link other spatial data to VMS and logbook data
You will need the following software to use the VMStools software and repository.
- R (version 4.X) for your system. Available here.
- The VMStools package itself, available for download here
- For very enthusiastic users / developers: An SVN (subversion) client. For Windows users, we recommend TortoiseSVN. Linux users will typically have access to such a client through their package distribution system.
- Some way to write and edit R code. For Windows, try RStudio or Sublime. For Linux, you almost certaintly already have Vi
Once you've got all the necessary bits and pieces, the next step is to fetch a "working copy" of the VMStools repository from the server. The SVN client that you have installed takes care of this. The general process is client specific, but generally involves two steps
- Create a directory for your working copy (e.g. Desktop/VMStools) and
- "Checking out" the repository.
Firstly there are two different ways to checkout the code, depending on whether you want to commit the changes back to the repository or not. If you checkout the repository from http://github.com/nielshintzen/vmstools it will not be possible to commit your changes back - however, the benefit is that anyone can get access to the repository, without the need for a google account.
Download the VMStools zip or rar file from the repository under the download tab or build it yourself from the repository. Please note that the VMStools package depends on a number of other R packages. They are listed in the DESCRIPTION file in /trunk of the repository. The packages VMStools depends on can easily be installed through (warning for Rstudio users at the end):
library(devtools)
install_github("nielshintzen/vmstools/vmstools/")
Or manually
vmstoolsPackages <- c("data.table","doBy","lubridate","sf","mixtools","segmented","ggplot2")
for(i in vmstoolsPackages) try(install.packages(pkgs=i,repos=getOption("repos")))
#Once you've installed all secondary packages install VMStools using
install.packages("yourPath/vmstools.zip")
For RStudio users, installation sometimes fails. Please start Rgui (outside of Rstudio), install following the suggestions above and then restart Rstudio
- VMStools introductory (i) course (5-9th of June 2023)
- Pi1: Getting the VMS and logbook data into R
- Pi2: Cleaning and processing the VMS and logbook data, and accounting for potential problems
- Pi3: Linking VMS and logbook data and exploring the benefits
- Pi4: How to link VMS, logbook data to spatial grids
- Pi5: Interpolation methods for VMS tracks
- Pi6: Calculating indicators at different spatial scales
- Pi7: The ICES datacall and working together across countries
- Pi8: How to link VMS data with other spatial datasets
- Pi9: Making pictures and tables
- VMS advanced (a) course (8-12 February 2021)
- VMStools workflow example scripts
- Benthis WP2