query_pfts.Rd
Retrieve PFT ID, name, and type from BETY
query_pfts(dbcon, pft_names, modeltype = NULL, strict = FALSE)
Database connection object
character vector of PFT names
character. If specified, only returns PFTs matching this modeltype. If NULL, considers all modeltypes.
(Logical) If `TRUE`, throw an error if any of the input `pft_names/ids` or `traits` are missing from the output. If `FALSE` (default), only throw a warning.
`data.frame` containing PFT ID (`id`), type (`pft_type`), and name (`name`).