Skip to content

rBatt/trawlData

Repository files navigation

trawlData

DOI

R package for maintaining and manipulating data from bottom trawl survey and associated data sets


Install this R package

To install this repo, the easiest thing to do is to clone it, then then use devtools:install():

  • In terminal, type:
cd path/to/folder/to/hold/repo
git clone https://github.com/rBatt/trawlData
cd trawlData
git lfs pull # get binaries instead of pointers

If you don't have Git LFS, see the trawlData Wiki on the topic

  • In R, type:
library(devtools)
setwd("path/to/folder/to/hold/repo/trawlData")
devtools::install()

Package Quickstart

# load package
library(trawlData)

# See functions available
ls("package:trawlData")

# check documentation
?raw.sa
?clean.wctri
?trawlAgg
?trawlCast

# check which data sets are available
data(package="trawlData")

See the Wiki

The wiki pages have much more information available, including more examples related to using the package, and instructions/ guidelines for contributing to the package and instructions for installing trawlData and its dependencies.