import_strings_data: Import string data from rds files

View source: R/import_strings_data.R

import_strings_dataR Documentation

Import string data from rds files

Description

Import string data from rds files

Usage

import_strings_data(input_path = NULL, county = "ALL", add_county_col = TRUE)

Arguments

input_path

Path to the *.rds files to be assembled. Default is the Open Data/County Datasets folder on the CMAR Operations shared drive (user must be connected to the Perennia VPN).

county

Vector of character string(s) indicating which county or counties for which to import data. For efficiency, the filter is applied to the file path, so the county name MUST be part of the file path (e.g., in the name of the file). Defaults to all counties.

add_county_col

Logical argument indicating whether to include a "COUNTY" column in the output. If TRUE, the imported data must have "WATERBODY" and "STATION" columns (which are used to join with the Area Info tab of the STRINGS TRACKING sheet so the COUNTY column can be added. Default is TRUE.

Details

Future versions may include option to import csv files.

Author(s)

Danielle Dempsey

See Also

Other OpenData CMAR: assemble_county_data(), export_county_files()


Centre-for-Marine-Applied-Research/strings documentation built on Aug. 21, 2023, 8 a.m.