View source: R/locate.logbook.R
locate.logbook | R Documentation |
Functions to locate fishery logbook data, such as snow crab fishery data and Zonal Information File Format (ZIFF) data.
## S3 method for class 'logbook'
locate(x, year, species, ...)
## S3 method for class 'ziff'
locate(
x,
year,
path = options("gulf.path")[[1]]$groundfish$ziff,
region,
source = "R",
...
)
x |
Data object. |
year |
Survey year. |
species |
Species to be targeted (e.g. "snow crab"). |
... |
Not used. |
path |
Character string specifying the location of ZIFF data. |
region |
DFO region (‘g’, ‘m’, ‘q’, ‘n’). |
source |
Data source (‘R’, ‘ascii’). |
# Locate snow crab fishery logbook data:
locate.logbook(species = "snow crab") # Find all snow crab fishery logbook data files.
locate.logbook(2013:2015, species = "snow crab") # Find all snow crab fishery logbook data files from 2013-2015.
# Locate groundfish and pelagic fishery logbook data:
locate.logbook() # Find all available ziff files.
locate.ziff() # Find all available ziff files.
locate.ziff(year = 2000:2008, region = "g") # Find Gulf region ziff files from 2000-2008.
locate.ziff(year = 2002:2003, region = c("Gulf", "Quebec")) # Find Gulf and Quebec regions ziff files from 2002-2003.
locate.logbook(2000, source = "ascii") # Find ASCII versions of 2000 ziff files.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.