worksheet_to_table: Read a worksheet (from Excel or googlesheets) the same way as...

Description Usage Arguments

View source: R/table.R

Description

Read a worksheet (from Excel or googlesheets) the same way as readxl, but slower. Assumes a well behaved table of data.

Usage

1
2
worksheet_to_table(dat, col_names = TRUE, col_types = NULL, na = "",
  skip = 0)

Arguments

dat

A linen worksheet object

col_names

TRUE (the default) indicating we should use the first row as column names, FALSE, indicating we should generate names (X1, X2, ..., Xn) or a character vector of names to apply.

col_types

Either NULL (the default) indicating we should guess the column types or a vector of column types (values must be "blank", "numeric", "date" or "text").

na

Values indicating missing values (if different from blank). Not yet used.

skip

Number of rows to skip.


rsheets/linen documentation built on May 28, 2019, 3:32 a.m.