Skip to content

hard-coded removal of special characters in historical_report_purge() #2

@ablaette

Description

@ablaette

We have relaxed the regex for data cleaning successively. Now we have these steps in historical_report_purge():

  data[["Message"]] <- gsub("\\&", "+", data[["Message"]])
  data[["Message"]] <- gsub("<", "", data[["Message"]])
  data[["Message"]] <- gsub(">", "", data[["Message"]])
  data[["Message"]] <- gsub("[^-0-9a-zA-ZäöüÄÖÜß\\.,!\\?:;#/ ]+", "", data[["Message"]])

It would be better to have a arguments/options rather than this hard-coded approach.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions