check_ecotox_availability: Check whether a ECOTOX database exists locally

View source: R/init.r

check_ecotox_availabilityR Documentation

Check whether a ECOTOX database exists locally

Description

[Stable] Tests whether a local copy of the US EPA ECOTOX database exists in get_ecotox_path().

Usage

check_ecotox_availability(target = get_ecotox_path())

Arguments

target

A character string specifying the path where to look for the database file.

Details

When arguments are omitted, this function will look in the default directory (get_ecotox_path()). However, it is possible to build a database file elsewhere if necessary.

Value

Returns a logical value indicating whether a copy of the database exists. It also returns a files attribute that lists which copies of the database are found.

Author(s)

Pepijn de Vries

See Also

Other database-access-functions: check_ecotox_build(), check_ecotox_version(), cite_ecotox(), dbConnectEcotox(), get_ecotox_info(), get_ecotox_sqlite_file(), list_ecotox_fields()

Examples

check_ecotox_availability()

ECOTOXr documentation built on April 12, 2025, 1:27 a.m.