check_ecotox_version {ECOTOXr} | R Documentation |
Check if the locally build database is up to date
Description
Checks the version of the database available online
from the EPA against the specified version (latest by default) of the database build
locally. Returns
TRUE
when they are the same.
Usage
check_ecotox_version(path = get_ecotox_path(), version, verbose = TRUE, ...)
Arguments
path |
When you have a copy of the database somewhere other than the default
directory ( |
version |
A |
verbose |
A |
... |
Arguments passed to |
Value
Returns a logical
value invisibly indicating whether the locally build
is up to date with the latest release by the EPA.
Author(s)
Pepijn de Vries
See Also
Other database-access-functions:
check_ecotox_availability()
,
check_ecotox_build()
,
cite_ecotox()
,
dbConnectEcotox()
,
get_ecotox_info()
,
get_ecotox_sqlite_file()
,
list_ecotox_fields()
Other database-build-functions:
build_ecotox_sqlite()
,
check_ecotox_build()
,
download_ecotox_data()
,
get_ecotox_url()
Examples
if (check_ecotox_availability()) {
check_ecotox_version()
}