Skip to contents

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

Usage

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.

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.

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).

Author

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

For more details see https://dbca-wa.github.io/rivRmon/index.html the rivRmon website

Examples

if (FALSE) { # \dontrun{
data_finder(path = "Z:/DEC/MonitoringProgram/Data", river = "c")} # }