data_finder: Finds filepath to specific river data

Description Usage Arguments Details Value Author(s) Examples

View source: R/data_prep.r

Description

data_finder takes a filepath and a river designator and returns the complete filepaths to specified river data.

Usage

1
data_finder(path, river)

Arguments

path

Character string filepath to location of sonde data xlsx workbooks.

river

Character. Either "c" for Canning River or "s" for Swan River.

Details

The function presumes data to be in xlsx format and the river designator, within the name of the file, to be preceded by 8 digits (date).

Value

If data meeting the required conditions exist, filepaths of data location. There should be two filepaths per date for upper and lower data runs.

Author(s)

Bart Huntley, bart.huntley@dbca.wa.gov.au

Examples

1
2
3
## Not run: 
data_finder(path = "Z:/DEC/MonitoringProgram/Data", river = "c")
## End(Not run)

Bartesto/monitoR documentation built on Aug. 17, 2019, 12:37 a.m.