Download ECOTOX Data Files
wqb_download_epa_ecotox.Rd
Download the ECOTOX data files from their FTP website. The default is to download the most recent version of the data.
Arguments
- file_path
A string of the file path location to save the downloaded files. The default is your current working directory.
- version
An integer to indicate which version you want to download. The default is 1 which downloads the most recent version.
- ask
Turn off question when set to FALSE.
- quiet
Turn off message when quiet set to TRUE.
Details
You have the option of downloading older version of the data but only up to the four most recent version. The most recent version is set as 1 and the oldest version is version 4.
The downloaded folder will contain various files that are needed to build the database.
You must have a working internet connection to run this function successfully.
References
US EPA ECOTOX website: https://cfpub.epa.gov/ecotox/
Olker, J. H., Elonen, C. M., Pilli, A., Anderson, A., Kinziger, B., Erickson, S., Skopinski, M., Pomplun, A., LaLone, C. A., Russom, C. L., & Hoff, D. (2022). The ECOTOXicology Knowledgebase: A Curated Database of Ecologically Relevant Toxicity Tests to Support Environmental Research and Risk Assessment. Environmental Toxicology and Chemistry, 41(6):1520-1539. https://doi.org/10.1002/etc.5324