read_clean_data: read_clean_data

Description Usage Arguments Examples

View source: R/common_functions.R

Description

Reads in clean data from excel using janitor package and readxl - Read in the data, assumes na = "", - Removes empty columns and rows - Cleans column names

Usage

1
read_clean_data(file, sheetname, ...)

Arguments

file

The location of the file you are using.

sheetname

The name of number of the sheet (as in readxl)

...

Additional parameters to pass to readxl

Examples

1
2
3
4
5
## Not run: 
library(RUncommon)
read_clean_data(filelocation, 1)

## End(Not run)

eringrand/RUncommon documentation built on Sept. 22, 2020, 10:49 p.m.