order_cp_cols: Order Core Program data columns

View source: R/order_cp_cols.R

order_cp_colsR Documentation

Order Core Program data columns

Description

Order Core Program data columns in this particular order: node, lagoon, station, season, date_time, water_column_position, (insert data columns), station_name, latitude, longitude, station_depth, habitat_type, station_sampling_priority. Note that station_depth is optional.

Usage

order_cp_cols(data, type)

Arguments

data

(data.frame) A data.frame containing Core Program data. Columns names need to be named according to standard CP column names. Use bleutils::rename_attributes prior to running this to rename columns to what's in metadata.

type

(character) Type of CP data. Choose from "water", "sediment", or "mooring". Use "sediment" for biota data as well.


atn38/BLE-LTER-utils documentation built on May 5, 2024, 12:30 p.m.