Skip to content

Instantly share code, notes, and snippets.

Avatar

vpascal vpascal

View GitHub Profile
View gist:f491e941aeeab7d27051
library(jsonlite)
data<-fromJSON("https://gist.githubusercontent.com/jorin-vogel/7f19ce95a9a842956358/raw/e319340c2f6691f9cc8d8cc57ed532b5093e3619/data.json")
data<-data[,c("name","creditcard")]
names(data)<-c("Name", "Credit Card")
write.csv(data,paste(format(Sys.Date(), format="%Y%m%d"),"csv",sep = "."),row.names = FALSE)
View index.html
<!doctype HTML>
<html>
<head>
<script src='http://polychart.com/s/third_party/polychart2.standalone.js' type='text/javascript'></script>
<style>
.rChart {
display: block;
margin-left: auto;
You can’t perform that action at this time.