data_tidy: Tidy data from Excel file

Description Usage Arguments Details Value See Also Examples

Description

Tidy hourly data from AWS Excel file

Usage

1
data_tidy(data.clean)

Arguments

data.clean

data frame processed by data_clean

Details

This function restructures the data in the tidy format, standardizes the name of the variables, adds the AWS identifier code to a new variable named "site". The tidy format is such that every value belongs to a variable and an observation. Please refer to tidy data for more details.

Value

data frame in tidy format

See Also

xls_read, data_clean

Other data processing: data_clean, varnames_recode

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## Not run: 
if(interactive()){
xfiles_l <- list.files(
  "vignettes/dvd_xls_files",
  recursive = TRUE,
  full.names = TRUE
)
xls_file <- sample(xfiles_l, 1)
datatidy <- data_tidy(data_clean(xls_read(xls_file)))
str(datatidy)
#View(datatidy)
 }

## End(Not run)

lhmet/rinmetxls documentation built on May 28, 2019, 11:33 a.m.