trumpcare_tracker 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -3
- data/Rakefile +81 -54
- data/lib/trumpcare_tracker.rb +42 -33
- data/lib/trumpcare_tracker/version.rb +1 -1
- data/trumpcare_homepage_report.csv +49 -0
- data/trumpcare_tracker.gemspec +1 -0
- data/trumpcare_tweet_report.csv +48 -48
- data/twitter_handles.csv +48 -0
- metadata +18 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '0564368e53916eb11501e4dc0ca27b3b15a42764'
|
4
|
+
data.tar.gz: 74f8f1b9cebfc35a49300f46c94058486d5ee1f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3cd07feb4102fcd6a9e404e22983fb89d5c26ee365c75e1f47292abc029ed1506e7207a7caae20af695e3c84d561f460e6ef476b7de88e14ca74004b523e2405
|
7
|
+
data.tar.gz: 9fb68b6fc37bd924b85f1daf59deb6554dbe14ef42f23215d00e7adf8d315ed5a846161b0126da8d31733b0111770b734baea67163937c7887f9c0436221416d
|
data/README.md
CHANGED
@@ -20,7 +20,7 @@ Or install it yourself as:
|
|
20
20
|
|
21
21
|
## Usage
|
22
22
|
|
23
|
-
|
23
|
+
Register your app with Twitter and set the following environment variables corresponding to your Twitter keys
|
24
24
|
```
|
25
25
|
TCT_CONSUMER_KEY
|
26
26
|
TCT_CONSUMER_SECRET
|
@@ -30,7 +30,9 @@ TCT_ACCESS_TOKEN_SECRET
|
|
30
30
|
then
|
31
31
|
|
32
32
|
```
|
33
|
-
bundle exec rake
|
33
|
+
bundle exec rake export # Audit tweets and export to CSV
|
34
|
+
|
35
|
+
bundle exec rake tweet # Audit tweets and post to Twitter timeline with Senator's phone numbers
|
34
36
|
```
|
35
37
|
|
36
38
|
## Development
|
@@ -41,7 +43,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
41
43
|
|
42
44
|
## Contributing
|
43
45
|
|
44
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
46
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/msimonborg/trumpcare-tracker.
|
45
47
|
|
46
48
|
|
47
49
|
## License
|
data/Rakefile
CHANGED
@@ -2,6 +2,8 @@
|
|
2
2
|
|
3
3
|
require 'bundler/gem_tasks'
|
4
4
|
require 'csv'
|
5
|
+
require 'nokogiri'
|
6
|
+
require 'open-uri'
|
5
7
|
require 'pyr'
|
6
8
|
require 'trumpcare_tracker'
|
7
9
|
|
@@ -12,82 +14,107 @@ task default: %i[spec rubocop]
|
|
12
14
|
|
13
15
|
desc 'Output a report of Senate Democrats Trumpcare tweets'
|
14
16
|
task :export do
|
15
|
-
|
16
|
-
|
17
|
-
|
17
|
+
csv_tweet_report = CSV.generate do |csv|
|
18
|
+
csv << %w[
|
19
|
+
senator
|
20
|
+
official_user_name
|
21
|
+
alt_user_name
|
22
|
+
tweets_in_last_seven_days
|
23
|
+
trumpcare_tweets
|
24
|
+
tct_percentage
|
25
|
+
russia_tweets
|
26
|
+
rt_percentage
|
27
|
+
tct_to_rt_ratio
|
28
|
+
trumpcare_tweet_urls
|
29
|
+
russia_tweet_urls
|
30
|
+
]
|
31
|
+
audit_tweets(reps) { |tracker| csv << tracker.to_h.values }
|
18
32
|
end
|
19
33
|
|
20
|
-
|
21
|
-
|
22
|
-
r.chamber = 'upper'
|
34
|
+
File.open('trumpcare_tweet_report.csv', 'w') do |file|
|
35
|
+
file.write csv_tweet_report
|
23
36
|
end
|
37
|
+
end
|
24
38
|
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
csv << %w[
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
+
desc 'Search Senators\' official homepage for TrumpCare and Russia Mentions'
|
40
|
+
task :scrape_homepage do
|
41
|
+
csv_homepage_report = CSV.generate do |csv|
|
42
|
+
csv << %w[senator url trumpcare_mentions russia_mentions trumpcare_to_russia_ratio]
|
43
|
+
reps.each do |rep|
|
44
|
+
doc = Nokogiri::HTML(open(rep.url))
|
45
|
+
trumpcare_mentions_count = mentions_mapper(doc, TrumpcareTracker.trumpcare_keyword_regex).count
|
46
|
+
russia_mentions_count = mentions_mapper(doc, TrumpcareTracker.russia_keyword_regex).count
|
47
|
+
csv << [
|
48
|
+
rep.official_full,
|
49
|
+
rep.url,
|
50
|
+
trumpcare_mentions_count,
|
51
|
+
russia_mentions_count,
|
52
|
+
TrumpcareTracker.ratio(trumpcare_mentions_count, russia_mentions_count)
|
39
53
|
]
|
40
|
-
|
54
|
+
puts "Scraped #{rep.official_full}'s homepage"
|
55
|
+
end
|
41
56
|
end
|
42
57
|
|
43
|
-
File.open('
|
44
|
-
file.write
|
58
|
+
File.open('trumpcare_homepage_report.csv', 'w') do |file|
|
59
|
+
file.write csv_homepage_report
|
45
60
|
end
|
46
61
|
end
|
47
62
|
|
63
|
+
def mentions_mapper(doc, regex)
|
64
|
+
doc.text.split("\n").select { |string| string.downcase.match?(regex) }
|
65
|
+
end
|
66
|
+
|
48
67
|
desc 'Audit and tweet results'
|
49
68
|
task :tweet do
|
50
|
-
|
69
|
+
audit_tweets(reps) do |tracker, rep|
|
70
|
+
tracker.to_tweet
|
71
|
+
tracker.client.update(
|
72
|
+
"#{rep.official_full}\n"\
|
73
|
+
"#{rep.office_locations.map { |off| "#{off.city} - #{off.phone}" }.join("\n")}"
|
74
|
+
)
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
78
|
+
def reps
|
79
|
+
democrats = PYR.reps do |r|
|
51
80
|
r.democrat = true
|
52
81
|
r.chamber = 'upper'
|
53
82
|
end
|
54
83
|
|
55
|
-
|
84
|
+
independents = PYR.reps do |r|
|
56
85
|
r.independent = true
|
57
86
|
r.chamber = 'upper'
|
58
87
|
end
|
59
88
|
|
60
|
-
|
89
|
+
democrats.objects.to_a + independents.objects.to_a
|
90
|
+
end
|
61
91
|
|
62
|
-
|
63
|
-
|
64
|
-
tracker.client.update(
|
65
|
-
"#{rep.official_full}\n"\
|
66
|
-
"#{rep.office_locations.map { |off| "#{off.city} - #{off.phone}" }.join("\n")}"
|
67
|
-
)
|
68
|
-
end
|
92
|
+
def handles
|
93
|
+
@_handles ||= CSV.read('twitter_handles.csv', headers: true)
|
69
94
|
end
|
70
95
|
|
71
|
-
def
|
96
|
+
def audit_rep(i, rep, &block)
|
97
|
+
puts "Sending requests to Twitter API for #{rep.official_full}"
|
98
|
+
alt_screen_name = handles.detect do |handle|
|
99
|
+
handle['official'].downcase.strip == rep.twitter.downcase.strip
|
100
|
+
end['personal/campaign']
|
101
|
+
tracker = TrumpcareTracker.new(rep.official_full, rep.twitter, alt_screen_name)
|
102
|
+
tracker.audit
|
103
|
+
block.call(tracker, rep) if block_given?
|
104
|
+
puts "#{i + 1} down. Pausing for 45 seconds to avoid hitting API rate limit."
|
105
|
+
sleep(45)
|
106
|
+
rescue Twitter::Error::TooManyRequests
|
107
|
+
puts 'Rate limit exceeded, waiting 2 minutes'
|
108
|
+
sleep(300)
|
109
|
+
audit_rep(i, rep, &block)
|
110
|
+
rescue Twitter::Error => e
|
111
|
+
puts e.message
|
112
|
+
audit_rep(i, rep, &block)
|
113
|
+
end
|
114
|
+
|
115
|
+
def audit_tweets(reps, &block)
|
72
116
|
reps.each_with_index do |rep, i|
|
73
|
-
|
74
|
-
|
75
|
-
tracker = TrumpcareTracker.new(rep.twitter)
|
76
|
-
next if rep.twitter.nil?
|
77
|
-
tracker.audit
|
78
|
-
yield(tracker, rep) if block_given?
|
79
|
-
puts "#{i + 1} down. Pausing for 45 seconds to avoid hitting API rate limit."
|
80
|
-
sleep(45)
|
81
|
-
rescue Twitter::Error::TooManyRequests
|
82
|
-
puts 'Rate limit exceeded, waiting 5 minutes'
|
83
|
-
sleep(300)
|
84
|
-
puts "Sending requests to Twitter API for #{rep.official_full}"
|
85
|
-
tracker = TrumpcareTracker.new(rep.twitter)
|
86
|
-
next if rep.twitter.nil?
|
87
|
-
tracker.audit
|
88
|
-
yield(tracker, rep) if block_given?
|
89
|
-
puts "#{i + 1} down. Pausing for 45 seconds to avoid hitting API rate limit."
|
90
|
-
sleep(45)
|
91
|
-
end
|
117
|
+
next if rep.twitter.nil?
|
118
|
+
audit_rep(i, rep, &block)
|
92
119
|
end
|
93
|
-
end
|
120
|
+
end
|
data/lib/trumpcare_tracker.rb
CHANGED
@@ -11,10 +11,29 @@ class TrumpcareTracker
|
|
11
11
|
ACCESS_TOKEN = ENV['TCT_ACCESS_TOKEN']
|
12
12
|
ACCESS_TOKEN_SECRET = ENV['TCT_ACCESS_TOKEN_SECRET']
|
13
13
|
|
14
|
-
attr_reader :user
|
14
|
+
attr_reader :user, :screen_name, :alt_screen_name
|
15
15
|
|
16
|
-
def
|
17
|
-
|
16
|
+
def self.ratio(numerator, denominator)
|
17
|
+
return 0.0 if denominator.zero?
|
18
|
+
(numerator / denominator.to_f).round(4)
|
19
|
+
end
|
20
|
+
|
21
|
+
def self.percentage(numerator, denominator)
|
22
|
+
(ratio(numerator, denominator) * 100).round(2)
|
23
|
+
end
|
24
|
+
|
25
|
+
def self.trumpcare_keyword_regex
|
26
|
+
/(ahca|trumpcare|healthcare|health|care|drug|medication|prescription|vaccine|obamacare)/
|
27
|
+
end
|
28
|
+
|
29
|
+
def self.russia_keyword_regex
|
30
|
+
/(russia|comey|sessions|mueller|fbi|flynn|obstruction of justice|collusion|putin|kremlin)/
|
31
|
+
end
|
32
|
+
|
33
|
+
def initialize(user, screen_name, alt_screen_name = nil)
|
34
|
+
@user = user
|
35
|
+
@screen_name = client.user screen_name
|
36
|
+
@alt_screen_name = client.user alt_screen_name if alt_screen_name
|
18
37
|
end
|
19
38
|
|
20
39
|
# Instantiate a Twitter Rest Client with API authorization
|
@@ -28,14 +47,15 @@ class TrumpcareTracker
|
|
28
47
|
end
|
29
48
|
|
30
49
|
def timeline
|
31
|
-
@_timeline ||= fetch_timeline
|
50
|
+
@_timeline ||= (fetch_timeline(screen_name) + fetch_timeline(alt_screen_name))
|
32
51
|
end
|
33
52
|
|
34
53
|
# Make two cursored API calls to fetch the 400 most recent tweets
|
35
|
-
def fetch_timeline
|
36
|
-
|
54
|
+
def fetch_timeline(screen_name)
|
55
|
+
return [] unless screen_name
|
56
|
+
timeline = client.user_timeline(screen_name, exclude_replies: true, count: 200)
|
37
57
|
timeline + client.user_timeline(
|
38
|
-
|
58
|
+
screen_name,
|
39
59
|
exclude_replies: true,
|
40
60
|
max_id: timeline.last.id - 1,
|
41
61
|
count: 200
|
@@ -58,19 +78,11 @@ class TrumpcareTracker
|
|
58
78
|
end
|
59
79
|
|
60
80
|
def trumpcare_tweets
|
61
|
-
@_trumpcare_tweets ||= reduce_by_keywords(trumpcare_keyword_regex)
|
62
|
-
end
|
63
|
-
|
64
|
-
def trumpcare_keyword_regex
|
65
|
-
/(ahca|trumpcare|healthcare|health|care|drug|medication|prescription|vaccine|obamacare)/
|
81
|
+
@_trumpcare_tweets ||= reduce_by_keywords(self.class.trumpcare_keyword_regex)
|
66
82
|
end
|
67
83
|
|
68
84
|
def russia_tweets
|
69
|
-
@_russia_tweets ||= reduce_by_keywords(russia_keyword_regex)
|
70
|
-
end
|
71
|
-
|
72
|
-
def russia_keyword_regex
|
73
|
-
/(russia|comey|sessions|mueller|fbi|flynn|obstruction of justice|collusion|putin|kremlin)/
|
85
|
+
@_russia_tweets ||= reduce_by_keywords(self.class.russia_keyword_regex)
|
74
86
|
end
|
75
87
|
|
76
88
|
def audit
|
@@ -78,7 +90,7 @@ class TrumpcareTracker
|
|
78
90
|
end
|
79
91
|
|
80
92
|
def to_s
|
81
|
-
@_to_s ||= "@#{
|
93
|
+
@_to_s ||= "@#{screen_name.screen_name}'s last 7 days\n#{recent_tweets_count} tweets\n"\
|
82
94
|
"#{trumpcare_tweets_count} TrumpCare - #{trumpcare_tweets_percentage}%\n"\
|
83
95
|
"#{russia_tweets_count} Russia - #{russia_tweets_percentage}%\n"\
|
84
96
|
"#{trumpcare_to_russia_tweets_ratio} TrumpCare tweets for every Russia tweet"
|
@@ -97,30 +109,22 @@ class TrumpcareTracker
|
|
97
109
|
end
|
98
110
|
|
99
111
|
def trumpcare_tweets_percentage
|
100
|
-
percentage(trumpcare_tweets.count, recent_tweets.count)
|
112
|
+
self.class.percentage(trumpcare_tweets.count, recent_tweets.count)
|
101
113
|
end
|
102
114
|
|
103
115
|
def russia_tweets_percentage
|
104
|
-
percentage(russia_tweets.count, recent_tweets.count)
|
116
|
+
self.class.percentage(russia_tweets.count, recent_tweets.count)
|
105
117
|
end
|
106
118
|
|
107
119
|
def trumpcare_to_russia_tweets_ratio
|
108
|
-
ratio(trumpcare_tweets.count, russia_tweets.count)
|
109
|
-
end
|
110
|
-
|
111
|
-
def ratio(numerator, denominator)
|
112
|
-
return 0.0 if denominator.zero?
|
113
|
-
(numerator / denominator.to_f).round(4)
|
114
|
-
end
|
115
|
-
|
116
|
-
def percentage(numerator, denominator)
|
117
|
-
(ratio(numerator, denominator) * 100).round(2)
|
120
|
+
self.class.ratio(trumpcare_tweets.count, russia_tweets.count)
|
118
121
|
end
|
119
122
|
|
120
123
|
def to_h
|
121
124
|
{
|
122
|
-
senator: user
|
123
|
-
|
125
|
+
senator: user,
|
126
|
+
official_user_name: screen_name.screen_name,
|
127
|
+
alt_user_name: alt_screen_name_screen_name,
|
124
128
|
tweets_in_last_seven_days: recent_tweets.count,
|
125
129
|
trumpcare_tweet_count: trumpcare_tweets.count,
|
126
130
|
tct_percentage: trumpcare_tweets_percentage,
|
@@ -132,7 +136,12 @@ class TrumpcareTracker
|
|
132
136
|
}
|
133
137
|
end
|
134
138
|
|
139
|
+
def alt_screen_name_screen_name
|
140
|
+
return '' unless alt_screen_name
|
141
|
+
alt_screen_name.screen_name
|
142
|
+
end
|
143
|
+
|
135
144
|
def to_tweet
|
136
|
-
client.update(".#{
|
145
|
+
client.update(".#{self}")
|
137
146
|
end
|
138
147
|
end
|
@@ -0,0 +1,49 @@
|
|
1
|
+
senator,url,trumpcare_mentions,russia_mentions,trumpcare_to_russia_ratio
|
2
|
+
Sherrod Brown,https://www.brown.senate.gov,4,1,4.0
|
3
|
+
Tammy Baldwin,https://www.baldwin.senate.gov,1,0,0.0
|
4
|
+
Michael F. Bennet,https://www.bennet.senate.gov,1,5,0.2
|
5
|
+
Richard Blumenthal,https://www.blumenthal.senate.gov,1,0,0.0
|
6
|
+
Cory A. Booker,https://www.booker.senate.gov,1,2,0.5
|
7
|
+
Maria Cantwell,https://www.cantwell.senate.gov,2,0,0.0
|
8
|
+
Benjamin L. Cardin,https://www.cardin.senate.gov,0,1,0.0
|
9
|
+
Thomas R. Carper,https://www.carper.senate.gov/public,5,0,0.0
|
10
|
+
"Robert P. Casey, Jr.",https://www.casey.senate.gov,1,2,0.5
|
11
|
+
Christopher A. Coons,https://www.coons.senate.gov,2,1,2.0
|
12
|
+
Catherine Cortez Masto,https://www.cortezmasto.senate.gov,0,0,0.0
|
13
|
+
Richard J. Durbin,https://www.durbin.senate.gov,1,1,1.0
|
14
|
+
Joe Donnelly,https://www.donnelly.senate.gov,2,1,2.0
|
15
|
+
Tammy Duckworth,https://www.duckworth.senate.gov,0,1,0.0
|
16
|
+
Dianne Feinstein,https://www.feinstein.senate.gov,0,0,0.0
|
17
|
+
Al Franken,https://www.franken.senate.gov,8,2,4.0
|
18
|
+
Kirsten E. Gillibrand,https://www.gillibrand.senate.gov,0,0,0.0
|
19
|
+
Mazie K. Hirono,https://www.hirono.senate.gov,0,0,0.0
|
20
|
+
Martin Heinrich,https://www.heinrich.senate.gov,4,3,1.3333
|
21
|
+
Heidi Heitkamp,https://www.heitkamp.senate.gov/public,2,1,2.0
|
22
|
+
Kamala D. Harris,https://www.harris.senate.gov,0,2,0.0
|
23
|
+
Margaret Wood Hassan,https://www.hassan.senate.gov,0,1,0.0
|
24
|
+
Amy Klobuchar,https://www.klobuchar.senate.gov,0,0,0.0
|
25
|
+
Tim Kaine,https://www.kaine.senate.gov,4,0,0.0
|
26
|
+
Patrick J. Leahy,https://www.leahy.senate.gov,1,4,0.25
|
27
|
+
Edward J. Markey,https://www.markey.senate.gov,7,0,0.0
|
28
|
+
Robert Menendez,https://www.menendez.senate.gov,1,1,1.0
|
29
|
+
Patty Murray,https://www.murray.senate.gov/public,6,0,0.0
|
30
|
+
Christopher Murphy,https://www.murphy.senate.gov,0,1,0.0
|
31
|
+
Claire McCaskill,https://www.mccaskill.senate.gov,1,0,0.0
|
32
|
+
Jeff Merkley,https://www.merkley.senate.gov,1,1,1.0
|
33
|
+
"Joe Manchin, III",https://www.manchin.senate.gov/public,4,4,1.0
|
34
|
+
Bill Nelson,https://www.billnelson.senate.gov,1,0,0.0
|
35
|
+
Gary C. Peters,https://www.peters.senate.gov,0,0,0.0
|
36
|
+
Jack Reed,https://www.reed.senate.gov,3,1,3.0
|
37
|
+
Charles E. Schumer,https://www.schumer.senate.gov,0,0,0.0
|
38
|
+
Debbie Stabenow,https://www.stabenow.senate.gov,1,0,0.0
|
39
|
+
Jeanne Shaheen,https://www.shaheen.senate.gov,2,0,0.0
|
40
|
+
Brian Schatz,https://www.schatz.senate.gov,3,1,3.0
|
41
|
+
Jon Tester,https://www.tester.senate.gov,3,0,0.0
|
42
|
+
Tom Udall,https://www.tomudall.senate.gov,1,0,0.0
|
43
|
+
Chris Van Hollen,https://www.vanhollen.senate.gov,0,1,0.0
|
44
|
+
Ron Wyden,https://www.wyden.senate.gov,7,1,7.0
|
45
|
+
Sheldon Whitehouse,https://www.whitehouse.senate.gov,0,1,0.0
|
46
|
+
Mark R. Warner,https://www.warner.senate.gov,0,0,0.0
|
47
|
+
Elizabeth Warren,https://www.warren.senate.gov,0,5,0.0
|
48
|
+
"Angus S. King, Jr.",https://www.king.senate.gov,3,0,0.0
|
49
|
+
Bernard Sanders,https://www.sanders.senate.gov,0,5,0.0
|
data/trumpcare_tracker.gemspec
CHANGED
@@ -27,6 +27,7 @@ Gem::Specification.new do |spec|
|
|
27
27
|
|
28
28
|
spec.add_dependency 'twitter', '~> 6.1.0'
|
29
29
|
spec.add_dependency 'pyr', '~> 0.4.0'
|
30
|
+
spec.add_dependency 'nokogiri', '~> 1.8.0'
|
30
31
|
|
31
32
|
spec.add_development_dependency 'bundler', '~> 1.14'
|
32
33
|
spec.add_development_dependency 'rake', '~> 10.0'
|
data/trumpcare_tweet_report.csv
CHANGED
@@ -1,48 +1,48 @@
|
|
1
|
-
senator,
|
2
|
-
Sherrod Brown,SenSherrodBrown,
|
3
|
-
|
4
|
-
Michael F. Bennet,SenBennetCO,
|
5
|
-
Richard Blumenthal,SenBlumenthal,
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
Tammy Duckworth,SenDuckworth,
|
16
|
-
|
17
|
-
|
18
|
-
Kirsten Gillibrand,SenGillibrand,20,4,20.0,
|
19
|
-
|
20
|
-
Martin Heinrich,MartinHeinrich,
|
21
|
-
|
22
|
-
Kamala Harris,SenKamalaHarris,
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
McCaskill
|
31
|
-
|
32
|
-
|
33
|
-
Bill Nelson,SenBillNelson,2,0,0.0,0,0.0,0.0,[],[]
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
Tom Udall,SenatorTomUdall,
|
42
|
-
Chris Van Hollen,ChrisVanHollen,29,7,24.14,
|
43
|
-
Ron Wyden,RonWyden,
|
44
|
-
Sheldon Whitehouse,SenWhitehouse,
|
45
|
-
Mark Warner,MarkWarner,
|
46
|
-
Elizabeth Warren,SenWarren,
|
47
|
-
|
48
|
-
|
1
|
+
senator,official_user_name,alt_user_name,tweets_in_last_seven_days,trumpcare_tweets,tct_percentage,russia_tweets,rt_percentage,tct_to_rt_ratio,trumpcare_tweet_urls,russia_tweet_urls
|
2
|
+
Sherrod Brown,SenSherrodBrown,SherrodBrown,27,4,14.81,2,7.41,2.0,"[""https://twitter.com/SenSherrodBrown/status/875471571795800068"", ""https://twitter.com/SenSherrodBrown/status/875425340449071105"", ""https://twitter.com/SenSherrodBrown/status/875365733785624576"", ""https://twitter.com/SenSherrodBrown/status/873253266343297024""]","[""https://twitter.com/SenSherrodBrown/status/875124293834821632"", ""https://twitter.com/SenSherrodBrown/status/874710437388070916""]"
|
3
|
+
Tammy Baldwin,SenatorBaldwin,tammybaldwin,51,16,31.37,0,0.0,0.0,"[""https://twitter.com/SenatorBaldwin/status/875440148137345025"", ""https://twitter.com/SenatorBaldwin/status/875399400209756160"", ""https://twitter.com/SenatorBaldwin/status/875383150683209729"", ""https://twitter.com/SenatorBaldwin/status/875372226706591744"", ""https://twitter.com/SenatorBaldwin/status/874703598579572736"", ""https://twitter.com/SenatorBaldwin/status/874660849360752640"", ""https://twitter.com/SenatorBaldwin/status/874660497488064513"", ""https://twitter.com/SenatorBaldwin/status/874655050936791040"", ""https://twitter.com/SenatorBaldwin/status/874641043895062529"", ""https://twitter.com/SenatorBaldwin/status/874018155307438080"", ""https://twitter.com/SenatorBaldwin/status/873572216650203136"", ""https://twitter.com/SenatorBaldwin/status/873284317153181696"", ""https://twitter.com/SenatorBaldwin/status/873195860473126912"", ""https://twitter.com/tammybaldwin/status/875481395849723906"", ""https://twitter.com/tammybaldwin/status/874689491683954688"", ""https://twitter.com/tammybaldwin/status/874338090218926084""]",[]
|
4
|
+
Michael F. Bennet,SenBennetCO,BennetForCO,18,4,22.22,0,0.0,0.0,"[""https://twitter.com/SenBennetCO/status/875455830719479808"", ""https://twitter.com/SenBennetCO/status/874778431765921792"", ""https://twitter.com/SenBennetCO/status/874700013863141376"", ""https://twitter.com/SenBennetCO/status/874697611403571200""]",[]
|
5
|
+
Richard Blumenthal,SenBlumenthal,"",24,0,0.0,8,33.33,0.0,[],"[""https://twitter.com/SenBlumenthal/status/874722748685332480"", ""https://twitter.com/SenBlumenthal/status/874716381236875264"", ""https://twitter.com/SenBlumenthal/status/874628200239841281"", ""https://twitter.com/SenBlumenthal/status/874260851607392257"", ""https://twitter.com/SenBlumenthal/status/873301620167200769"", ""https://twitter.com/SenBlumenthal/status/873256821770866688"", ""https://twitter.com/SenBlumenthal/status/872994317148848128"", ""https://twitter.com/SenBlumenthal/status/872971313522126848""]"
|
6
|
+
Cory A. Booker,SenBookerOffice,CoryBooker,105,10,9.52,8,7.62,1.25,"[""https://twitter.com/SenBookerOffice/status/875463755102121984"", ""https://twitter.com/SenBookerOffice/status/875434114828185601"", ""https://twitter.com/SenBookerOffice/status/875418592510136320"", ""https://twitter.com/CoryBooker/status/875407562153349141"", ""https://twitter.com/CoryBooker/status/874912433428627457"", ""https://twitter.com/CoryBooker/status/874908333974720513"", ""https://twitter.com/CoryBooker/status/874725838851366912"", ""https://twitter.com/CoryBooker/status/873970504163577857"", ""https://twitter.com/CoryBooker/status/873964192839200768"", ""https://twitter.com/CoryBooker/status/873238448479629312""]","[""https://twitter.com/SenBookerOffice/status/874952078996770816"", ""https://twitter.com/CoryBooker/status/874911864056139780"", ""https://twitter.com/CoryBooker/status/874910341364318215"", ""https://twitter.com/CoryBooker/status/874909068871303168"", ""https://twitter.com/CoryBooker/status/874907948736278528"", ""https://twitter.com/CoryBooker/status/874769129923907584"", ""https://twitter.com/CoryBooker/status/874727016368615424"", ""https://twitter.com/CoryBooker/status/874723391814717445""]"
|
7
|
+
Maria Cantwell,SenatorCantwell,"",43,21,48.84,0,0.0,0.0,"[""https://twitter.com/SenatorCantwell/status/875450341734498304"", ""https://twitter.com/SenatorCantwell/status/875442794537656322"", ""https://twitter.com/SenatorCantwell/status/875424925661761536"", ""https://twitter.com/SenatorCantwell/status/875402527130439681"", ""https://twitter.com/SenatorCantwell/status/875396737715679232"", ""https://twitter.com/SenatorCantwell/status/875375349290475521"", ""https://twitter.com/SenatorCantwell/status/875163952165961728"", ""https://twitter.com/SenatorCantwell/status/875133503804813313"", ""https://twitter.com/SenatorCantwell/status/875113221438545920"", ""https://twitter.com/SenatorCantwell/status/875069078456512513"", ""https://twitter.com/SenatorCantwell/status/875063951549235201"", ""https://twitter.com/SenatorCantwell/status/874767842452885504"", ""https://twitter.com/SenatorCantwell/status/874736891681271810"", ""https://twitter.com/SenatorCantwell/status/874732380698836992"", ""https://twitter.com/SenatorCantwell/status/874726330448973826"", ""https://twitter.com/SenatorCantwell/status/874722548793167872"", ""https://twitter.com/SenatorCantwell/status/874706941255196673"", ""https://twitter.com/SenatorCantwell/status/874691843455238144"", ""https://twitter.com/SenatorCantwell/status/874691337978761216"", ""https://twitter.com/SenatorCantwell/status/874686922379210752"", ""https://twitter.com/SenatorCantwell/status/874685299254624256""]",[]
|
8
|
+
Benjamin L. Cardin,SenatorCardin,BenCardinforMD,39,15,38.46,4,10.26,3.75,"[""https://twitter.com/SenatorCardin/status/875531041582329857"", ""https://twitter.com/SenatorCardin/status/875436145487872000"", ""https://twitter.com/SenatorCardin/status/875434334378971137"", ""https://twitter.com/SenatorCardin/status/875432665184432129"", ""https://twitter.com/SenatorCardin/status/875426142282493952"", ""https://twitter.com/SenatorCardin/status/875424550120542209"", ""https://twitter.com/SenatorCardin/status/875422854506045440"", ""https://twitter.com/SenatorCardin/status/875418958576353281"", ""https://twitter.com/SenatorCardin/status/874697901963915265"", ""https://twitter.com/SenatorCardin/status/874697361632751616"", ""https://twitter.com/SenatorCardin/status/873574228569853954"", ""https://twitter.com/SenatorCardin/status/873573471812374528"", ""https://twitter.com/SenatorCardin/status/873571008652955648"", ""https://twitter.com/SenatorCardin/status/873567652786163712"", ""https://twitter.com/SenatorCardin/status/873567606523015168""]","[""https://twitter.com/SenatorCardin/status/875094838663938049"", ""https://twitter.com/SenatorCardin/status/875091440333987841"", ""https://twitter.com/SenatorCardin/status/874754823492685825"", ""https://twitter.com/SenatorCardin/status/874322312778182657""]"
|
9
|
+
Thomas R. Carper,SenatorCarper,TomCarperforDE,17,1,5.88,0,0.0,0.0,"[""https://twitter.com/SenatorCarper/status/874341512120807424""]",[]
|
10
|
+
"Robert P. Casey, Jr.",SenBobCasey,Bob_Casey,57,29,50.88,1,1.75,29.0,"[""https://twitter.com/SenBobCasey/status/875457567509536769"", ""https://twitter.com/SenBobCasey/status/875402070379171841"", ""https://twitter.com/SenBobCasey/status/875395298582986752"", ""https://twitter.com/SenBobCasey/status/875387941815812096"", ""https://twitter.com/SenBobCasey/status/875366397878161408"", ""https://twitter.com/SenBobCasey/status/875363141236011008"", ""https://twitter.com/SenBobCasey/status/875343503785684992"", ""https://twitter.com/SenBobCasey/status/875090639943331846"", ""https://twitter.com/SenBobCasey/status/875084991352496128"", ""https://twitter.com/SenBobCasey/status/875074568515452929"", ""https://twitter.com/SenBobCasey/status/875060748841517057"", ""https://twitter.com/SenBobCasey/status/874711069469667329"", ""https://twitter.com/SenBobCasey/status/874663249605779463"", ""https://twitter.com/SenBobCasey/status/874639095837978624"", ""https://twitter.com/SenBobCasey/status/874413000509329408"", ""https://twitter.com/SenBobCasey/status/874412723647512576"", ""https://twitter.com/SenBobCasey/status/874308022427897856"", ""https://twitter.com/SenBobCasey/status/874307494822195204"", ""https://twitter.com/SenBobCasey/status/873200857503977473"", ""https://twitter.com/SenBobCasey/status/873199112749035521"", ""https://twitter.com/SenBobCasey/status/873192344996245505"", ""https://twitter.com/SenBobCasey/status/873191966770692097"", ""https://twitter.com/SenBobCasey/status/873190817862692864"", ""https://twitter.com/SenBobCasey/status/873190613432360960"", ""https://twitter.com/SenBobCasey/status/873189421939654656"", ""https://twitter.com/SenBobCasey/status/873189061594423296"", ""https://twitter.com/SenBobCasey/status/873183405923594240"", ""https://twitter.com/SenBobCasey/status/873182779491725314"", ""https://twitter.com/SenBobCasey/status/873182748973817856""]","[""https://twitter.com/SenBobCasey/status/875095670537023488""]"
|
11
|
+
Christopher A. Coons,SenCoonsOffice,"",0,0,0.0,0,0.0,0.0,[],[]
|
12
|
+
Catherine Cortez Masto,SenCortezMasto,"",29,8,27.59,0,0.0,0.0,"[""https://twitter.com/SenCortezMasto/status/875480538529775616"", ""https://twitter.com/SenCortezMasto/status/875464302244671488"", ""https://twitter.com/SenCortezMasto/status/875455831130513408"", ""https://twitter.com/SenCortezMasto/status/875392312645472257"", ""https://twitter.com/SenCortezMasto/status/874737411204554753"", ""https://twitter.com/SenCortezMasto/status/874669604597051392"", ""https://twitter.com/SenCortezMasto/status/874664131168804866"", ""https://twitter.com/SenCortezMasto/status/874399163110178816""]",[]
|
13
|
+
Richard J. Durbin,SenatorDurbin,DickDurbin,61,11,18.03,7,11.48,1.5714,"[""https://twitter.com/SenatorDurbin/status/875402312579256321"", ""https://twitter.com/SenatorDurbin/status/874796660769030148"", ""https://twitter.com/SenatorDurbin/status/874687650900344834"", ""https://twitter.com/SenatorDurbin/status/873218844059422720"", ""https://twitter.com/DickDurbin/status/875524079654248448"", ""https://twitter.com/DickDurbin/status/874826482283143168"", ""https://twitter.com/DickDurbin/status/874448743273312258"", ""https://twitter.com/DickDurbin/status/874340577365590018"", ""https://twitter.com/DickDurbin/status/873313776929562626"", ""https://twitter.com/DickDurbin/status/873285581480095745"", ""https://twitter.com/DickDurbin/status/873231881877291010""]","[""https://twitter.com/SenatorDurbin/status/874744236738039811"", ""https://twitter.com/SenatorDurbin/status/874380754591133697"", ""https://twitter.com/DickDurbin/status/874826482283143168"", ""https://twitter.com/DickDurbin/status/874770111277797377"", ""https://twitter.com/DickDurbin/status/874687064482213889"", ""https://twitter.com/DickDurbin/status/873376176106086404"", ""https://twitter.com/DickDurbin/status/873014543756210176""]"
|
14
|
+
Joe Donnelly,SenDonnelly,"",26,1,3.85,1,3.85,1.0,"[""https://twitter.com/SenDonnelly/status/874299887713734656""]","[""https://twitter.com/SenDonnelly/status/875459186850770944""]"
|
15
|
+
Tammy Duckworth,SenDuckworth,TammyforIL,31,2,6.45,3,9.68,0.6667,"[""https://twitter.com/SenDuckworth/status/875440049424171008"", ""https://twitter.com/SenDuckworth/status/874750360266706948""]","[""https://twitter.com/SenDuckworth/status/875090768716812290"", ""https://twitter.com/SenDuckworth/status/874776130561159169"", ""https://twitter.com/SenDuckworth/status/872981389318205441""]"
|
16
|
+
Dianne Feinstein,SenFeinstein,"",37,6,16.22,10,27.03,0.6,"[""https://twitter.com/SenFeinstein/status/875455002579353600"", ""https://twitter.com/SenFeinstein/status/875385742566064128"", ""https://twitter.com/SenFeinstein/status/875369464346406912"", ""https://twitter.com/SenFeinstein/status/874682018457628673"", ""https://twitter.com/SenFeinstein/status/874326892064772096"", ""https://twitter.com/SenFeinstein/status/873268513334583296""]","[""https://twitter.com/SenFeinstein/status/875479719214542849"", ""https://twitter.com/SenFeinstein/status/874762788366934016"", ""https://twitter.com/SenFeinstein/status/874720941498134528"", ""https://twitter.com/SenFeinstein/status/874695931488337920"", ""https://twitter.com/SenFeinstein/status/874637636144648192"", ""https://twitter.com/SenFeinstein/status/874073456421339136"", ""https://twitter.com/SenFeinstein/status/874056394512715780"", ""https://twitter.com/SenFeinstein/status/874039820716306432"", ""https://twitter.com/SenFeinstein/status/873297329167708160"", ""https://twitter.com/SenFeinstein/status/873284812282494980""]"
|
17
|
+
Al Franken,SenFranken,alfranken,34,9,26.47,9,26.47,1.0,"[""https://twitter.com/SenFranken/status/875459779606360064"", ""https://twitter.com/SenFranken/status/875404589129977857"", ""https://twitter.com/SenFranken/status/875341071953408000"", ""https://twitter.com/SenFranken/status/874679011124932609"", ""https://twitter.com/SenFranken/status/874637069171273729"", ""https://twitter.com/SenFranken/status/874377258286317568"", ""https://twitter.com/SenFranken/status/874042482706849792"", ""https://twitter.com/SenFranken/status/873234267928748033"", ""https://twitter.com/SenFranken/status/873229252577169408""]","[""https://twitter.com/SenFranken/status/874774415250272256"", ""https://twitter.com/SenFranken/status/874750353392246784"", ""https://twitter.com/SenFranken/status/874698628509650944"", ""https://twitter.com/SenFranken/status/874419316275511296"", ""https://twitter.com/SenFranken/status/874396818557325316"", ""https://twitter.com/SenFranken/status/873978322492981248"", ""https://twitter.com/SenFranken/status/873978178502615042"", ""https://twitter.com/SenFranken/status/873978166016081922"", ""https://twitter.com/SenFranken/status/873247810921123841""]"
|
18
|
+
Kirsten E. Gillibrand,SenGillibrand,"",20,4,20.0,2,10.0,2.0,"[""https://twitter.com/SenGillibrand/status/875426925895974912"", ""https://twitter.com/SenGillibrand/status/875380526781263873"", ""https://twitter.com/SenGillibrand/status/874753904705249281"", ""https://twitter.com/SenGillibrand/status/872972665556000769""]","[""https://twitter.com/SenGillibrand/status/875380526781263873"", ""https://twitter.com/SenGillibrand/status/874753904705249281""]"
|
19
|
+
Mazie K. Hirono,maziehirono,"",14,1,7.14,3,21.43,0.3333,"[""https://twitter.com/maziehirono/status/875007416882143232""]","[""https://twitter.com/maziehirono/status/875002968713678850"", ""https://twitter.com/maziehirono/status/873955887815241729"", ""https://twitter.com/maziehirono/status/873176684341719041""]"
|
20
|
+
Martin Heinrich,MartinHeinrich,"",51,8,15.69,10,19.61,0.8,"[""https://twitter.com/MartinHeinrich/status/875450704797720576"", ""https://twitter.com/MartinHeinrich/status/875363953928523777"", ""https://twitter.com/MartinHeinrich/status/874688452364824577"", ""https://twitter.com/MartinHeinrich/status/874685673260941312"", ""https://twitter.com/MartinHeinrich/status/874685225783242753"", ""https://twitter.com/MartinHeinrich/status/874675378094301184"", ""https://twitter.com/MartinHeinrich/status/874644704587075584"", ""https://twitter.com/MartinHeinrich/status/874299445759930368""]","[""https://twitter.com/MartinHeinrich/status/875401884709859328"", ""https://twitter.com/MartinHeinrich/status/874762041122279428"", ""https://twitter.com/MartinHeinrich/status/874762008356413443"", ""https://twitter.com/MartinHeinrich/status/874747804522086400"", ""https://twitter.com/MartinHeinrich/status/874699037747838977"", ""https://twitter.com/MartinHeinrich/status/874697452762411009"", ""https://twitter.com/MartinHeinrich/status/874669966053789696"", ""https://twitter.com/MartinHeinrich/status/874278437795631105"", ""https://twitter.com/MartinHeinrich/status/873290774246547456"", ""https://twitter.com/MartinHeinrich/status/873271744987095040""]"
|
21
|
+
Heidi Heitkamp,SenatorHeitkamp,"",33,5,15.15,1,3.03,5.0,"[""https://twitter.com/SenatorHeitkamp/status/875422657654644737"", ""https://twitter.com/SenatorHeitkamp/status/875352670126706688"", ""https://twitter.com/SenatorHeitkamp/status/874746193846435844"", ""https://twitter.com/SenatorHeitkamp/status/874680843767361539"", ""https://twitter.com/SenatorHeitkamp/status/874007352097165313""]","[""https://twitter.com/SenatorHeitkamp/status/875426887631339520""]"
|
22
|
+
Kamala D. Harris,SenKamalaHarris,KamalaHarris,82,11,13.41,14,17.07,0.7857,"[""https://twitter.com/SenKamalaHarris/status/874798798639419392"", ""https://twitter.com/SenKamalaHarris/status/874644366064746496"", ""https://twitter.com/SenKamalaHarris/status/874334532387958784"", ""https://twitter.com/SenKamalaHarris/status/873275754997440512"", ""https://twitter.com/KamalaHarris/status/875457945487773700"", ""https://twitter.com/KamalaHarris/status/874799053783146497"", ""https://twitter.com/KamalaHarris/status/874642542867906561"", ""https://twitter.com/KamalaHarris/status/874311226481942529"", ""https://twitter.com/KamalaHarris/status/873313795673907200"", ""https://twitter.com/KamalaHarris/status/873265446987935745"", ""https://twitter.com/KamalaHarris/status/873031910410170368""]","[""https://twitter.com/SenKamalaHarris/status/874778688906174465"", ""https://twitter.com/SenKamalaHarris/status/874737698233344001"", ""https://twitter.com/SenKamalaHarris/status/874695316121030664"", ""https://twitter.com/SenKamalaHarris/status/874688871837073408"", ""https://twitter.com/SenKamalaHarris/status/873193994041176064"", ""https://twitter.com/KamalaHarris/status/874824218571145216"", ""https://twitter.com/KamalaHarris/status/874799053783146497"", ""https://twitter.com/KamalaHarris/status/874732172988567553"", ""https://twitter.com/KamalaHarris/status/874729583823777793"", ""https://twitter.com/KamalaHarris/status/874727250645716992"", ""https://twitter.com/KamalaHarris/status/874039045407617024"", ""https://twitter.com/KamalaHarris/status/873212996432089088"", ""https://twitter.com/KamalaHarris/status/873004480333328384"", ""https://twitter.com/KamalaHarris/status/872986608802435072""]"
|
23
|
+
Margaret Wood Hassan,SenatorHassan,Maggie_Hassan,31,10,32.26,1,3.23,10.0,"[""https://twitter.com/SenatorHassan/status/875468810517610496"", ""https://twitter.com/SenatorHassan/status/875433525683597312"", ""https://twitter.com/SenatorHassan/status/875369764474023938"", ""https://twitter.com/SenatorHassan/status/874748538198118400"", ""https://twitter.com/SenatorHassan/status/874723059302891520"", ""https://twitter.com/SenatorHassan/status/874717100992073728"", ""https://twitter.com/SenatorHassan/status/874685366455980032"", ""https://twitter.com/SenatorHassan/status/874650334924337152"", ""https://twitter.com/SenatorHassan/status/874366849101811713"", ""https://twitter.com/SenatorHassan/status/874352458604130304""]","[""https://twitter.com/SenatorHassan/status/875419078298669062""]"
|
24
|
+
Tim Kaine,SenKaineOffice,timkaine,37,3,8.11,1,2.7,3.0,"[""https://twitter.com/timkaine/status/875103317613039616"", ""https://twitter.com/timkaine/status/874705541116960770"", ""https://twitter.com/timkaine/status/874630232988422144""]","[""https://twitter.com/timkaine/status/875448728743800832""]"
|
25
|
+
Patrick J. Leahy,SenatorLeahy,"",77,6,7.79,16,20.78,0.375,"[""https://twitter.com/SenatorLeahy/status/875364012262907904"", ""https://twitter.com/SenatorLeahy/status/875359376370008064"", ""https://twitter.com/SenatorLeahy/status/875293745176080385"", ""https://twitter.com/SenatorLeahy/status/875156189331501057"", ""https://twitter.com/SenatorLeahy/status/874735654630027267"", ""https://twitter.com/SenatorLeahy/status/874668383924609024""]","[""https://twitter.com/SenatorLeahy/status/875068830653054976"", ""https://twitter.com/SenatorLeahy/status/874675932577050624"", ""https://twitter.com/SenatorLeahy/status/874672783447511040"", ""https://twitter.com/SenatorLeahy/status/874642690260037632"", ""https://twitter.com/SenatorLeahy/status/874636574318833666"", ""https://twitter.com/SenatorLeahy/status/874632078784180225"", ""https://twitter.com/SenatorLeahy/status/874628105264136193"", ""https://twitter.com/SenatorLeahy/status/874411322775150592"", ""https://twitter.com/SenatorLeahy/status/874391502570573824"", ""https://twitter.com/SenatorLeahy/status/874371937845338112"", ""https://twitter.com/SenatorLeahy/status/874370154267910146"", ""https://twitter.com/SenatorLeahy/status/873864443268149248"", ""https://twitter.com/SenatorLeahy/status/873710044491206656"", ""https://twitter.com/SenatorLeahy/status/873694707410456577"", ""https://twitter.com/SenatorLeahy/status/873689818470993920"", ""https://twitter.com/SenatorLeahy/status/873544151140323329""]"
|
26
|
+
Edward J. Markey,SenMarkey,EdMarkey,51,12,23.53,6,11.76,2.0,"[""https://twitter.com/SenMarkey/status/875462132954939392"", ""https://twitter.com/SenMarkey/status/875372573273587713"", ""https://twitter.com/SenMarkey/status/875370330898001920"", ""https://twitter.com/SenMarkey/status/875367067817562112"", ""https://twitter.com/SenMarkey/status/875111859422019584"", ""https://twitter.com/SenMarkey/status/875106835442696192"", ""https://twitter.com/SenMarkey/status/875099595843526657"", ""https://twitter.com/SenMarkey/status/875088526911696896"", ""https://twitter.com/SenMarkey/status/874671208096071680"", ""https://twitter.com/SenMarkey/status/874662266318327809"", ""https://twitter.com/SenMarkey/status/873265761850142720"", ""https://twitter.com/SenMarkey/status/873249989992087554""]","[""https://twitter.com/SenMarkey/status/874757100609691649"", ""https://twitter.com/SenMarkey/status/873261600173690882"", ""https://twitter.com/SenMarkey/status/873258779655245824"", ""https://twitter.com/SenMarkey/status/873254784878379008"", ""https://twitter.com/SenMarkey/status/873244353627664384"", ""https://twitter.com/SenMarkey/status/873170146734592000""]"
|
27
|
+
Robert Menendez,SenatorMenendez,Menendez4NJ,80,1,1.25,1,1.25,1.0,"[""https://twitter.com/SenatorMenendez/status/875458479074529282""]","[""https://twitter.com/SenatorMenendez/status/875062836946501632""]"
|
28
|
+
Patty Murray,PattyMurray,MurrayCampaign,22,16,72.73,0,0.0,0.0,"[""https://twitter.com/PattyMurray/status/875425820126433281"", ""https://twitter.com/PattyMurray/status/875409782890475520"", ""https://twitter.com/PattyMurray/status/875398112734572545"", ""https://twitter.com/PattyMurray/status/874718633330712578"", ""https://twitter.com/PattyMurray/status/874710473916039169"", ""https://twitter.com/PattyMurray/status/874706473141624834"", ""https://twitter.com/PattyMurray/status/874692800264253440"", ""https://twitter.com/PattyMurray/status/874685604654657536"", ""https://twitter.com/PattyMurray/status/874681478852030466"", ""https://twitter.com/PattyMurray/status/874670463938695169"", ""https://twitter.com/PattyMurray/status/874660882927812608"", ""https://twitter.com/PattyMurray/status/874645051430891524"", ""https://twitter.com/PattyMurray/status/874427601259028480"", ""https://twitter.com/PattyMurray/status/874418897633632256"", ""https://twitter.com/PattyMurray/status/874417515744694274"", ""https://twitter.com/PattyMurray/status/873223970232913920""]",[]
|
29
|
+
Christopher Murphy,SenMurphyOffice,ChrisMurphyCT,58,11,18.97,5,8.62,2.2,"[""https://twitter.com/SenMurphyOffice/status/874682924989374465"", ""https://twitter.com/ChrisMurphyCT/status/875446301042900992"", ""https://twitter.com/ChrisMurphyCT/status/875108016009424896"", ""https://twitter.com/ChrisMurphyCT/status/874816075522859008"", ""https://twitter.com/ChrisMurphyCT/status/874681083295563777"", ""https://twitter.com/ChrisMurphyCT/status/874639806130774017"", ""https://twitter.com/ChrisMurphyCT/status/874621693741981696"", ""https://twitter.com/ChrisMurphyCT/status/873623638108405760"", ""https://twitter.com/ChrisMurphyCT/status/873590400279334912"", ""https://twitter.com/ChrisMurphyCT/status/873517620439502848"", ""https://twitter.com/ChrisMurphyCT/status/873149534372868096""]","[""https://twitter.com/SenMurphyOffice/status/875071081849212928"", ""https://twitter.com/ChrisMurphyCT/status/874740296130670592"", ""https://twitter.com/ChrisMurphyCT/status/874621693741981696"", ""https://twitter.com/ChrisMurphyCT/status/874230956827308033"", ""https://twitter.com/ChrisMurphyCT/status/873980913448886272""]"
|
30
|
+
Claire McCaskill,McCaskillOffice,clairecmc,33,4,12.12,0,0.0,0.0,"[""https://twitter.com/McCaskillOffice/status/873651015500922880"", ""https://twitter.com/McCaskillOffice/status/873599247131836417"", ""https://twitter.com/clairecmc/status/874664307384094725"", ""https://twitter.com/clairecmc/status/873003829146656769""]",[]
|
31
|
+
Jeff Merkley,SenJeffMerkley,"",42,15,35.71,2,4.76,7.5,"[""https://twitter.com/SenJeffMerkley/status/875467520341409793"", ""https://twitter.com/SenJeffMerkley/status/875444733220450306"", ""https://twitter.com/SenJeffMerkley/status/875443962525491205"", ""https://twitter.com/SenJeffMerkley/status/875437132873056256"", ""https://twitter.com/SenJeffMerkley/status/875434340120965120"", ""https://twitter.com/SenJeffMerkley/status/875412058619203585"", ""https://twitter.com/SenJeffMerkley/status/875363257749524481"", ""https://twitter.com/SenJeffMerkley/status/874780263108288512"", ""https://twitter.com/SenJeffMerkley/status/874771354683310080"", ""https://twitter.com/SenJeffMerkley/status/874688409029234688"", ""https://twitter.com/SenJeffMerkley/status/874657631578836999"", ""https://twitter.com/SenJeffMerkley/status/874574572204560384"", ""https://twitter.com/SenJeffMerkley/status/874403112110444544"", ""https://twitter.com/SenJeffMerkley/status/873273446284832774"", ""https://twitter.com/SenJeffMerkley/status/873231881243897860""]","[""https://twitter.com/SenJeffMerkley/status/874775381982797825"", ""https://twitter.com/SenJeffMerkley/status/874384721672892416""]"
|
32
|
+
"Joe Manchin, III",Sen_JoeManchin,"",14,1,7.14,1,7.14,1.0,"[""https://twitter.com/Sen_JoeManchin/status/874735273166483457""]","[""https://twitter.com/Sen_JoeManchin/status/873283582084526081""]"
|
33
|
+
Bill Nelson,SenBillNelson,"",2,0,0.0,0,0.0,0.0,[],[]
|
34
|
+
Gary C. Peters,SenGaryPeters,Peters4Michigan,18,2,11.11,1,5.56,2.0,"[""https://twitter.com/SenGaryPeters/status/874381348374540288"", ""https://twitter.com/Peters4Michigan/status/875463683320590336""]","[""https://twitter.com/SenGaryPeters/status/875464686052884480""]"
|
35
|
+
Jack Reed,SenJackReed,"",29,4,13.79,6,20.69,0.6667,"[""https://twitter.com/SenJackReed/status/875442275622375426"", ""https://twitter.com/SenJackReed/status/874417615049027584"", ""https://twitter.com/SenJackReed/status/873300204367351808"", ""https://twitter.com/SenJackReed/status/873299282836819969""]","[""https://twitter.com/SenJackReed/status/875107814141808641"", ""https://twitter.com/SenJackReed/status/874788602626048014"", ""https://twitter.com/SenJackReed/status/874698449798782976"", ""https://twitter.com/SenJackReed/status/874417003657928705"", ""https://twitter.com/SenJackReed/status/873291113414766593"", ""https://twitter.com/SenJackReed/status/873256446024183811""]"
|
36
|
+
Charles E. Schumer,SenSchumer,chuckschumer,36,8,22.22,1,2.78,8.0,"[""https://twitter.com/SenSchumer/status/874698378403344384"", ""https://twitter.com/SenSchumer/status/874697032027516930"", ""https://twitter.com/SenSchumer/status/874688340662128641"", ""https://twitter.com/SenSchumer/status/874636652093878272"", ""https://twitter.com/SenSchumer/status/874629200241733634"", ""https://twitter.com/SenSchumer/status/874293232783556608"", ""https://twitter.com/SenSchumer/status/873143653719584768"", ""https://twitter.com/chuckschumer/status/873618448114483200""]","[""https://twitter.com/SenSchumer/status/873675619040722948""]"
|
37
|
+
Debbie Stabenow,SenStabenow,stabenow,11,1,9.09,0,0.0,0.0,"[""https://twitter.com/SenStabenow/status/874733114714619908""]",[]
|
38
|
+
Jeanne Shaheen,SenatorShaheen,JeanneShaheen,22,8,36.36,4,18.18,2.0,"[""https://twitter.com/SenatorShaheen/status/875447258015121408"", ""https://twitter.com/SenatorShaheen/status/875343291780390912"", ""https://twitter.com/SenatorShaheen/status/874754515391664128"", ""https://twitter.com/SenatorShaheen/status/874736047657279492"", ""https://twitter.com/SenatorShaheen/status/874668341532794882"", ""https://twitter.com/SenatorShaheen/status/874665270551478275"", ""https://twitter.com/SenatorShaheen/status/874326390774145024"", ""https://twitter.com/SenatorShaheen/status/873187785963909122""]","[""https://twitter.com/SenatorShaheen/status/874749246737698818"", ""https://twitter.com/SenatorShaheen/status/874649427943841795"", ""https://twitter.com/SenatorShaheen/status/874638380541366272"", ""https://twitter.com/SenatorShaheen/status/874611095809519616""]"
|
39
|
+
Brian Schatz,SenBrianSchatz,brianschatz,59,8,13.56,9,15.25,0.8889,"[""https://twitter.com/brianschatz/status/875453883975434242"", ""https://twitter.com/brianschatz/status/875438158086909952"", ""https://twitter.com/brianschatz/status/875429126458486784"", ""https://twitter.com/brianschatz/status/875409763017928704"", ""https://twitter.com/brianschatz/status/874601165941506049"", ""https://twitter.com/brianschatz/status/874385898246426624"", ""https://twitter.com/brianschatz/status/874253061199233024"", ""https://twitter.com/brianschatz/status/873160371124744192""]","[""https://twitter.com/SenBrianSchatz/status/873716433972277248"", ""https://twitter.com/brianschatz/status/874661169168097281"", ""https://twitter.com/brianschatz/status/874609772309471232"", ""https://twitter.com/brianschatz/status/874582405004308481"", ""https://twitter.com/brianschatz/status/874572824597450752"", ""https://twitter.com/brianschatz/status/874311591260553216"", ""https://twitter.com/brianschatz/status/874267967369822209"", ""https://twitter.com/brianschatz/status/874265068103389184"", ""https://twitter.com/brianschatz/status/873767685510672386""]"
|
40
|
+
Jon Tester,SenatorTester,jontester,15,5,33.33,0,0.0,0.0,"[""https://twitter.com/SenatorTester/status/875419614594961409"", ""https://twitter.com/SenatorTester/status/874765318639497216"", ""https://twitter.com/SenatorTester/status/874676446152798208"", ""https://twitter.com/SenatorTester/status/874438692722442240"", ""https://twitter.com/jontester/status/875386769470099456""]",[]
|
41
|
+
Tom Udall,SenatorTomUdall,"",10,1,10.0,0,0.0,0.0,"[""https://twitter.com/SenatorTomUdall/status/874762887780347906""]",[]
|
42
|
+
Chris Van Hollen,ChrisVanHollen,VanHollenForMD,29,7,24.14,7,24.14,1.0,"[""https://twitter.com/ChrisVanHollen/status/875481889678733312"", ""https://twitter.com/ChrisVanHollen/status/874746420909273093"", ""https://twitter.com/ChrisVanHollen/status/874656441436712962"", ""https://twitter.com/ChrisVanHollen/status/874620275341615104"", ""https://twitter.com/ChrisVanHollen/status/874304512479068161"", ""https://twitter.com/ChrisVanHollen/status/873199550932148227"", ""https://twitter.com/ChrisVanHollen/status/873153301319213056""]","[""https://twitter.com/ChrisVanHollen/status/875470031483785218"", ""https://twitter.com/ChrisVanHollen/status/875435484620746754"", ""https://twitter.com/ChrisVanHollen/status/875428997886345218"", ""https://twitter.com/ChrisVanHollen/status/875099626751369216"", ""https://twitter.com/ChrisVanHollen/status/873926212753670144"", ""https://twitter.com/ChrisVanHollen/status/873180321419845632"", ""https://twitter.com/ChrisVanHollen/status/872998021235167233""]"
|
43
|
+
Ron Wyden,RonWyden,"",36,15,41.67,10,27.78,1.5,"[""https://twitter.com/RonWyden/status/875447529835462658"", ""https://twitter.com/RonWyden/status/875398538993307648"", ""https://twitter.com/RonWyden/status/875367963473453056"", ""https://twitter.com/RonWyden/status/875355007633297408"", ""https://twitter.com/RonWyden/status/875072530238910465"", ""https://twitter.com/RonWyden/status/874740669993988097"", ""https://twitter.com/RonWyden/status/874662519733878784"", ""https://twitter.com/RonWyden/status/874640571251519489"", ""https://twitter.com/RonWyden/status/874639699855515651"", ""https://twitter.com/RonWyden/status/874295241423163393"", ""https://twitter.com/RonWyden/status/874109280017760256"", ""https://twitter.com/RonWyden/status/874042150551302144"", ""https://twitter.com/RonWyden/status/874018142359404544"", ""https://twitter.com/RonWyden/status/873679538412060672"", ""https://twitter.com/RonWyden/status/873292353783701508""]","[""https://twitter.com/RonWyden/status/874733342981312512"", ""https://twitter.com/RonWyden/status/874724744712552449"", ""https://twitter.com/RonWyden/status/874692691686281217"", ""https://twitter.com/RonWyden/status/874677663146942465"", ""https://twitter.com/RonWyden/status/874283392052994048"", ""https://twitter.com/RonWyden/status/874277172952915970"", ""https://twitter.com/RonWyden/status/874109280017760256"", ""https://twitter.com/RonWyden/status/874042150551302144"", ""https://twitter.com/RonWyden/status/873679538412060672"", ""https://twitter.com/RonWyden/status/873242477230268417""]"
|
44
|
+
Sheldon Whitehouse,SenWhitehouse,"",50,7,14.0,7,14.0,1.0,"[""https://twitter.com/SenWhitehouse/status/875487988754644994"", ""https://twitter.com/SenWhitehouse/status/875439733156888576"", ""https://twitter.com/SenWhitehouse/status/874746438605033472"", ""https://twitter.com/SenWhitehouse/status/874739583422001155"", ""https://twitter.com/SenWhitehouse/status/874637280710971392"", ""https://twitter.com/SenWhitehouse/status/873287061385736192"", ""https://twitter.com/SenWhitehouse/status/873215031218974721""]","[""https://twitter.com/SenWhitehouse/status/875390866634018816"", ""https://twitter.com/SenWhitehouse/status/874812782394388481"", ""https://twitter.com/SenWhitehouse/status/874730025077137408"", ""https://twitter.com/SenWhitehouse/status/874367357493358592"", ""https://twitter.com/SenWhitehouse/status/874307023357308928"", ""https://twitter.com/SenWhitehouse/status/873355364250550273"", ""https://twitter.com/SenWhitehouse/status/873354793896603649""]"
|
45
|
+
Mark R. Warner,MarkWarner,MarkWarnerVA,33,4,12.12,2,6.06,2.0,"[""https://twitter.com/MarkWarner/status/875399630682542082"", ""https://twitter.com/MarkWarner/status/875099348832595969"", ""https://twitter.com/MarkWarner/status/874389141294903297"", ""https://twitter.com/MarkWarner/status/874326567958323201""]","[""https://twitter.com/MarkWarner/status/874698927093755906"", ""https://twitter.com/MarkWarner/status/874286772049543168""]"
|
46
|
+
Elizabeth Warren,SenWarren,elizabethforma,29,1,3.45,7,24.14,0.1429,"[""https://twitter.com/SenWarren/status/874675368996810752""]","[""https://twitter.com/SenWarren/status/874755984044027904"", ""https://twitter.com/SenWarren/status/874755547911909376"", ""https://twitter.com/SenWarren/status/874755252016295937"", ""https://twitter.com/SenWarren/status/874755037951660032"", ""https://twitter.com/SenWarren/status/874754785194455040"", ""https://twitter.com/SenWarren/status/874754500791238656"", ""https://twitter.com/SenWarren/status/874695203923406848""]"
|
47
|
+
"Angus S. King, Jr.",SenAngusKing,"",10,0,0.0,4,40.0,0.0,[],"[""https://twitter.com/SenAngusKing/status/875119112216870917"", ""https://twitter.com/SenAngusKing/status/875097048336478208"", ""https://twitter.com/SenAngusKing/status/874756032085598208"", ""https://twitter.com/SenAngusKing/status/873239069945364480""]"
|
48
|
+
Bernard Sanders,SenSanders,BernieSanders,37,8,21.62,2,5.41,4.0,"[""https://twitter.com/SenSanders/status/874780681653460992"", ""https://twitter.com/SenSanders/status/874694617656111108"", ""https://twitter.com/SenSanders/status/874661524450803712"", ""https://twitter.com/SenSanders/status/874615253790846976"", ""https://twitter.com/SenSanders/status/874355512707612673"", ""https://twitter.com/SenSanders/status/873210145945288704"", ""https://twitter.com/BernieSanders/status/874703508339130369"", ""https://twitter.com/BernieSanders/status/873707458165911552""]","[""https://twitter.com/SenSanders/status/875430772274024449"", ""https://twitter.com/SenSanders/status/874762567910133763""]"
|
data/twitter_handles.csv
ADDED
@@ -0,0 +1,48 @@
|
|
1
|
+
official,personal/campaign
|
2
|
+
SenSherrodBrown,SherrodBrown
|
3
|
+
SenatorBaldwin,tammybaldwin
|
4
|
+
SenBennetCO,BennetForCO
|
5
|
+
SenBlumenthal,
|
6
|
+
SenBookerOffice,CoryBooker
|
7
|
+
SenatorCantwell,
|
8
|
+
SenatorCardin,BenCardinforMD
|
9
|
+
SenatorCarper,TomCarperforDE
|
10
|
+
SenBobCasey,Bob_Casey
|
11
|
+
SenCoonsOffice,
|
12
|
+
SenCortezMasto,
|
13
|
+
SenatorDurbin,DickDurbin
|
14
|
+
SenDonnelly,
|
15
|
+
SenDuckworth,TammyforIL
|
16
|
+
SenFeinstein,
|
17
|
+
SenFranken,alfranken
|
18
|
+
SenGillibrand,
|
19
|
+
maziehirono,
|
20
|
+
MartinHeinrich,
|
21
|
+
SenatorHeitkamp,
|
22
|
+
SenKamalaHarris,KamalaHarris
|
23
|
+
SenatorHassan,Maggie_Hassan
|
24
|
+
SenKaineOffice,timkaine
|
25
|
+
SenatorLeahy,
|
26
|
+
SenMarkey,EdMarkey
|
27
|
+
SenatorMenendez,Menendez4NJ
|
28
|
+
PattyMurray,MurrayCampaign
|
29
|
+
SenMurphyOffice,ChrisMurphyCT
|
30
|
+
McCaskillOffice,clairecmc
|
31
|
+
SenJeffMerkley,
|
32
|
+
Sen_JoeManchin,
|
33
|
+
SenBillNelson,
|
34
|
+
SenGaryPeters,Peters4Michigan
|
35
|
+
SenJackReed,
|
36
|
+
SenSchumer,chuckschumer
|
37
|
+
SenStabenow,stabenow
|
38
|
+
SenatorShaheen,JeanneShaheen
|
39
|
+
SenBrianSchatz,brianschatz
|
40
|
+
SenatorTester,jontester
|
41
|
+
SenatorTomUdall,
|
42
|
+
ChrisVanHollen,VanHollenForMD
|
43
|
+
RonWyden,
|
44
|
+
SenWhitehouse,
|
45
|
+
MarkWarner,MarkWarnerVA
|
46
|
+
SenWarren,elizabethforma
|
47
|
+
SenAngusKing,
|
48
|
+
SenSanders,BernieSanders
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trumpcare_tracker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- M. Simon Borg
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-06-
|
11
|
+
date: 2017-06-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: twitter
|
@@ -38,6 +38,20 @@ dependencies:
|
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 0.4.0
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: nokogiri
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 1.8.0
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 1.8.0
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
56
|
name: bundler
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -86,8 +100,10 @@ files:
|
|
86
100
|
- bin/setup
|
87
101
|
- lib/trumpcare_tracker.rb
|
88
102
|
- lib/trumpcare_tracker/version.rb
|
103
|
+
- trumpcare_homepage_report.csv
|
89
104
|
- trumpcare_tracker.gemspec
|
90
105
|
- trumpcare_tweet_report.csv
|
106
|
+
- twitter_handles.csv
|
91
107
|
homepage: https://github.com/msimonborg/trumpcare-tracker
|
92
108
|
licenses:
|
93
109
|
- MIT
|