ClimateImpactLab / metacsv

Tools for documentation-aware data reading, writing, and analysis
https://metacsv.readthedocs.io/en/latest/
MIT License
2 stars 2 forks source link

Allow tabs and text colons in headers #17

Open jrising opened 7 years ago

jrising commented 7 years ago

YAML does not support tabs, but we have non-technical people making the headers, and they want tabs. This should just be a pre-processing step to replace tabs with spaces.

They also appear to like putting colons in their description lines, like:

description: Cubic splines regression with linear interactions (3 factors: log_popop,Tmean,log_GDPpc). 8 knots: -12, -7, 0, 10, 18, 23, 28, 33 . DO file location : GCP\MORTALITY\analysis\temp_AEA.do 

Again, this is non-ambiguous, so we should add it with a pre-processing step.

delgadom commented 7 years ago

are you encountering this problem mostly on CSVVs? I'm more inclined to look into the CSVV autogeneration problem than dropping our support for standard yaml

jrising commented 7 years ago

Let me connect you with the people making CSVVs and we can see if that's a workable solution.