Skip to content

Instantly share code, notes, and snippets.

View MeganBeckett's full-sized avatar

Megan Rogers MeganBeckett

View GitHub Profile
@MeganBeckett
MeganBeckett / join-animations-with-gganimate.R
Created August 15, 2018 06:20 — forked from gadenbuie/join-animations-with-gganimate.R
Animated dplyr joins with gganimate
# Animated dplyr joins with gganimate
# * Garrick Aden-Buie
# * garrickadenbuie.com
# * MIT License: https://opensource.org/licenses/MIT
# Note: I used Fira Sans and Fira Mono fonts.
# Use search and replace to use a different font if Fira is not available.
library(tidyverse)
library(gganimate)
#!/bin/bash
sudo apt update
sudo apt install -y git \
cmake \
build-essential \
jq \
liblua5.2-dev \
libboost-all-dev \
libprotobuf-dev \
@MeganBeckett
MeganBeckett / sa-provinces.R
Last active October 21, 2019 16:58
Generate a GeoJSON file of SA provincial boundaries
# =================================================================================================
# = Generate a GeoJSON file of SA provincial boundaries =
# = =
# = Megan Beckett <megan@exegetic.biz> =
# =================================================================================================
# Modified from Carson Sievert's example for US States: https://plotly-r.com/data-raw/us-states.R
# Generated for use in creating South African provincial choropleths with {plotly}.
@MeganBeckett
MeganBeckett / sa-provinces.json
Last active October 22, 2019 10:08
GeoJSON for South African provincial boundaries
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.