import_xls | R Documentation |
This function imports SEUG long-term vegetation monitoring data from Microsoft Excel workbooks into R.
import_xls(my_xls)
my_xls |
A character string of the complete file path of the *.xls file. |
This function pulls information and data from the "SiteInfo" and "Data" sheets of the SEUG LTVMP Excel workbook and mungesthem from wide to long format.
A list with three (3) objects.
This component is a vector that contains the file name, today's date, plot ID, and year the plot was sampled.
This component is a vector that contains the year the plot was sampled, the plot ID, the sample date, and the names of the observers.
This component is a data frame in long format.
read_excel
## Not run: library("dataprocessR") # List files my_dir <- "C:/path/to/data" file_list <- list.files(my_dir, pattern = ".xls", full.names = TRUE, recursive = FALSE) # Import Excel workbook into R import_xls(my_xls = file_list[1]) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.