Normalize (or rename) headers
Created by: pudo
This is specifically with regards to csvsql
, where loading a CSV file with Some manually entered - header (TM)
will give you a data structure that is really hard to query. But I think having the ability to essentially slugify and transliterate a headers would be useful for other tools like csvclean
aswell.
I tried looking into how this could be done, and it looks like parse_column_identifiers
(here) could be an appropriate place, but that would require pulling the option through many intermediate functions. Is there a better place?