Questions about getCSV

good spot.

If csv files should be outside of data directory, then where should they be (/path/to/source/_data)? Seems a bit weird to exclude csv support in data/*.

Do we use absolute or relative path in getCSV “,” “/path/to/source/_data/events.csv” or getCSV “,” “_data/events.csv”?

I think so as well, and I don’t know why that is. It may be a quirk that isn’t changed as it doesn’t affect many folks. Does anyone know why that limitation exists?

I’m not sure off the top of my head, but if I were figuring it out I’d just go and test both ways. So I’ll recommend that. :slight_smile:

getCSV “,” “_data/events.csv” works.

1 Like