Add deployment_id, waterbody, and station columns
adcp_add_opendata_cols.RdAdd deployment_id, waterbody, and station columns
Usage
adcp_add_opendata_cols(
dat,
metadata = NULL,
deployment_id = NULL,
waterbody = NULL,
station = NULL
)Arguments
- dat
Data frame of ACDP data in long format, as returned by
adcp_pivot_longer().- metadata
Data frame with metadata information for the deployment in
dat(e.g., a row from the NSDFA tracking sheet). Must include columnsDepl_ID,Waterbody, andStation. Option to use default valuemetadata = NULLand provide the required values in the remaining arguments.- deployment_id
Unique ID assigned to each deployment. Not used if
metadataargument is specified.- waterbody
Waterbody in which ADCP was deployed. Not used if
metadataargument is specified.- station
Specific area in which ADCP was deployed. Not used if
metadataargument is specified.