Get information on the local ECOTOX database when available
Source:R/database_access.r
get_ecotox_info.RdUsage
get_ecotox_info(path = get_ecotox_path(), version)Arguments
- path
A
characterstring with the path to the location of the local database (default isget_ecotox_path()).- version
A
characterstring referring to the release version of the database you wish to locate. It should have the same format as the date in the EPA download link, which is month, day, year, separated by underscores ("%m_%d_%Y"). When missing, the most recent available copy is selected automatically.
Value
Returns a vector of characters, containing a information on the selected local ECOTOX database.
Details
Get information on how and when the local ECOTOX database was build. This information is retrieved
from the log-file that is (optionally) stored with the local database when calling download_ecotox_data()
or build_ecotox_sqlite().
See also
Other database-access-functions:
check_ecotox_availability(),
check_ecotox_build(),
check_ecotox_version(),
cite_ecotox(),
dbConnectEcotox(),
get_ecotox_sqlite_file(),
list_ecotox_fields()
Examples
if (check_ecotox_availability()) {
## Show info on the current database (only works when one is downloaded and build):
get_ecotox_info()
}