disc_assemble: Assemble data of a given kind from several deployments

Description Usage Arguments Examples

View source: R/disc_assemble.R

Description

Assemble data of a given kind from several deployments

Usage

1
2
3
disc_assemble(pattern, ids = NULL, deploy.dir = NULL)

dassemble(pattern, ids = NULL, deploy.dir = NULL)

Arguments

pattern

pattern to look for in the file name; passed to list.files. Only .csv files are searched for.

ids

deployment ids to limit the search to; if NULL (the default) get data from all deployments

deploy.dir

path to the directory containing deployments (and associated options). By default "deployments" in the current directory.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
# get example deployments included with the package
deploys <- system.file("extdata", "deployments", package = "discr")
disc_status(deploys)

# get all larvae tracks
head(disc_assemble("rotated_larvae_tracks", deploy.dir=deploys))

# get all GPS tracks
head(dassemble("gps", deploy.dir=deploys))
tail(dassemble("gps", deploy.dir=deploys))

jiho/discr documentation built on May 19, 2019, 9:30 a.m.