

{"id":1750,"date":"2012-10-28T07:11:19","date_gmt":"2012-10-28T12:11:19","guid":{"rendered":"http:\/\/rud.is\/b\/?p=1750"},"modified":"2017-03-27T09:43:18","modified_gmt":"2017-03-27T14:43:18","slug":"watch-sandy-in-r-including-forecast-cone","status":"publish","type":"post","link":"https:\/\/rud.is\/b\/2012\/10\/28\/watch-sandy-in-r-including-forecast-cone\/","title":{"rendered":"Watch Sandy in &#8220;R&#8221; (Including Forecast Cone)"},"content":{"rendered":"<blockquote><p>As indicated in the code comments, Google took down the cone KML files. I&#8217;ll be changing the code to use the NHC archived cone files later tonight<\/p><\/blockquote>\n<blockquote><p>NOTE: There is significantly updated code on <a href=\"https:\/\/github.com\/hrbrmstr\/sandy\">github<\/a> for the Sandy &#8216;R&#8217; dataviz.<\/p><\/blockquote>\n<p>This is a follow-up post to the quickly crafted <a href=\"https:\/\/rud.is\/b\/2012\/10\/27\/watch-sandy-in-r\/\">Watch Sandy in &#8220;R&#8221;<\/a> post last night. I noticed that Google provided the KML on their <a href=\"http:\/\/crisislanding.appspot.com\/crisismap\/2012-sandy\">crisis map<\/a> and wanted to show how easy it is to add it to previous code.<\/p>\n<p>I added comments inline to make it easier to follow along.<\/p>\n<pre lang=\"rsplus\">library(maps)\r\nlibrary(maptools)\r\nlibrary(rgdal)\r\n\r\n# need this for handling \"paste\" extra spaces\r\ntrim.trailing <- function (x) sub(\"\\\\s+$\", \"\", x)\r\n\r\n# get track data from Unisys\r\nwx = read.table(file=\"http:\/\/weather.unisys.com\/hurricane\/atlantic\/2012\/SANDY\/track.dat\", skip=3,fill=TRUE)\r\n\r\n# join last two columns (type of storm) that read.table didn't parse as one\r\n# and give the data frame real column names\r\nwx$V7 = trim.trailing(paste(wx$V7,wx$V8,\" \"))\r\nwx$V8 = NULL\r\ncolnames(wx) = c(\"Advisory\",\"Latitude\",\"Longitude\",\"Time\",\"WindSpeed\",\"Pressure\",\"Status\")\r\n\r\n# annotate the name with forecast (+12\/+24\/etc) projections\r\nwx$Advisory = unlist(strsplit(toString(wx$Advisory),\", \"))\r\nwx$a = \"\"\r\nwx$a[grep(\"\\\\+\",wx$Advisory)] = wx$Advisory[grep(\"\\\\+\",wx$Advisory)]\r\nwx$Status = trim.trailing(paste(wx$Status,wx$a,\" \"))\r\n\r\n# cheap way to make past plots one color and forecast plots another\r\nwx$color = \"red\"\r\nwx$color[grep(\"\\\\+\",wx$Advisory)] = \"orange\"\r\n\r\n# only want part of the map\r\nxlim=c(-90,-60)\r\n\r\n# plot the map itself\r\nmap(\"state\", interior = FALSE, xlim=xlim)\r\nmap(\"state\", boundary = FALSE, col=\"gray\", add = TRUE,xlim=xlim)\r\n\r\n# plot the track with triangles and colors\r\nlines(x=wx$Longitude,y=wx$Latitude,col=\"black\",cex=0.75)\r\npoints(x=wx$Longitude,y=wx$Latitude,col=wx$color,pch=17,cex=0.75)\r\n\r\n# annotate it with the current &#038; projects strength status + forecast\r\ntext(x=wx$Longitude,y=wx$Latitude,col='blue',labels=wx$Status,adj=c(-.15),cex=0.33)\r\n\r\n# get the forecast \"cone\" from the KML that google's crisis map provides\r\n# NOTE: you need curl &#038; unzip (with funzip) on your system\r\n# NOTE: Google didn't uniquely name the cone they provide, so this will break\r\n#       post-Sandy. I suggest saving the last KML &#038; track files out out if you\r\n#       want to save this for posterity\r\n\r\n# this gets the cone and makes it into a string that getKMLcoordinates can process\r\nconeKML = paste(unlist(system(\"curl -s -o - http:\/\/mw1.google.com\/mw-weather\/maps_hurricanes\/three_day_cone.kmz | funzip\", intern = TRUE)),collapse=\"\")\r\n\r\n# process the coneKML and make a data frame out of it\r\ncoords = getKMLcoordinates(textConnection(coneKML))\r\ncoords = data.frame(SpatialPoints(coords, CRS('+proj=longlat')))\r\n\r\n# this plots the cone and leaves the track visible\r\npolygon(coords$X1,coords$X2, pch=16, border=\"red\", col='#FF000033',cex=0.25)\r\n\r\n# no one puts Sandy in a box (well, except us)\r\nbox()<\/pre>\n<p><center><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"1758\" data-permalink=\"https:\/\/rud.is\/b\/2012\/10\/28\/watch-sandy-in-r-including-forecast-cone\/snapshot-102812-816-am\/\" data-orig-file=\"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2012\/10\/Snapshot-102812-816-AM.png?fit=485%2C490&amp;ssl=1\" data-orig-size=\"485,490\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"Snapshot 10:28:12 8:16 AM\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2012\/10\/Snapshot-102812-816-AM.png?fit=485%2C490&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2012\/10\/Snapshot-102812-816-AM.png?resize=485%2C490&#038;ssl=1\" alt=\"\" title=\"Snapshot 10:28:12 8:16 AM\" width=\"485\" height=\"490\" class=\"alignnone size-full wp-image-1758\" srcset=\"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2012\/10\/Snapshot-102812-816-AM.png?w=485&amp;ssl=1 485w, https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2012\/10\/Snapshot-102812-816-AM.png?resize=296%2C300&amp;ssl=1 296w\" sizes=\"auto, (max-width: 485px) 100vw, 485px\" \/><\/center><\/p>\n","protected":false},"excerpt":{"rendered":"<p>As indicated in the code comments, Google took down the cone KML files. I&#8217;ll be changing the code to use the NHC archived cone files later tonight NOTE: There is significantly updated code on github for the Sandy &#8216;R&#8217; dataviz. This is a follow-up post to the quickly crafted Watch Sandy in &#8220;R&#8221; post last [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":true,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":3,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":""},"categories":[91],"tags":[],"class_list":["post-1750","post","type-post","status-publish","format-standard","hentry","category-r"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Watch Sandy in &quot;R&quot; (Including Forecast Cone) - rud.is<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/rud.is\/b\/2012\/10\/28\/watch-sandy-in-r-including-forecast-cone\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Watch Sandy in &quot;R&quot; (Including Forecast Cone) - rud.is\" \/>\n<meta property=\"og:description\" content=\"As indicated in the code comments, Google took down the cone KML files. I&#8217;ll be changing the code to use the NHC archived cone files later tonight NOTE: There is significantly updated code on github for the Sandy &#8216;R&#8217; dataviz. This is a follow-up post to the quickly crafted Watch Sandy in &#8220;R&#8221; post last [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/rud.is\/b\/2012\/10\/28\/watch-sandy-in-r-including-forecast-cone\/\" \/>\n<meta property=\"og:site_name\" content=\"rud.is\" \/>\n<meta property=\"article:published_time\" content=\"2012-10-28T12:11:19+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-03-27T14:43:18+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/rud.is\/b\/wp-content\/uploads\/2012\/10\/Snapshot-102812-816-AM.png\" \/>\n<meta name=\"author\" content=\"hrbrmstr\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"hrbrmstr\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2012\\\/10\\\/28\\\/watch-sandy-in-r-including-forecast-cone\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2012\\\/10\\\/28\\\/watch-sandy-in-r-including-forecast-cone\\\/\"},\"author\":{\"name\":\"hrbrmstr\",\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/#\\\/schema\\\/person\\\/d7cb7487ab0527447f7fda5c423ff886\"},\"headline\":\"Watch Sandy in &#8220;R&#8221; (Including Forecast Cone)\",\"datePublished\":\"2012-10-28T12:11:19+00:00\",\"dateModified\":\"2017-03-27T14:43:18+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2012\\\/10\\\/28\\\/watch-sandy-in-r-including-forecast-cone\\\/\"},\"wordCount\":100,\"commentCount\":18,\"publisher\":{\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/#\\\/schema\\\/person\\\/d7cb7487ab0527447f7fda5c423ff886\"},\"image\":{\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2012\\\/10\\\/28\\\/watch-sandy-in-r-including-forecast-cone\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/rud.is\\\/b\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/Snapshot-102812-816-AM.png\",\"articleSection\":[\"R\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/rud.is\\\/b\\\/2012\\\/10\\\/28\\\/watch-sandy-in-r-including-forecast-cone\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2012\\\/10\\\/28\\\/watch-sandy-in-r-including-forecast-cone\\\/\",\"url\":\"https:\\\/\\\/rud.is\\\/b\\\/2012\\\/10\\\/28\\\/watch-sandy-in-r-including-forecast-cone\\\/\",\"name\":\"Watch Sandy in \\\"R\\\" (Including Forecast Cone) - rud.is\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2012\\\/10\\\/28\\\/watch-sandy-in-r-including-forecast-cone\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2012\\\/10\\\/28\\\/watch-sandy-in-r-including-forecast-cone\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/rud.is\\\/b\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/Snapshot-102812-816-AM.png\",\"datePublished\":\"2012-10-28T12:11:19+00:00\",\"dateModified\":\"2017-03-27T14:43:18+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2012\\\/10\\\/28\\\/watch-sandy-in-r-including-forecast-cone\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/rud.is\\\/b\\\/2012\\\/10\\\/28\\\/watch-sandy-in-r-including-forecast-cone\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2012\\\/10\\\/28\\\/watch-sandy-in-r-including-forecast-cone\\\/#primaryimage\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/rud.is\\\/b\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/Snapshot-102812-816-AM.png?fit=485%2C490&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/rud.is\\\/b\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/Snapshot-102812-816-AM.png?fit=485%2C490&ssl=1\",\"width\":\"485\",\"height\":\"490\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2012\\\/10\\\/28\\\/watch-sandy-in-r-including-forecast-cone\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/rud.is\\\/b\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Watch Sandy in &#8220;R&#8221; (Including Forecast Cone)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/#website\",\"url\":\"https:\\\/\\\/rud.is\\\/b\\\/\",\"name\":\"rud.is\",\"description\":\"&quot;In God we trust. All others must bring data&quot;\",\"publisher\":{\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/#\\\/schema\\\/person\\\/d7cb7487ab0527447f7fda5c423ff886\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/rud.is\\\/b\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/#\\\/schema\\\/person\\\/d7cb7487ab0527447f7fda5c423ff886\",\"name\":\"hrbrmstr\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/i0.wp.com\\\/rud.is\\\/b\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/ukr-shield.png?fit=460%2C460&ssl=1\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/rud.is\\\/b\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/ukr-shield.png?fit=460%2C460&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/rud.is\\\/b\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/ukr-shield.png?fit=460%2C460&ssl=1\",\"width\":460,\"height\":460,\"caption\":\"hrbrmstr\"},\"logo\":{\"@id\":\"https:\\\/\\\/i0.wp.com\\\/rud.is\\\/b\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/ukr-shield.png?fit=460%2C460&ssl=1\"},\"description\":\"Don't look at me\u2026I do what he does \u2014 just slower. #rstats avuncular \u2022 ?Resistance Fighter \u2022 Cook \u2022 Christian \u2022 [Master] Chef des Donn\u00e9es de S\u00e9curit\u00e9 @ @rapid7\",\"sameAs\":[\"http:\\\/\\\/rud.is\"],\"url\":\"https:\\\/\\\/rud.is\\\/b\\\/author\\\/hrbrmstr\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Watch Sandy in \"R\" (Including Forecast Cone) - rud.is","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/rud.is\/b\/2012\/10\/28\/watch-sandy-in-r-including-forecast-cone\/","og_locale":"en_US","og_type":"article","og_title":"Watch Sandy in \"R\" (Including Forecast Cone) - rud.is","og_description":"As indicated in the code comments, Google took down the cone KML files. I&#8217;ll be changing the code to use the NHC archived cone files later tonight NOTE: There is significantly updated code on github for the Sandy &#8216;R&#8217; dataviz. This is a follow-up post to the quickly crafted Watch Sandy in &#8220;R&#8221; post last [&hellip;]","og_url":"https:\/\/rud.is\/b\/2012\/10\/28\/watch-sandy-in-r-including-forecast-cone\/","og_site_name":"rud.is","article_published_time":"2012-10-28T12:11:19+00:00","article_modified_time":"2017-03-27T14:43:18+00:00","og_image":[{"url":"https:\/\/rud.is\/b\/wp-content\/uploads\/2012\/10\/Snapshot-102812-816-AM.png","type":"","width":"","height":""}],"author":"hrbrmstr","twitter_card":"summary_large_image","twitter_misc":{"Written by":"hrbrmstr","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/rud.is\/b\/2012\/10\/28\/watch-sandy-in-r-including-forecast-cone\/#article","isPartOf":{"@id":"https:\/\/rud.is\/b\/2012\/10\/28\/watch-sandy-in-r-including-forecast-cone\/"},"author":{"name":"hrbrmstr","@id":"https:\/\/rud.is\/b\/#\/schema\/person\/d7cb7487ab0527447f7fda5c423ff886"},"headline":"Watch Sandy in &#8220;R&#8221; (Including Forecast Cone)","datePublished":"2012-10-28T12:11:19+00:00","dateModified":"2017-03-27T14:43:18+00:00","mainEntityOfPage":{"@id":"https:\/\/rud.is\/b\/2012\/10\/28\/watch-sandy-in-r-including-forecast-cone\/"},"wordCount":100,"commentCount":18,"publisher":{"@id":"https:\/\/rud.is\/b\/#\/schema\/person\/d7cb7487ab0527447f7fda5c423ff886"},"image":{"@id":"https:\/\/rud.is\/b\/2012\/10\/28\/watch-sandy-in-r-including-forecast-cone\/#primaryimage"},"thumbnailUrl":"https:\/\/rud.is\/b\/wp-content\/uploads\/2012\/10\/Snapshot-102812-816-AM.png","articleSection":["R"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/rud.is\/b\/2012\/10\/28\/watch-sandy-in-r-including-forecast-cone\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/rud.is\/b\/2012\/10\/28\/watch-sandy-in-r-including-forecast-cone\/","url":"https:\/\/rud.is\/b\/2012\/10\/28\/watch-sandy-in-r-including-forecast-cone\/","name":"Watch Sandy in \"R\" (Including Forecast Cone) - rud.is","isPartOf":{"@id":"https:\/\/rud.is\/b\/#website"},"primaryImageOfPage":{"@id":"https:\/\/rud.is\/b\/2012\/10\/28\/watch-sandy-in-r-including-forecast-cone\/#primaryimage"},"image":{"@id":"https:\/\/rud.is\/b\/2012\/10\/28\/watch-sandy-in-r-including-forecast-cone\/#primaryimage"},"thumbnailUrl":"https:\/\/rud.is\/b\/wp-content\/uploads\/2012\/10\/Snapshot-102812-816-AM.png","datePublished":"2012-10-28T12:11:19+00:00","dateModified":"2017-03-27T14:43:18+00:00","breadcrumb":{"@id":"https:\/\/rud.is\/b\/2012\/10\/28\/watch-sandy-in-r-including-forecast-cone\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/rud.is\/b\/2012\/10\/28\/watch-sandy-in-r-including-forecast-cone\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/rud.is\/b\/2012\/10\/28\/watch-sandy-in-r-including-forecast-cone\/#primaryimage","url":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2012\/10\/Snapshot-102812-816-AM.png?fit=485%2C490&ssl=1","contentUrl":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2012\/10\/Snapshot-102812-816-AM.png?fit=485%2C490&ssl=1","width":"485","height":"490"},{"@type":"BreadcrumbList","@id":"https:\/\/rud.is\/b\/2012\/10\/28\/watch-sandy-in-r-including-forecast-cone\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/rud.is\/b\/"},{"@type":"ListItem","position":2,"name":"Watch Sandy in &#8220;R&#8221; (Including Forecast Cone)"}]},{"@type":"WebSite","@id":"https:\/\/rud.is\/b\/#website","url":"https:\/\/rud.is\/b\/","name":"rud.is","description":"&quot;In God we trust. All others must bring data&quot;","publisher":{"@id":"https:\/\/rud.is\/b\/#\/schema\/person\/d7cb7487ab0527447f7fda5c423ff886"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/rud.is\/b\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/rud.is\/b\/#\/schema\/person\/d7cb7487ab0527447f7fda5c423ff886","name":"hrbrmstr","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2023\/10\/ukr-shield.png?fit=460%2C460&ssl=1","url":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2023\/10\/ukr-shield.png?fit=460%2C460&ssl=1","contentUrl":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2023\/10\/ukr-shield.png?fit=460%2C460&ssl=1","width":460,"height":460,"caption":"hrbrmstr"},"logo":{"@id":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2023\/10\/ukr-shield.png?fit=460%2C460&ssl=1"},"description":"Don't look at me\u2026I do what he does \u2014 just slower. #rstats avuncular \u2022 ?Resistance Fighter \u2022 Cook \u2022 Christian \u2022 [Master] Chef des Donn\u00e9es de S\u00e9curit\u00e9 @ @rapid7","sameAs":["http:\/\/rud.is"],"url":"https:\/\/rud.is\/b\/author\/hrbrmstr\/"}]}},"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p23idr-se","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":1738,"url":"https:\/\/rud.is\/b\/2012\/10\/27\/watch-sandy-in-r\/","url_meta":{"origin":1750,"position":0},"title":"Watch &#8220;Sandy&#8221; In R","author":"hrbrmstr","date":"2012-10-27","format":false,"excerpt":"UPDATE: Significantly updated code on githubWell, a couple folks asked how to make it more \"centered\" on the hurricane and stop the labels from chopping off, so I modified the previous code a bit to show how to do that. As indicated in the code comments, Google took down the\u2026","rel":"","context":"In &quot;R&quot;","block_context":{"text":"R","link":"https:\/\/rud.is\/b\/category\/r\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1761,"url":"https:\/\/rud.is\/b\/2012\/10\/29\/sandy-code-up-on-github\/","url_meta":{"origin":1750,"position":1},"title":"&#8216;Sandy&#8217; Code Up On Github","author":"hrbrmstr","date":"2012-10-29","format":false,"excerpt":"UPDATE: As indicated in the code comments, Google took down the cone KML files. I'll be changing the code to use the NHC archived cone files later tonight I will (most likely) not be littering the blog with any more updates to the 'Sandy' code unless they are really significant.\u2026","rel":"","context":"In &quot;R&quot;","block_context":{"text":"R","link":"https:\/\/rud.is\/b\/category\/r\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3083,"url":"https:\/\/rud.is\/b\/2014\/10\/07\/plot-me-like-a-hurricane-a-k-a-animating-historical-north-atlantic-basin-tropical-storm-tracks\/","url_meta":{"origin":1750,"position":2},"title":"Plot Me Like a Hurricane (a.k.a. animating historical North Atlantic basin tropical storm tracks)","author":"hrbrmstr","date":"2014-10-07","format":false,"excerpt":"Markus Gessman (@MarkusGesmann) did a beautiful job [Visualising the seasonality of Atlantic windstorms](http:\/\/www.magesblog.com\/2014\/10\/visualising-seasonality-of-atlantic.html) using small multiples, which was inspired by both a [post](http:\/\/freakonometrics.hypotheses.org\/17113) by Arthur Charpentier (@freakonometrics) on using Markov spatial processes to \"generate\" hurricanes\u2014which was [tweaked a bit](http:\/\/robertgrantstats.wordpress.com\/2014\/10\/01\/transparent-hurricane-paths-in-r\/) by Robert Grant (@robertstats)\u2014and [Gaston Sanchez](https:\/\/github.com\/gastonstat)'s [Visualizing Hurricane Trajectories](http:\/\/rpubs.com\/gaston\/hurricanes) RPub. I\u2026","rel":"","context":"In &quot;Data Visualization&quot;","block_context":{"text":"Data Visualization","link":"https:\/\/rud.is\/b\/category\/data-visualization\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":5580,"url":"https:\/\/rud.is\/b\/2017\/04\/02\/simple-offline-airport-wi-fi-tracker-in-r\/","url_meta":{"origin":1750,"position":3},"title":"Simple Offline Airport Wi-Fi Tracker in R","author":"hrbrmstr","date":"2017-04-02","format":false,"excerpt":"@visualisingdata rebroadcast this tweet today: Wireless Passwords From Airports And Lounges Around The World https:\/\/t.co\/OV0WJfwj8E\u2014 deb verhoeven (@bestqualitycrab) April 2, 2017 The Google Maps interface is a bit meh and the \"formatted\" data is also a bit meh but the data is useful when travelling (NOTE: always use a VPN\u2026","rel":"","context":"In &quot;R&quot;","block_context":{"text":"R","link":"https:\/\/rud.is\/b\/category\/r\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":12891,"url":"https:\/\/rud.is\/b\/2021\/01\/23\/swiftr-switcheroo-calling-compiled-swift-from-r\/","url_meta":{"origin":1750,"position":4},"title":"SwiftR Switcheroo: Calling [Compiled] Swift from R!","author":"hrbrmstr","date":"2021-01-23","format":false,"excerpt":"I've been on a Swift + R bender for a while now, but have been envious of the pure macOS\/iOS (et al) folks who get to use Apple's seriously ++good machine learning libraries, which are even more robust on the new M1 hardware (it's cool having hardware components dedicated to\u2026","rel":"","context":"In &quot;macOS&quot;","block_context":{"text":"macOS","link":"https:\/\/rud.is\/b\/category\/macos\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2685,"url":"https:\/\/rud.is\/b\/2013\/09\/19\/animated-irl-pirate-attacks-in-r\/","url_meta":{"origin":1750,"position":5},"title":"Animated IRL Pirate Attacks In R","author":"hrbrmstr","date":"2013-09-19","format":false,"excerpt":"Avast me hearRties! (ok, enough of the pirate speak in a blog post) It wouldn't be TLAPD without out some modest code & idea pilfering from Mark Bulling & Simon Raper. While those mateys did a fine job hoisting up some R code (your really didn't think I'd stop with\u2026","rel":"","context":"In &quot;DataVis&quot;","block_context":{"text":"DataVis","link":"https:\/\/rud.is\/b\/category\/datavis-2\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/posts\/1750","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/comments?post=1750"}],"version-history":[{"count":0,"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/posts\/1750\/revisions"}],"wp:attachment":[{"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/media?parent=1750"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/categories?post=1750"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/tags?post=1750"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}