Is it possible within readr
package to read in data and specify a single data type across all columns? Similar to base::read.table
with colClasses = "character"
or using the as.is
argument.
Unless the task, data headers, file encoding, etc are well defined ahead of analysis I prefer to write my loaders without changing the datatypes and then process the schema later downstream. Always open to suggestion on how other folks think about things.