get_ecotox_info: Get information on the local ECOTOX database when available

View source: R/database_access.r

get_ecotox_infoR Documentation

Get information on the local ECOTOX database when available

Description

[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.

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().

Value

Returns a vector of characters, containing a information on the selected local ECOTOX database.

Author(s)

Pepijn de Vries

Examples

## Not run: 
## Show info on the current database (only works when one is downloaded and build):
get_ecotox_info()

## End(Not run)

ECOTOXr documentation built on Oct. 10, 2023, 1:05 a.m.