Skip to contents

All functions

andes_db_connect()
Establish a connection to the andes database
.calc_nautical_dist()
Calculate nautical distance between two geographic points #' This function calculates the great-circle distance between two points on the Earth's surface #' given their latitude and longitude using the Haversine formula.
event_from_fishing_set()
Create an OBISEvent from an Andes fishing set
event_from_mission()
Create an OBISEvent from an Andes mission
get_OBIS_archive()
Extract OBIS archive from ANDES database
get_andes_catch()
Get a catch dataframe
get_andes_mission()
Get a mission dataframe
get_andes_set()
Get a set dataframe
get_biodiv_data()
Gets biodiversity data from ANDES database
linestring_wkt()
Create a WKT linestring from two points This function creates a WKT (Well-Known Text) representation of a linestring connecting two points. Each point is represented as a list containing 'lon' and 'lat' fields, and optionally a 'z' field for elevation (a negative number representing depth).
make_set_wkt()
Create a WKT linestring for an Andes set
obis_datetime_str()
Convert a datetime to an OBIS-compliant datetime string based on precision
obis_time_str()
Convert a datetime to an OBIS-compliant time string based on precision
occurrence_from_catch()
Create an OBISOccurence from an Andes catch
row_union()
rbind, but allow different columns names Make a union of the rows filling missing columns with NA https://stackoverflow.com/questions/3402371/combine-two-data-frames-by-rows-rbind-when-they-have-different-sets-of-columns