Skip to contents

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, habitat_type, station_sampling_priority.

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::reaname_attributes for this to work.

type

(character) Type of CP data. Choose from "water", "sediment", or "mooring". This affects the columns present.