Closed jimhester closed 2 years ago
Fixes #284
For reference I made this change with the following commands
find . -name '*.csv' -exec file '{}' \; | grep 'CR line terminators' | cut -d ':' -f1 | xargs mac2unix
I just realized this was already addressed in https://github.com/fivethirtyeight/data/pull/285
These files use only Carriage Return line endings, which have not been broadly used in an operating system since 'classic' macOS, which had end of life in 2001.
Unfortunately Microsoft Excel on macOS still exports CSV with this style of line ending even in 2021.
This converts the files to use the more common unix style Line Feed line endings.