View source: R/suggest_workflow.R
suggest_workflow | R Documentation |
Checks whether a data.frame
or tibble
conforms to Darwin
Core Standard and suggests how to standardise a data frame that is not
standardised to minimum Darwin Core requirements. This is intended as
users' go-to function for figuring out how to get started standardising
their data.
Output provides a summary to users about which column names match valid Darwin Core terms, the minimum required column names/terms (and which ones are missing), and a suggested workflow to add any missing terms.
suggest_workflow(.df)
.df |
A |
Invisibly returns the input data.frame
/tibble
, but primarily
called for the side-effect of running check functions on that input.
df <- tibble::tibble(
scientificName = c("Callocephalon fimbriatum", "Eolophus roseicapilla"),
latitude = c(-35.310, "-35.273"), # deliberate error for demonstration purposes
longitude = c(149.125, 149.133),
eventDate = c("14-01-2023", "15-01-2023"),
status = c("present", "present")
)
# Summarise whether your data conforms to Darwin Core Standard.
# See a suggested workflow to amend or add missing information.
df |>
suggest_workflow()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.