Skip to contents

Authentication

otn_login()
Authenticate to an Ocean Tracking Network server.
otn_set_credentials()
Installs your OTN username and password in your .Renviron file for repeated use.

Listing Project and Extract Files

otn_project_files()
List OTN project files.
otn_extract_files()
List OTN extract files.

Downloading and Uploading files

otn_download()
Download file(s) from an OTN-style Plone server.
otn_upload()
Upload a file to the Plone CMS

Summarize data extracts

Functions to download and prepare data for otndo reports

otn_receiver_summary()
Create summary reports of receiver project data from the OTN data push.
otn_tag_summary()
Create summary reports of receiver project data from the OTN data push.

Data from the summary widget

Polls the data from the OTN summary widget. Not all nodes have this add-on installed, so be aware that they may not work.

otn_search_code()
Search OTN database by project code.
otn_search_contact()
Search OTN database by project contact.
otn_search_country()
Search OTN database by project country.
otn_search_institution()
Search OTN database by institution.
otn_search_node()
Search OTN database by local node.
otn_search_species()
Search OTN database by project species
otn_list_contacts()
Retrieve OTN contact list.
otn_list_countries()
Retrieve OTN country list.
otn_list_institutions()
Retrieve OTN institution list.
otn_list_projects()
Retrieve OTN project list.
otn_list_species()
Retrieve OTN species list.
otn_list_stats()
Retrieve OTN network statistics.

Internals

.otn_server_url()
Set the OTN Plone instance with which you wish to interact.
.otn_api()
Call OTN API endpoints.
.otn_files()
Return files associated with an OTN project.
.otn_list()
Internal function to list small OTN databases.
.otn_search()
Internal function for searching OTN projects.
build_namespace()
Build project namespace