View source: R/read_functions.R
| col_rep | R Documentation |
col_rep() allows for a simple specification of column types for use in read
functions. Enter in a letter followed by a number to repeat that type that number
of times.
Supports output for use in readr and readxl, and other functions
that take column type specifications in the same format.
col_rep(str, spec_type = "readr")
str |
String specifying the expansion. |
spec_type |
String. Either "readr" for short letter notation (e.g.,
|
An expanded string or a vector of column type specifications.
col_rep("c3n2dl3-2c")
col_rep("c3n2dl3-2c", "readxl")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.