DocNow / twarc-csv

A plugin for twarc2 for converting tweet JSON into DataFrames and exporting to CSV.
MIT License
31 stars 10 forks source link

Duplicate columns being created when using --output-columns #19

Closed igorbrigadir closed 3 years ago

igorbrigadir commented 3 years ago

eg:

twarc2 followers --limit 10 user | twarc2 csv --input-users-columns --output-columns "id,username,name"

gives:

1347718171470557185,1347718171470557185,2021-01-09T01:34:04.000Z,2021-01-09T01:34:04.000Z,AlexPineapple_,Alex 🍍
16832937,16832937,2008-10-17T23:36:09.000Z,2008-10-17T23:36:09.000Z,ColinNC,Colin
1321944084810997763,1321944084810997763,2020-10-29T22:37:16.000Z,2020-10-29T22:37:16.000Z,Ger11645317,Ger
17673550,17673550,2008-11-27T08:59:57.000Z,2008-11-27T08:59:57.000Z,mikemcc28,Mike