-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
Description
WHY
Today, the only output stream format available is .njson (i.e. a file with n lines, each line being a dictionnary).
This format has two downsides:
- It does not allow us to easily conduct preliminary analysis on the output data:
.njsonfiles cannot be directly forwarded to non-tech users, and cannot be put into apandasDataFrame without undergoing preliminary transformations. - Some APIs natively return data in a
.csvformat: in these cases, we have to convert each line to a dictionnary, which can occasion parsing errors.
HOW
Create a .csv streamer.