Description Usage Arguments Details Value See Also
dl_metadata
function loads the metadata sheets from xls/xlsx file.
1 2 | dl_metadata(file_name, sheet_name, si_code_loc = NULL,
parent_logger = "test")
|
file_name |
Character vector indicating the name of the xls/xlsx file containing the metadata. |
sheet_name |
Character vector indicating the name of the sheet to be
loaded. It must be one of |
si_code_loc |
Name of the object containing the site metadata, in order
to obtain si_code variable to include it in other metadata objects. Default
to |
This function make use of dplyr, tidyr and readxl packages in order to retrieve and format the metadata. It's intended to be used as first step to load the metadata and start the metadata quality check.
The function returns a data_frame with the corresponding metadata (site, stand, species, plant or environmental) in "wide" format, with metadata variables as columns, ready to be feeded to quality check functions.
Other Data Loading Functions: dl_data_col_classes
,
dl_data
, dl_dec_char_detect
,
dl_get_si_code
,
dl_na_char_generator
,
qc_as_timestamp
,
remove_dupcols
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.