Description Usage Arguments Details Examples
Loads the data & applies some basic corrections. If reload.from.xlsx is TRUE, will read data from an appropriately-formatted xlsx file, which is time-consuming. Otherwise, will reload data from an R file, which may be the original, package-supplied database, or a user-modifed database (much faster). We recommend that users who wish to extend the database save the database as .RData files, rather than repeatedly reloading it from Excel files.
1 2 3 4 5 6 |
reload.from.xlsx |
If TRUE, reload & reprocess the data from the .csv files. Otherwise, rely on .Rdata file |
seds_fn |
Filename for sediments data, as .xlsx. SHOULD INCLUDE .xlsx extension |
seds_sheet_name |
Name of worksheet for data in sediments file |
sw_fn |
Filename for seawater data, as .xlsx SHOULD INCLUDE .xlsx extension |
sw_sheet_name |
Name of worksheet for data in seawater file |
save_data |
Whether to save the compiled data for future use (as *both* .RData and .csv files) |
all_data_fn |
Filename for saved data - SHOULD HAVE NO EXTENSION as two files will be saved (one .Rdata file, one .csv file) |
In order to reproduce the analysis from our original database, simply use ‘invisible(read_data())' - you don’t have to assign the results to a variable, because 'read_data()' creates global variables for the
1 2 | data_list <- read_data()
corrected_seds <- data_list$corrected_seds
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.