Skip to content

Commit

Permalink
live update number 1
Browse files Browse the repository at this point in the history
  • Loading branch information
mkearney committed Nov 15, 2017
1 parent 407fb64 commit afd0a31
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions live.R
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,15 @@ while (Sys.time() < as.POSIXct("2017-11-21")) {

## most frequent tweeters table
usrs <- tab_sort(nca$screen_name)
png("nca17-usrs.png", height = 3.75, width = 5, "in", res = 300)
png("nca17-usrs.png", height = 3.1, width = 4.25, "in", res = 300)
par(bg = "white")
gridExtra::grid.table(usrs, theme = gridExtra::ttheme_default(base_size = 9))
dev.off()

## most frequent mentions table
naomit <- function(x) x[!is.na(x)]
usrs <- tab_sort(naomit(unlist(nca$mentions_screen_name)), mentions = TRUE)
png("nca17-ats.png", height = 3.75, width = 5.1, "in", res = 300)
png("nca17-ats.png", height = 3.1, width = 4.26, "in", res = 300)
par(bg = "white")
gridExtra::grid.table(usrs, theme = gridExtra::ttheme_default(base_size = 9))
dev.off()
Expand Down
Binary file modified nca17-ats.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified nca17-ts.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified nca17-usrs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified nca17-wc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit afd0a31

Please sign in to comment.