The Chartmaker directory has a nice matrix showing which tools can be used to produce many kinds of chart, with examples of how.
Two new tools allow you to interactively create bespoke chart layouts without programming
# Install and load required packages | |
install.packages("needs") | |
library(needs) | |
needs(tidyverse, magrittr, animation, pdftools, png, scales) | |
# Function that extracts data from Google Mobility PDFs | |
process_google_mobility <- function(country_code, start_date, end_date){ | |
# Convert first page of PDF into high-res PNG | |
pdf_convert(paste0("https://www.gstatic.com/covid19/mobility/",end_date,"_",country_code,"_Mobility_Report_en.pdf"), format = "png", pages = 1, dpi = 300, filenames = "IMG1.png") |
var timer=100;document.querySelectorAll("div > input[type='checkbox']:checked").forEach((interest) => {setTimeout(function(){interest.click()},timer);timer+=2000;}); |
The Chartmaker directory has a nice matrix showing which tools can be used to produce many kinds of chart, with examples of how.
Two new tools allow you to interactively create bespoke chart layouts without programming
This is a variant of the Exploding Kittens game rules, using regular playing cards
The last survivor wins the game. If you draw a Bomb card and don't have a Disarm card, you die.
## Including the required R packages. | |
packages <- c('shiny') | |
if (length(setdiff(packages, rownames(installed.packages()))) > 0) { | |
install.packages(setdiff(packages, rownames(installed.packages()))) | |
} | |
library(shiny) | |
shinyServer(function(input, output) { | |
submit <- FALSE |
The attached code file provides an easy basic interface to the Wolfram Alpha API. Inspired by the wolframalpha module available for Python.
source("wa_lib.R")