Obtain the local path to where the ECOTOX database is (or will be) placed.
get_ecotox_sqlite_file(path = get_ecotox_path(), version) get_ecotox_path()
When you have a copy of the database somewhere other than the default
It can be useful to know where the database is located on your disk. This function
returns the location as provided by
app_dir, or as
specified by you using
options(ECOTOXr_path = "mypath").
character string of the path.
get_ecotox_path will return the default directory of the database.
get_ecotox_sqlite_file will return the path to the sqlite file when it exists.
Pepijn de Vries
get_ecotox_path() ## Not run: ## This will only work if a local database exists: get_ecotox_sqlite_file() ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.