forked from cjbarrie/sicss_22
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path01_count_tweets_examples.qmd
97 lines (57 loc) · 2.3 KB
/
01_count_tweets_examples.qmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
---
title: "Using APIs"
subtitle: "SICSS, 2022"
author: Christopher Barrie
format:
revealjs:
chalkboard: true
editor: visual
---
## Introduction
- Why count tweets?
- Test your API call
- **Of substantive interest**
- But... design considerations (normalizing)
## Counting tweets
- As barometer of public opinion
![](images/euref.png))\
Source: [here](https://blogs.lse.ac.uk/europpblog/2016/06/22/twitter-brexit-remainers-poised-to-bite)
## Counting tweets
- As measure of issue salience
![](images/mpclim.png){fig-align="right" width="400"}
Source: [here](https://github.com/cjbarrie/mp_enviro/blob/main/Climate_Protest_public.pdf)
## Counting tweets
- As archival source
![](images/storywrang.png){fig-align="right" width="400"}
Source: [here](https://www.science.org/doi/10.1126/sciadv.abe6534) and [here](https://storywrangling.org/)
## Design considerations
- Is this a barometer of *offline* opinion...?
## Design considerations
- Is this a barometer of *offline* opinion...?
![](images/twitrep.png){fig-align="right" width="400"}
Source: [here](https://journals.sagepub.com/doi/10.1177/2053168017720008)
## Design considerations
- Is this an appropriate measure of issue salience?
- What % of MPs are on Twitter?
## Design considerations
- Is this an appropriate measure of issue salience?
- What % of MPs are on Twitter?
- Answer: \~90% (see this [useful website](https://www.politics-social.com/))
- Coverage questions similar to survey design:
- Does my sample capture population of interest?
- What is the coverage?
- Is there temporal bias?
- Is there (equivalent) non-response?
## Design considerations
- Is this an appropriate measure of issue salience?
- Does this capture online *and* offline dimensions?
- Is communication here domain-specific?
- How could we tell?
## Group work
1. Come up with a question answerable using `get_tweet_counts()`
2. Formulate code needed to request that data
3. (If access granted) make the API call to get data
4. Consider limitations + design considerations
- What bias might be built in?
- Does this illuminate dynamics outside online domain?
- What is the coverage like?