Blog posts

Twitter Bookmarks

Recently bookmarked tweets worth sharing.

Twitter by Location

Make functions that will gather tweets by keyword in multiple geographic locations, find the most resonating and most activating tweets in each city and present them in a pretty table for reading

Scrape, Clean, Join, Plot

Write a function to scrape an online table, then use data.table to prep it for analysis. Use text from the table to add text annotations in a ggplot2 bar plot.

Find Index of First Instance

Find one thing with another thing. We'll speed test various data.table and tidyverse methods for finding the position of the first match and use that to index another column.

Order Months

Produce a vector of month names ending with the current month.

More articles »

Blog posts


Reuse

Text and figures are licensed under Creative Commons Attribution CC BY 4.0. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".