Converts readable names to clean ids that are easier to handle in R. Replaces all punctuation and spaces for an underscore, and transforms all uppercase letters to lowercase.
Examples
simplify_string(c(" Dirty_name. to Clean.#$", "#$another complicated. Name"))
#> [1] "dirty_name_to_clean" "another_complicated_name"