[#]rstats
Strategies for dealing with tidying multiple large CSV files, each of varying dimensions, which are in a list.
They all have the first 4 rows of useless text. Varying column widths.
The next several rows (could be one, could be four) are what should be column headers. No way of knowing how many there are without painstakingly going through each.
The last 6 rows are useless, and can be discarded.
I have a hacky solution but interested to hear how others would start to tackle this
=> More informations about this toot | More toots from johnmackintosh@fosstodon.org
Think I've cracked it lads.
Edge cases have been addressed, and 70 tidy (and massive) .tsv files are now in place.
Next stop, duckdb and / or parquet
=> More informations about this toot | More toots from johnmackintosh@fosstodon.org
@johnmackintosh
Glad you got it worked out.
I didn't have any good #rstats advice. But you made me think about how I'd handle it via T-SQL...
=> More informations about this toot | More toots from DaveMasonDotMe@mastodon.social
text/gemini
This content has been proxied by September (3851b).