Skip to content

Error removing blank values in character strings  #38

@mbcarlos96

Description

@mbcarlos96

For variables with PII search strings in the variable name or label, blanks are removed from the variable so that only non-missing values are written to the output file:
data_no_blanks <- data[data[varname]!="",]

For date variables that are formatted as character strings (e.g. "2016-08-02"), this produces the following error:

Error in charToDate(x) : character string is not in a standard unambiguous format

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions