This drives me nuts... So, I used wget to download a TAR to EC2, then decompressed TAR, then decompressed enclosed BZ2's, then took a small portion of unpacked JSONs and ran the parser -- empty table with heading again :( Exactly the same routine worked fine if executed on my own computer. Totally frustrated...
When I open any JSON extracted on my computer, it always starts with:
"{"created_at":"Fri Nov 01 06:00:00 +0000 2013","id":396154638434435072,"id_str":"396154638434435072",..." -- seems correct, as tweet's first key is "created_at".
However, the same JSON extracted on EC2, always starts with:
"{"retweet_count":0,"in_reply_to_screen_name":null,"text":"Photo: http:\/\/t.co\/JmDhpX8V","in_reply_to_status_id_str":null,..." -- obviously incorrect, as tweet's first key shouldn't be "retweet_count".
Any feedback on this would be greatly appreciated.
When I open any JSON extracted on my computer, it always starts with:
"{"created_at":"Fri Nov 01 06:00:00 +0000 2013","id":396154638434435072,"id_str":"396154638434435072",..." -- seems correct, as tweet's first key is "created_at".
However, the same JSON extracted on EC2, always starts with:
"{"retweet_count":0,"in_reply_to_screen_name":null,"text":"Photo: http:\/\/t.co\/JmDhpX8V","in_reply_to_status_id_str":null,..." -- obviously incorrect, as tweet's first key shouldn't be "retweet_count".
Any feedback on this would be greatly appreciated.