Skip to content
This repository was archived by the owner on May 14, 2018. It is now read-only.
This repository was archived by the owner on May 14, 2018. It is now read-only.

test_na and fix_na for levels as white space #31

@jsonbecker

Description

@jsonbecker

One thing I run into a bunch is a blank field (most often with white space) used as missing. This is especially annoying with factors, which then creates a level for the blank space.

Currently, white space alone is not considered a NA_aliases (see here).

Should test_na and fix_na be updated to treat white space as missing, or perhaps should there be a new function that tests for empty levels or blank fields and the fix modifies to NA?

I'm happy to contribute to implement either.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions