Skip to contents

[Stable] Get information on how and when the local ECOTOX database was build.

Usage

get_ecotox_info(path = get_ecotox_path(), version)

Arguments

path

A character string with the path to the location of the local database (default is get_ecotox_path()).

version

A character string 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().

Author

Pepijn de Vries

Examples

if (FALSE) { # \dontrun{
## Show info on the current database (only works when one is downloaded and build):
get_ecotox_info()
} # }