Skip to content

Instantly share code, notes, and snippets.

Michael Whitaker mwhitaker

Block or report user

Report or block mwhitaker

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@mwhitaker
mwhitaker / knit_cloudstorage.rmd
Created Jan 13, 2017
Use googleCloudStorageR to automatically upload to Cloud Storage
View knit_cloudstorage.rmd
---
title: "Host image files on Google Cloud storage"
author: "Michael Whitaker"
date: "January 12, 2017"
output:
html_document:
self_contained: false
---
```{r setup, include=FALSE}
View .block
license: none
height:
scrolling: no
border: yes
View temp.html
<!DOCTYPE html>
<html>
<head>
<script src="https://cdn.pydata.org/bokeh/release/bokeh-0.11.1.min.js"></script>
<link href="https://cdn.pydata.org/bokeh/release/bokeh-0.11.1.min.css" rel="stylesheet">
</head>
<body>
<div id="a73ee825087c4d734028b06bb47bc3e4" class="plotdiv"></div>
<script type="text/javascript">
Bokeh.$(function() {
View README.md
figure() %>% ly_points(1:10)
View Viggy.Rmd
---
title: "Vignette Title"
author: "Vignette Author"
date: "`r Sys.Date()`"
output:
rmarkdown::html_vignette:
self_contained: FALSE
vignette: >
%\VignetteIndexEntry{Vignette Title}
%\VignetteEngine{knitr::rmarkdown}
@mwhitaker
mwhitaker / README.md
Last active Feb 3, 2016
Multi-channel sunbursts
View README.md

D3 Sunburst visualization that uses the Embed API to pull data from the Google Analytics Multi-Channel Funnel API. This app runs purely in the browser and no data is sent to any server. A bit more info is on my blog.

Any suggestions for improvement would be welome!

View cr_new_template_snippet_compact_one_per_line.html
<!--this snippet displays cart items -->
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="mcnCaptionBlock"><tbody class="mcnCaptionBlockOuter"><tr><td class="mcnCaptionBlockInner" valign="top" style="padding:9px;"><table border="0" cellpadding="0" cellspacing="0" class="mcnCaptionRightContentOuter" width="100%"><tbody><tr><td valign="top" class="mcnCaptionRightContentInner" style="padding:0 9px ;"><table align="left" border="0" cellpadding="0" cellspacing="0" class="mcnCaptionRightImageContentContainer"><tbody><tr><td class="mcnCaptionRightImageContent" valign="top"><img alt="" src="%RAW_IMG_URL%" width="200" style="max-width:1000px;" class="mcnImage"></td></tr></tbody></table><table class="mcnCaptionRightTextContentContainer" align="right" border="0" cellpadding="0" cellspacing="0" width="264"><tbody><tr><td valign="top" class="mcnTextContent"><a href="%PROD_URL%" style="color: #1155CC;font-family: arial, sans-serif;font-size: 14px;line-height: 21px;" target="_blank">%YNAME%</a></td></tr
View pelias_test.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mwhitaker
mwhitaker / bella.png
Last active Aug 29, 2015
Visualize users with multiple sessions from multiple cities in the US from Google Analytics
@mwhitaker
mwhitaker / force.csv
Last active Aug 29, 2015
Force-directed graph of website visitors with sessions from multiple US States
View force.csv
source target value
North Carolina Tennessee 136
Virginia District of Columbia 132
North Carolina Georgia 130
District of Columbia Virginia 124
Georgia North Carolina 123
Oklahoma Louisiana 116
Wisconsin Illinois 111
Louisiana Oklahoma 103
Tennessee North Carolina 103
You can’t perform that action at this time.