View source: R/load-prepare_deploy_sheet.R
prepare_deploy_sheet | R Documentation |
convert_otn_to_att
Loads the OTN receiver deployment metadata sheet to prepare it for use in
convert_otn_to_att
prepare_deploy_sheet(
path,
header_line = 5,
sheet_name = 1,
combine_arr_stn = TRUE
)
path |
the path to the deployment sheet |
header_line |
what line the headers are on |
sheet_name |
the sheet name or number containing the metadata |
combine_arr_stn |
whether or not to to join the station and array columns. Format depends on OTN node |
The function takes the path to the deployment sheet, what line to start
reading from, and what sheet in the excel file to use. It converts column names
to be used by convert_otn_to_att
.
a data.frame created from the excel file.
Ryan Gosse
#--------------------------------------------------
# EXAMPLE #1 - loading from NSBS simplified Deployments
library(glatos)
deploy_path <- system.file("extdata", "hfx_deploy_simplified.xlsx",
package = "glatos"
)
deploy <- prepare_deploy_sheet(deploy_path,
header_line = 1,
sheet_name = 1
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.