Write new truffle data to the database
write_db_new_truffe.Rd
This function writes new truffle data to the specified database table.
Usage
write_db_new_truffe(
conn = connect_db(),
theidoak,
date_found,
weight,
estimation,
comment,
digest_ = Sys.time()
)
Arguments
- conn
A connection to the database.
- theidoak
The ID of the oak tree (oak) where the truffle was found.
- date_found
The date the truffle was found.
- weight
The weight of the truffle in grams.
- estimation
logical indicating whether the weight was estimated or not.
- comment
Any additional comments related to the truffle.
- digest_
The digest of the truffle.