dbfile.check.Rd
List files associated with a container and machine exist in `dbfiles` table
dbfile.check(
type,
container.id,
con,
hostname = PEcAn.remote::fqdn(),
machine.check = TRUE,
return.all = FALSE
)
The type of `dbfile`, as a character. Must be either "Input", "Posterior", or "Model".
the ID of container type. E.g. if `type` is "Input", this will correspond to the `id` column from the `inputs` table.
database connection object
the name of the host where the file is stored, this will default to the name of the current machine
setting to check for file on named host, otherwise will check for any file given container id
(Logical) If `TRUE`, return all files. If `FALSE`, return only the most recent files.
`data.frame` with the id, filename and pathname of all the files that are associated
if (FALSE) { # \dontrun{
dbfile.check("Input", 7, dbcon)
} # }