Manipulating Core Program data
Functions for common tasks regarding BLE’s Core Program data
-
add_cp_cols()
- Add columns relevant to BLE LTER Core Program
Add columns: station name, lat/lon, habitat type, given BLE LTER Core Program station code
-
update_cp_stations()
- Compare the station information to "canonical" source in Box and update if needed. Meant to be run occassionally from An's PC and within the bleutils Rproject to update the version of station info that this package uses to append new columns, for example.
-
infer_season()
- Infer BLE LTER field campaign season from date or date-times
-
order_cp_cols()
- Order Core Program data columns
-
sort_cp_rows()
- Sort Core Program data
Other useful IM tasks
Functions for common tasks BLE IM team might need
-
init_datapkg()
- Create folder structure for a new BLE LTER data package ID
Create these following items: folder structure, R project, reusable R script from template
-
init_script()
- Generate R processing script from template
-
append_units()
- Append units to column names
-
rename_attributes()
- Rename data columns according to metadata.
-
export_personnel()
- Connect to metabase and query for personnel list.
Datasets included with the package
-
cp_data
- example of BLE LTER Core Program data with various formatting issues. use to test functions in this package
-
stations
- BLE LTER Core Program, information on core sampling stations