R/dna.R

Defines functions dna_records

Documented in dna_records

#' Extract DNA records from occurrence data with a dna column.
#'
#' @usage dna_records(df, fields = "id")
#' @param df the occurrence dataframe.
#' @param fields columns from the occurrence dataframe to include.
#' @return The DNA records.
#' @export
dna_records <- function(df, fields = "id") {
  .Deprecated("unnest_extension")
  unnest_extension(df, "DNADerivedData", fields)
}

Try the robis package in your browser

Any scripts or data that you put into this service are public.

robis documentation built on Sept. 25, 2022, 1:06 a.m.