README-not.md

ots

R-check

ots is an R client to retrieve data from various ocean time series datasets, including:

Jump over to the issues page to suggest data sets to include or comment on ongoing data source integration progress.

What's the point of getting data from the web in R? This way we only have to solve the problem of how to efficiently get a dataset once, then you can benefit from that. In addition, this should allow you to get any changes to the dataset that appear, or corrections. Last, getting data programatically in R should get you one step closer to a reproducible workflow, one that makes science easier primarily for yourself, and for others using your work.

Install

install.packages("devtools")
devtools::install_github("ropensci/ots")
library("ots")

Easy integration with dplyr

library('dplyr')
tbl_df(bats("zooplankton")$data) %>% 
  filter(sieve_size > 1000) %>% 
  group_by(cruise) %>% 
  summarise(mean_water_vol = mean(water_vol))

BATS - Zooplankton dataset

bats("zooplankton")

BATS - Production dataset

bats("production")

HOT dataset

hot()

Channels Islands National Park kelp data

kelp("benthic_cover")

CALCOFI data

calcofi('hydro_cast')

UOPG data

Various datasets available through this source - in this example getting data from Biowatt, and getting the meteorology data. Note that we still need to fix the column names...

(biowatt_met <- uopg(dataset = 'biowatt', type = "meteorology"))

More coming...

Meta

ropensci



ropensci/ots documentation built on Sept. 12, 2022, 2:01 p.m.