Get variables from CalCOFI API

get_variables()

Value

data frame with columns:

  • category: category, e.g. "Oceanographic"

  • table_field: unique identifier of the variable given by the form of table.field

  • plot_title: title used in a typical time series plot output

  • plot_label: y-axis label used in a typical time series plot output

Examples

get_variables()
#> # A tibble: 3 × 6
#>   category      table_field          plot_title        plot_la…¹ plot_…² color…³
#>   <chr>         <chr>                <chr>             <chr>     <chr>   <chr>  
#> 1 Oceanographic ctd_bottles.t_degc   Temperature       Temperat… red     Reds   
#> 2 Oceanographic ctd_bottles.salinity Salinity          Salinity… purple  Purples
#> 3 Oceanographic ctd_bottles.o2sat    Oxygen Saturation Oxygen p… blue    Blues  
#> # … with abbreviated variable names ¹​plot_label, ²​plot_color, ³​color_palette