Description Usage Arguments Value Examples
View source: R/get-ref-fishbase.R
Extract bibliographic information for growth parameters (linf, k, t0) from www.fishbase.org
1 | get_ref_fishbase(ref_id, mirror = "se")
|
ref_id |
vector of reference ids. |
mirror |
Character string defining the url mirror to use. Defaults to |
Dataframe
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
df <- get_growth_fishbase("Scyliorhinus canicula")
df$data_ref[df$data_ref == df$main_ref] <- NA
df <- tidyr::gather_(data = df,
key_col = "ref_type",
value_col = "ref_id",
gather_cols = c("main_ref", "data_ref"), na.rm = TRUE)
ref_id <- unique(df$ref_id)
get_ref_fishbase(ref_id)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.