Skip to content

Instantly share code, notes, and snippets.

@hrbrmstr
Last active August 29, 2015 14:06
Show Gist options
  • Save hrbrmstr/f6d611170cec2be416bc to your computer and use it in GitHub Desktop.
Save hrbrmstr/f6d611170cec2be416bc to your computer and use it in GitHub Desktop.
library(httr)
srss <- GET("http://aa.usno.navy.mil/cgi-bin/aa_rstablew.pl",
query=list(FFX="2", xxy="2014", type="0", place="Southern Maine",
xx0="-1", xx1="43", xx2="",
yy0="1", yy1="70", yy2="",
zz1="5", zz0="-1"), verbose())
readings <- strsplit(content(srss, as="text"), "\n")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment