|
1 | | -#' Package description |
2 | | -#' |
3 | | -#' Everything you need to know when you start using the ECOTOXr package. \if{html}{\figure{logo.png}} |
4 | | -#' |
5 | | -#' The ECOTOXr provides the means to efficiently search, extract and analyse [US EPA](https://www.epa.gov/) |
6 | | -#' [ECOTOX](https://cfpub.epa.gov/ecotox/) data, with a focus on reproducible results. Although the package |
7 | | -#' creator/maintainer is confident in the quality of this software, it is the end users sole responsibility to |
8 | | -#' assure the quality of his or her work while using this software. As per the provided license terms the package |
9 | | -#' maintainer is not liable for any damage resulting from its usage. That being said, below we present some tips |
10 | | -#' for generating reproducible results with this package. |
11 | | -#' |
12 | | -#' @section How do I get started?: |
13 | | -#' Installing this package is only the first step to get things started. You need to perform the following steps |
14 | | -#' in order to use the package to its full capacity. |
15 | | -#' |
16 | | -#' * First download a copy of the complete EPA database. This can be done by calling [download_ecotox_data()]. |
17 | | -#' This may not always work on all machines as R does not always accept the website SSL certificate from the EPA. |
18 | | -#' In those cases the zipped archive with the database files can be downloaded manually with a different (more |
19 | | -#' forgiving) browser. The files from the zip archive can be extracted to a location of choice. Alternatively, |
20 | | -#' the user could try to use `[download_ecotox_data](ssl_verifypeer = 0L)` when the download URL is trusted. |
21 | | -#' * Next, an SQLite database needs to be build from the downloaded files. This will be done automatically when |
22 | | -#' you used [download_ecotox_data()] in the previous step. When you have manually downloaded the files |
23 | | -#' you can call [build_ecotox_sqlite()] to build the database locally. |
24 | | -#' * When the previous steps have been performed successfully, you can now search the database by calling |
25 | | -#' [search_ecotox()]. You can also use [dbConnectEcotox()] to open a connection to the |
26 | | -#' database. You can query the database using this connection and any of the methods provided from the |
27 | | -#' [DBI][DBI::DBI] or [RSQLite][RSQLite::RSQLite] packages. |
28 | | -#' |
29 | | -#' @section How do I obtain reproducible results?: |
30 | | -#' Each individual user is responsible for evaluating the reproducibility of his or her work. Although |
31 | | -#' this package offers instruments to achieve reproducibility, it is not guaranteed. In order to increase the |
32 | | -#' chances of generating reproducible results, one should adhere at least to the following rules: |
33 | | -#' * Always use an official release from CRAN, and cite the version used in your analyses (`citation("ECOTOXr")`). |
34 | | -#' Different versions, may produce different end results (although we will strive for backward compatibility). |
35 | | -#' * Make sure you are working with a clean (unaltered) version of the database. When in doubt, download and build |
36 | | -#' a fresh copy of the database ([download_ecotox_data()]). Also cite the (release) version of the downloaded |
37 | | -#' database ([cite_ecotox()]), and the system operating system in which the local database was build |
38 | | -#' [get_ecotox_info()]). Or, just make sure that you never modify the database (e.g., write data to it, delete |
39 | | -#' data from it, etc.) |
40 | | -#' * In order to avoid platform dependencies it is advised to only include non-accented alpha-numerical characters in |
41 | | -#' search terms. See also [search_ecotox] and [build_ecotox_sqlite]. |
42 | | -#' * When trying to reproduce database extractions from earlier database releases, filter out additions after |
43 | | -#' that specific release. This can be done by adding output fields 'tests.modified_date', 'tests.created_date' and |
44 | | -#' 'tests.published_date' to your search and compare those with the release date of the database you are trying to |
45 | | -#' reproduce results from. |
46 | | -#' |
47 | | -#' @section Why isn't the database included in the package?: |
48 | | -#' This package doesn't come bundled with a copy of the database which needs to be downloaded the first time the |
49 | | -#' package is used. Why is this? There are several reasons: |
50 | | -#' * The database is maintained and updated by the [US EPA](https://www.epa.gov/). This process is and should be |
51 | | -#' outside the sphere of influence of the package maintainer. |
52 | | -#' * Packages on CRAN are not allowed to contain large amounts of data. Publication on CRAN is key to control |
53 | | -#' the quality of this package and therefore outweighs the convenience of having the data bundled with the package. |
54 | | -#' * The user has full control over the release version of the database that is being used. |
55 | | -#' |
56 | | -#' @section Why does this package promotes using a local copy of the ECOTOX database?: |
57 | | -#' Although this package offers experimental features for searching on-line, there are several reasons why we |
58 | | -#' opted for creating a local copy: |
59 | | -#' * The user would be restricted to the search options provided on the website ([ECOTOX](https://cfpub.epa.gov/ecotox/)). |
60 | | -#' * The on-line database doesn't come with an API that would allow for convenient interface. This is why |
61 | | -#' features implemented in this package are experimental. |
62 | | -#' * The user is not limited by an internet connection and its bandwidth. |
63 | | -#' * Not all database fields, and only a limited number of records, can be retrieved from the on-line interface. |
64 | | -#' @docType package |
65 | | -#' @name ECOTOXr |
66 | | -#' @author Pepijn de Vries |
67 | | -#' @references |
68 | | -#' Official US EPA ECOTOX website: |
69 | | -#' <https://cfpub.epa.gov/ecotox/> |
70 | | -#' |
71 | | -#' Olker, J.H., Elonen, C.M., Pilli, A., Anderson, A., Kinziger, B., Erickson, S., Skopinski, M., Pomplun, A., LaLone, C.A., |
72 | | -#' Russom, C.L. and Hoff, D. (2022), The ECOTOXicology Knowledgebase: A Curated Database of Ecologically Relevant Toxicity |
73 | | -#' Tests to Support Environmental Research and Risk Assessment. _Environ Toxicol Chem_, 41: 1520-1539. |
74 | | -NULL |
| 1 | +#' Package description |
| 2 | +#' |
| 3 | +#' Everything you need to know when you start using the ECOTOXr package. \if{html}{\figure{logo.png}} |
| 4 | +#' |
| 5 | +#' The ECOTOXr provides the means to efficiently search, extract and analyse [US EPA](https://www.epa.gov/) |
| 6 | +#' [ECOTOX](https://cfpub.epa.gov/ecotox/) data, with a focus on reproducible results. Although the package |
| 7 | +#' creator/maintainer is confident in the quality of this software, it is the end users sole responsibility to |
| 8 | +#' assure the quality of his or her work while using this software. As per the provided license terms the package |
| 9 | +#' maintainer is not liable for any damage resulting from its usage. That being said, below we present some tips |
| 10 | +#' for generating reproducible results with this package. |
| 11 | +#' |
| 12 | +#' @section How do I get started?: |
| 13 | +#' Installing this package is only the first step to get things started. You need to perform the following steps |
| 14 | +#' in order to use the package to its full capacity. |
| 15 | +#' |
| 16 | +#' * First download a copy of the complete EPA database. This can be done by calling [download_ecotox_data()]. |
| 17 | +#' This may not always work on all machines as R does not always accept the website SSL certificate from the EPA. |
| 18 | +#' In those cases the zipped archive with the database files can be downloaded manually with a different (more |
| 19 | +#' forgiving) browser. The files from the zip archive can be extracted to a location of choice. Alternatively, |
| 20 | +#' the user could try to use `[download_ecotox_data](ssl_verifypeer = 0L)` when the download URL is trusted. |
| 21 | +#' * Next, an SQLite database needs to be build from the downloaded files. This will be done automatically when |
| 22 | +#' you used [download_ecotox_data()] in the previous step. When you have manually downloaded the files |
| 23 | +#' you can call [build_ecotox_sqlite()] to build the database locally. |
| 24 | +#' * When the previous steps have been performed successfully, you can now search the database by calling |
| 25 | +#' [search_ecotox()]. You can also use [dbConnectEcotox()] to open a connection to the |
| 26 | +#' database. You can query the database using this connection and any of the methods provided from the |
| 27 | +#' [DBI][DBI::DBI] or [RSQLite][RSQLite::RSQLite] packages. |
| 28 | +#' |
| 29 | +#' @section How do I obtain reproducible results?: |
| 30 | +#' Each individual user is responsible for evaluating the reproducibility of his or her work. Although |
| 31 | +#' this package offers instruments to achieve reproducibility, it is not guaranteed. In order to increase the |
| 32 | +#' chances of generating reproducible results, one should adhere at least to the following rules: |
| 33 | +#' * Always use an official release from CRAN, and cite the version used in your analyses (`citation("ECOTOXr")`). |
| 34 | +#' Different versions, may produce different end results (although we will strive for backward compatibility). |
| 35 | +#' * Make sure you are working with a clean (unaltered) version of the database. When in doubt, download and build |
| 36 | +#' a fresh copy of the database ([download_ecotox_data()]). Also cite the (release) version of the downloaded |
| 37 | +#' database ([cite_ecotox()]), and the system operating system in which the local database was build |
| 38 | +#' [get_ecotox_info()]). Or, just make sure that you never modify the database (e.g., write data to it, delete |
| 39 | +#' data from it, etc.) |
| 40 | +#' * In order to avoid platform dependencies it is advised to only include non-accented alpha-numerical characters in |
| 41 | +#' search terms. See also [search_ecotox] and [build_ecotox_sqlite]. |
| 42 | +#' * When trying to reproduce database extractions from earlier database releases, filter out additions after |
| 43 | +#' that specific release. This can be done by adding output fields 'tests.modified_date', 'tests.created_date' and |
| 44 | +#' 'tests.published_date' to your search and compare those with the release date of the database you are trying to |
| 45 | +#' reproduce results from. |
| 46 | +#' |
| 47 | +#' @section Why isn't the database included in the package?: |
| 48 | +#' This package doesn't come bundled with a copy of the database which needs to be downloaded the first time the |
| 49 | +#' package is used. Why is this? There are several reasons: |
| 50 | +#' * The database is maintained and updated by the [US EPA](https://www.epa.gov/). This process is and should be |
| 51 | +#' outside the sphere of influence of the package maintainer. |
| 52 | +#' * Packages on CRAN are not allowed to contain large amounts of data. Publication on CRAN is key to control |
| 53 | +#' the quality of this package and therefore outweighs the convenience of having the data bundled with the package. |
| 54 | +#' * The user has full control over the release version of the database that is being used. |
| 55 | +#' |
| 56 | +#' @section Why does this package promotes using a local copy of the ECOTOX database?: |
| 57 | +#' Although this package offers experimental features for searching on-line, there are several reasons why we |
| 58 | +#' opted for creating a local copy: |
| 59 | +#' * The user would be restricted to the search options provided on the website ([ECOTOX](https://cfpub.epa.gov/ecotox/)). |
| 60 | +#' * The on-line database doesn't come with an API that would allow for convenient interface. This is why |
| 61 | +#' features implemented in this package are experimental. |
| 62 | +#' * The user is not limited by an internet connection and its bandwidth. |
| 63 | +#' * Not all database fields, and only a limited number of records, can be retrieved from the on-line interface. |
| 64 | +#' @references |
| 65 | +#' Official US EPA ECOTOX website: |
| 66 | +#' <https://cfpub.epa.gov/ecotox/> |
| 67 | +#' |
| 68 | +#' Olker, J.H., Elonen, C.M., Pilli, A., Anderson, A., Kinziger, B., Erickson, S., Skopinski, M., Pomplun, A., LaLone, C.A., |
| 69 | +#' Russom, C.L. and Hoff, D. (2022), The ECOTOXicology Knowledgebase: A Curated Database of Ecologically Relevant Toxicity |
| 70 | +#' Tests to Support Environmental Research and Risk Assessment. _Environ Toxicol Chem_, 41: 1520-1539. |
| 71 | +#' @keywords internal |
| 72 | +"_PACKAGE" |
| 73 | +NULL |
0 commit comments