Build a Carob HTML from data supplied in memory

make_report(records, metadata = NULL, issues = NULL, group = "",
  path = NULL, file = NULL, check = "nogeo", open = FALSE)

Arguments

records

data.frame. Wide-format observation records.

metadata

optional data.frame with one row, or a list, with Carob metadata fields.

issues

optional data.frame with columns check and msg from check_terms. If missing, check_terms is run.

group

character. Group name for checks, evaluation, and script links.

path

character. Directory for the HTML file. Defaults to tempdir().

file

character. Output file name.

check

character. Check level passed to check_terms when issues is not supplied.

open

logical. Open the report in a browser?

Value

The path to the written HTML file (invisibly).

See also

Examples

if (FALSE) { # \dontrun{
records <- utils::read.csv(system.file("ex/records.csv", package = "carobiner"))
make_report(records, open = TRUE)
} # }