carpentries-incubator / twitter-with-twarc

Introduction to Harvesting Twitter Data with Twarc
https://carpentries-incubator.github.io/twitter-with-twarc/
Other
4 stars 4 forks source link

ep 2: bergis challenge #22

Closed jonjab closed 2 years ago

jonjab commented 2 years ago

needs a solution.

harvest ecodatascience timeline.

kristi-sara commented 2 years ago

we're just getting the wordcount right? I think we've added the stuff for the timeline and its stalled at pandas dataframe (did we even need this for !twarc wc?)

jonjab commented 2 years ago

The challenge is these 3 questions: Can you find the file called “bjules.jsonl”? Download a timeline for one of the twitter accounts from this list: NCEAS “@ucsb_nceas”, EcoDataScience “@ecodatasci”, R-Ladies Santa Barbara “@RLadiesSB”, spatial@ucsb “@spatialUCSB”, UCSB Collaboratory “@libratorybot”

What do you notice about the file that was created from using the timeline command?

No word count. Pls write the solution for ecodatascience. Part of the solution should say "if you included the @ sign, you probably got an error"

ameliameyer commented 2 years ago
  1. Can you find the file called bjules.jsonl?
    • Remember, we ran the following code a little earlier in the episode:
    • !twarc2 timeline BergisJules > 'raw_data/bjules.jsonl'
    • Our output tag raw_data/bjules.jsonl indicates that our file bjules.jsonl is located in the folder raw_data.
ameliameyer commented 2 years ago
  1. Download a timeline for one of the twitter accounts from this list: NCEAS “@ucsb_nceas”, EcoDataScience “@ecodatasci”, R-Ladies Santa Barbara “@RLadiesSB”, spatial@ucsb “@spatialUCSB”, UCSB Collaboratory “@libratorybot”
    • !twarc2 timeline ucsb_nceas ucsb_nceas_tweets.jsonl
    • !twarc2 timeline ecodatasci ecodatasci_tweets.jsonl
    • !twarc2 timeline RLadiesSB RLadiesSB_tweets.jsonl
    • !twarc2 timeline spatialUCSB spatialUCSB_tweets.jsonl
    • !twarc2 timeline libratorybot libratorybot_tweets.jsonl Note: if you included the @ sign, you probably got an error
ameliameyer commented 2 years ago
  1. What do you notice about the file that was created using the timeline command?

I'm not entirely sure what you're looking for with this one, but

It's a jsonl file...