Skip to content

Instantly share code, notes, and snippets.

View sniderg's full-sized avatar

Graydon Snider sniderg

View GitHub Profile
library(data.table)
library(httr)
library(plyr)
library(tools)
#get data from web - don't run every time!
urls <- read.table('GBD_links.txt')
urls <- as.data.table(urls)
urls <- grep("http", urls$V1, value=T)
<html>
<head>
<title>Google Maps Multiple Markers</title>
<script src="http://maps.google.com/maps/api/js?sensor=false" type="text/javascript"></script>
</head>
<body>
<div id="map" style="height: 400px; width: 500px;">
</div>
<script type="text/javascript">
@sniderg
sniderg / SPARTAN.m
Created January 18, 2016 19:45
SPARTAN
%%This is a file that will combine PM2.5, AOD_550, and Bsp_550 data in one
%%place, and ready for website upload
clear all
Table_avg=zeros(11,25);
%Accessing interpolated PM2.5 from overloaded filters (recommended off)
PM_recon=0;