if (check_ecotox_availability()) {
df <- search_ecotox(
list(
latin_name = list(
terms = c("Skeletonema", "Daphnia"),
method = "contains"
),
chemical_name = list(
terms = "benzene",
method = "exact"
)
), list_ecotox_fields("full"))
df_num <-
process_ecotox_numerics(df, add_units = TRUE, warn = FALSE)
}
Run the code above in your browser using DataLab