Questions tagged [twarc2]

20 questions
0
votes
1 answer

How to hydrate tweets with Python?

I want to hydrate a covid-19 tweets id CSV file. I try to follow https://theneuralblog.com/hydrating-tweet-ids/ for the hydration. I'm using Jupyter notebook, running line by line. But there is an error when I code: for tweet in…
Peg
  • 9
  • 2
0
votes
1 answer

twarc2 csv returns TypeError: applymap() got an unexpected keyword argument 'na_action'

I am trying to use twarc2 csv via the command line to convert a downloaded .jsonl file into a csv file. However running the required twarc2 csv command returns the following TypeError: applymap() got an unexpected keyword argument 'na_action' (see…
0
votes
2 answers

How to avoid dquote when using twarc?

I'm trying to get Tweets using twarc2 on terminal like this. twarc2 search --archive --start-time "2017-10-16” ‘(“#metoo”) -is:retweet lang:en' --limit 1000000 tweets.json However, after I put the request above, I get dquote> It seems that this…
yngstgy
  • 67
  • 6
-1
votes
1 answer

How to retrieve full text from tweet using twarc2

I am using twarc2 for retrieving tweets. The returned jsonl file has the following keys: dict_keys(['text', 'conversation_id', 'entities', 'author_id', 'public_metrics', 'source', 'id', 'reply_settings', 'edit_history_tweet_ids', 'created_at',…
kkgarg
  • 1,246
  • 1
  • 12
  • 28
-1
votes
1 answer

Accessing Twitter API with Twarc in Python

I am having issues with the the twarc package in python. Basically i have tried following the guide from this website. https://twarc-project.readthedocs.io/en/latest/twarc2_en_us/ However iam not able to make a simple query like twarch2 search…
1
2