A nice feature to the col_factor() function in col_types would be to allow empty arguments.
This should be treated similar to data$variable <- factor(data$variable) on character variables after using read_csv. That is, col_factor() would be stringsAsFactors=TRUE for the specific variables/columns.
A nice feature to the
col_factor()function incol_typeswould be to allow empty arguments.This should be treated similar to
data$variable <- factor(data$variable)on character variables after usingread_csv. That is,col_factor()would bestringsAsFactors=TRUEfor the specific variables/columns.