Skip to contents

Setup functions

Functions to set up the sea track folder and paths.

get_all_locations()
Get All Locations
set_sea_track_folder()
Set the base directory for the sea track folder
start_logging()
Start logging to a file

Metdata functions

Functions to handle and process metadata sheets.

General metadata functions

get_master_import_path()
Get the path of the master import file
handle_partner_metadata()
Add partner provided metadata to the master import file
handle_returned_loggers()
Handle restarted loggers
load_master_import()
Load master import file for a given colony
load_partner_metadata()
Load partner provided metadata from an Excel file
save_master_sheet()
Save a master sheet to an Excel file.

Nonresponsive metadata functions

Functions to load and update non-responsive sheets

load_nonresponsive()
Load multiple nonresponsive logger sheets
load_nonresponsive_sheet()
Load nonresponsive logger sheet for current year This function loads the record of unresponsive loggers. If the filepath provided does not exist, it initialises new sheets.
save_nonresponsive()
Save multiple nonresponsive logger sheets to Excel files

Startup metadata functions

Functions to load and update startup sheets

add_loggers_from_startup()
Attempt to add logger from startup sheets
get_startup_paths()
Get paths to all startup Excel files
get_unfinished_session()
Find a logger's unfinished session in the master startup data frame This function finds the unfinished session for a given logger in the master startup data frame.
set_comments()
Set or append comments in the master_startup data frame
set_master_startup_value()
Set a value in a specific cell of master startup

Encounter metadata functions

Functions to load and update encounter data

append_encounter_data()
Append encounter data to the master import metadata

Field planning sheet functions

Functions to load and handle data from the field planning sheet

field_plan_check_locations()
Check and update locations in the field plan sheet
field_plan_combine_locations()
Combine duplicate locations/species in the field plan sheet
get_clean_field_plan()
Read and clean the field plan data
get_field_plan()
Read and process the field plan Excel sheet

Annual report

Appendix table createion

Functions to create and export annual report appendix tables

create_appendix_table()
Create a formatted flextable for the appendix table
export_appendix_table_excel()
Export the flextable to an Excel file with formatting

General utility functions

load_sheets_as_list()
Load specified sheets from an Excel file into a list of data frames