Skip to content

col_factor() that automatically figures out levels #497

Description

@tvedebrink

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featurea feature request or enhancement

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions