

{"id":2637,"date":"2013-09-08T07:59:09","date_gmt":"2013-09-08T12:59:09","guid":{"rendered":"http:\/\/rud.is\/b\/?p=2637"},"modified":"2017-04-02T22:51:55","modified_gmt":"2017-04-03T03:51:55","slug":"rforecastio-simple-r-package-to-access-forecast-io-weather-data","status":"publish","type":"post","link":"https:\/\/rud.is\/b\/2013\/09\/08\/rforecastio-simple-r-package-to-access-forecast-io-weather-data\/","title":{"rendered":"Rforecastio &#8211; Simple R Package To Access forecast.io Weather Data"},"content":{"rendered":"<p>It doesn&#8217;t get much better for me than when I can combine R and weather data in new ways. I&#8217;ve got something brewing with my Nest thermostat and needed to get some current wx readings plus forecast data. I could have chosen a number of different sources or API&#8217;s but I wanted to play with the data over at <a href=\"https:\/\/darksky.net\/forecast\/40.7143,-74.006\/us12\/en\">forecast.io<\/a> (if you haven&#8217;t loaded their free weather &#8220;app&#8221; on your phone\/tablet you should do that NOW) so I whipped together a small R package to fetch and process the JSON to make it easier to work with in R.<\/p>\n<p>The package contains a singular function and the magic is all in the conversion of the JSON hourly\/minutely weather data into R data frames, which is dirt simple to do since <code>RJSONIO<\/code> and <code>sapply<\/code> do all the hard work for us:<\/p>\n<pre lang=\"rsplus\"># take the JSON blob we got from forecast.io and make an R list from it\r\nfio <- fromJSON(fio.json)\r\n  \r\n# extract hourly forecast data  \r\nfio.hourly.df <- data.frame(\r\n  time = ISOdatetime(1960,1,1,0,0,0) + sapply(fio$hourly$data,\"[[\",\"time\"),\r\n  summary = sapply(fio$hourly$data,\"[[\",\"summary\"),\r\n  icon = sapply(fio$hourly$data,\"[[\",\"icon\"),\r\n  precipIntensity = sapply(fio$hourly$data,\"[[\",\"precipIntensity\"),\r\n  temperature = sapply(fio$hourly$data,\"[[\",\"temperature\"),\r\n  apparentTemperature = sapply(fio$hourly$data,\"[[\",\"apparentTemperature\"),\r\n  dewPoint = sapply(fio$hourly$data,\"[[\",\"dewPoint\"),\r\n  windSpeed = sapply(fio$hourly$data,\"[[\",\"windSpeed\"),\r\n  windBearing = sapply(fio$hourly$data,\"[[\",\"windBearing\"),\r\n  cloudCover = sapply(fio$hourly$data,\"[[\",\"cloudCover\"),\r\n  humidity = sapply(fio$hourly$data,\"[[\",\"humidity\"),\r\n  pressure = sapply(fio$hourly$data,\"[[\",\"pressure\"),\r\n  visibility = sapply(fio$hourly$data,\"[[\",\"visibility\"),\r\n  ozone = sapply(fio$hourly$data,\"[[\",\"ozone\")\r\n)\r\n<\/pre>\n<p>You can view the full code over <a href=\"https:\/\/github.com\/hrbrmstr\/Rforecastio\">at github<\/a> and there's some sample usage below.<\/p>\n<pre lang=\"rsplus\">library(\"devtools\")\r\ninstall_github(\"Rforecastio\", \"hrbrmstr\")\r\n\r\nlibrary(Rforecastio)\r\nlibrary(ggplot2)\r\n\r\n# NEVER put credentials or api keys in script bodies or github repos!!\r\n# the \"config\" file has one thing in it, the api key string on one line\r\n# this is all it takes to read it in\r\nfio.api.key = readLines(\"~\/.forecast.io\")\r\n\r\nmy.latitude = \"43.2673\"\r\nmy.longitude = \"-70.8618\"\r\n\r\nfio.list <- fio.forecast(fio.api.key, my.latitude, my.longitude)\r\n\r\n# setup \"forecast\" highlight plot area\r\n\r\nforecast.x.min <- ISOdatetime(1960,1,1,0,0,0) + unclass(Sys.time())\r\nforecast.x.max <- max(fio.list$hourly.df$time)\r\nif (forecast.x.min > forecast.x.max) forecast.x.min <- forecast.x.max\r\nfio.forecast.range.df <- data.frame(xmin=forecast.x.min, xmax=forecast.x.max,\r\n                                    ymin=-Inf, ymax=+Inf)\r\n\r\n# plot the readings\r\n\r\nfio.gg <- ggplot(data=fio.list$hourly.df,aes(x=time, y=temperature))\r\nfio.gg <- fio.gg + labs(y=\"Readings\", x=\"Time\")\r\nfio.gg <- fio.gg + geom_rect(data=fio.forecast.range.df,\r\n                             aes(xmin=xmin, xmax=xmax,\r\n                                 ymin=ymin, ymax=ymax), \r\n                             fill=\"yellow\", alpha=(0.15),\r\n                             inherit.aes = FALSE)\r\nfio.gg <- fio.gg + geom_line(aes(y=humidity*100), color=\"green\")\r\nfio.gg <- fio.gg + geom_line(aes(y=temperature), color=\"red\")\r\nfio.gg <- fio.gg + geom_line(aes(y=dewPoint), color=\"blue\")\r\nfio.gg <- fio.gg + theme_bw()\r\nfio.gg\r\n<\/pre>\n<p><center><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"2638\" data-permalink=\"https:\/\/rud.is\/b\/2013\/09\/08\/rforecastio-simple-r-package-to-access-forecast-io-weather-data\/test\/\" data-orig-file=\"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2013\/09\/test.png?fit=500%2C300&amp;ssl=1\" data-orig-size=\"500,300\" 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=\"test\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2013\/09\/test.png?fit=300%2C180&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2013\/09\/test.png?fit=500%2C300&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2013\/09\/test.png?resize=500%2C300&#038;ssl=1\" alt=\"test\" width=\"500\" height=\"300\" class=\"aligncenter size-full wp-image-2638\" srcset=\"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2013\/09\/test.png?w=500&amp;ssl=1 500w, https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2013\/09\/test.png?resize=150%2C90&amp;ssl=1 150w, https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2013\/09\/test.png?resize=300%2C180&amp;ssl=1 300w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/center><\/p>\n","protected":false},"excerpt":{"rendered":"<p>It doesn&#8217;t get much better for me than when I can combine R and weather data in new ways. I&#8217;ve got something brewing with my Nest thermostat and needed to get some current wx readings plus forecast data. I could have chosen a number of different sources or API&#8217;s but I wanted to play with [&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":[63,91,680],"tags":[702],"class_list":["post-2637","post","type-post","status-publish","format-standard","hentry","category-development","category-r","category-weather","tag-rforecastio"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Rforecastio - Simple R Package To Access forecast.io Weather Data - 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\/2013\/09\/08\/rforecastio-simple-r-package-to-access-forecast-io-weather-data\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Rforecastio - Simple R Package To Access forecast.io Weather Data - rud.is\" \/>\n<meta property=\"og:description\" content=\"It doesn&#8217;t get much better for me than when I can combine R and weather data in new ways. I&#8217;ve got something brewing with my Nest thermostat and needed to get some current wx readings plus forecast data. I could have chosen a number of different sources or API&#8217;s but I wanted to play with [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/rud.is\/b\/2013\/09\/08\/rforecastio-simple-r-package-to-access-forecast-io-weather-data\/\" \/>\n<meta property=\"og:site_name\" content=\"rud.is\" \/>\n<meta property=\"article:published_time\" content=\"2013-09-08T12:59:09+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-04-03T03:51:55+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/rud.is\/b\/wp-content\/uploads\/2013\/09\/test.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\/2013\/09\/08\/rforecastio-simple-r-package-to-access-forecast-io-weather-data\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/rud.is\/b\/2013\/09\/08\/rforecastio-simple-r-package-to-access-forecast-io-weather-data\/\"},\"author\":{\"name\":\"hrbrmstr\",\"@id\":\"https:\/\/rud.is\/b\/#\/schema\/person\/d7cb7487ab0527447f7fda5c423ff886\"},\"headline\":\"Rforecastio &#8211; Simple R Package To Access forecast.io Weather Data\",\"datePublished\":\"2013-09-08T12:59:09+00:00\",\"dateModified\":\"2017-04-03T03:51:55+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/rud.is\/b\/2013\/09\/08\/rforecastio-simple-r-package-to-access-forecast-io-weather-data\/\"},\"wordCount\":172,\"commentCount\":15,\"publisher\":{\"@id\":\"https:\/\/rud.is\/b\/#\/schema\/person\/d7cb7487ab0527447f7fda5c423ff886\"},\"image\":{\"@id\":\"https:\/\/rud.is\/b\/2013\/09\/08\/rforecastio-simple-r-package-to-access-forecast-io-weather-data\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/rud.is\/b\/wp-content\/uploads\/2013\/09\/test.png\",\"keywords\":[\"Rforecastio\"],\"articleSection\":[\"Development\",\"R\",\"Weather\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/rud.is\/b\/2013\/09\/08\/rforecastio-simple-r-package-to-access-forecast-io-weather-data\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/rud.is\/b\/2013\/09\/08\/rforecastio-simple-r-package-to-access-forecast-io-weather-data\/\",\"url\":\"https:\/\/rud.is\/b\/2013\/09\/08\/rforecastio-simple-r-package-to-access-forecast-io-weather-data\/\",\"name\":\"Rforecastio - Simple R Package To Access forecast.io Weather Data - rud.is\",\"isPartOf\":{\"@id\":\"https:\/\/rud.is\/b\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/rud.is\/b\/2013\/09\/08\/rforecastio-simple-r-package-to-access-forecast-io-weather-data\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/rud.is\/b\/2013\/09\/08\/rforecastio-simple-r-package-to-access-forecast-io-weather-data\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/rud.is\/b\/wp-content\/uploads\/2013\/09\/test.png\",\"datePublished\":\"2013-09-08T12:59:09+00:00\",\"dateModified\":\"2017-04-03T03:51:55+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/rud.is\/b\/2013\/09\/08\/rforecastio-simple-r-package-to-access-forecast-io-weather-data\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/rud.is\/b\/2013\/09\/08\/rforecastio-simple-r-package-to-access-forecast-io-weather-data\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/rud.is\/b\/2013\/09\/08\/rforecastio-simple-r-package-to-access-forecast-io-weather-data\/#primaryimage\",\"url\":\"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2013\/09\/test.png?fit=500%2C300&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2013\/09\/test.png?fit=500%2C300&ssl=1\",\"width\":500,\"height\":300},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/rud.is\/b\/2013\/09\/08\/rforecastio-simple-r-package-to-access-forecast-io-weather-data\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/rud.is\/b\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Rforecastio &#8211; Simple R Package To Access forecast.io Weather Data\"}]},{\"@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":"Rforecastio - Simple R Package To Access forecast.io Weather Data - 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\/2013\/09\/08\/rforecastio-simple-r-package-to-access-forecast-io-weather-data\/","og_locale":"en_US","og_type":"article","og_title":"Rforecastio - Simple R Package To Access forecast.io Weather Data - rud.is","og_description":"It doesn&#8217;t get much better for me than when I can combine R and weather data in new ways. I&#8217;ve got something brewing with my Nest thermostat and needed to get some current wx readings plus forecast data. I could have chosen a number of different sources or API&#8217;s but I wanted to play with [&hellip;]","og_url":"https:\/\/rud.is\/b\/2013\/09\/08\/rforecastio-simple-r-package-to-access-forecast-io-weather-data\/","og_site_name":"rud.is","article_published_time":"2013-09-08T12:59:09+00:00","article_modified_time":"2017-04-03T03:51:55+00:00","og_image":[{"url":"https:\/\/rud.is\/b\/wp-content\/uploads\/2013\/09\/test.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\/2013\/09\/08\/rforecastio-simple-r-package-to-access-forecast-io-weather-data\/#article","isPartOf":{"@id":"https:\/\/rud.is\/b\/2013\/09\/08\/rforecastio-simple-r-package-to-access-forecast-io-weather-data\/"},"author":{"name":"hrbrmstr","@id":"https:\/\/rud.is\/b\/#\/schema\/person\/d7cb7487ab0527447f7fda5c423ff886"},"headline":"Rforecastio &#8211; Simple R Package To Access forecast.io Weather Data","datePublished":"2013-09-08T12:59:09+00:00","dateModified":"2017-04-03T03:51:55+00:00","mainEntityOfPage":{"@id":"https:\/\/rud.is\/b\/2013\/09\/08\/rforecastio-simple-r-package-to-access-forecast-io-weather-data\/"},"wordCount":172,"commentCount":15,"publisher":{"@id":"https:\/\/rud.is\/b\/#\/schema\/person\/d7cb7487ab0527447f7fda5c423ff886"},"image":{"@id":"https:\/\/rud.is\/b\/2013\/09\/08\/rforecastio-simple-r-package-to-access-forecast-io-weather-data\/#primaryimage"},"thumbnailUrl":"https:\/\/rud.is\/b\/wp-content\/uploads\/2013\/09\/test.png","keywords":["Rforecastio"],"articleSection":["Development","R","Weather"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/rud.is\/b\/2013\/09\/08\/rforecastio-simple-r-package-to-access-forecast-io-weather-data\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/rud.is\/b\/2013\/09\/08\/rforecastio-simple-r-package-to-access-forecast-io-weather-data\/","url":"https:\/\/rud.is\/b\/2013\/09\/08\/rforecastio-simple-r-package-to-access-forecast-io-weather-data\/","name":"Rforecastio - Simple R Package To Access forecast.io Weather Data - rud.is","isPartOf":{"@id":"https:\/\/rud.is\/b\/#website"},"primaryImageOfPage":{"@id":"https:\/\/rud.is\/b\/2013\/09\/08\/rforecastio-simple-r-package-to-access-forecast-io-weather-data\/#primaryimage"},"image":{"@id":"https:\/\/rud.is\/b\/2013\/09\/08\/rforecastio-simple-r-package-to-access-forecast-io-weather-data\/#primaryimage"},"thumbnailUrl":"https:\/\/rud.is\/b\/wp-content\/uploads\/2013\/09\/test.png","datePublished":"2013-09-08T12:59:09+00:00","dateModified":"2017-04-03T03:51:55+00:00","breadcrumb":{"@id":"https:\/\/rud.is\/b\/2013\/09\/08\/rforecastio-simple-r-package-to-access-forecast-io-weather-data\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/rud.is\/b\/2013\/09\/08\/rforecastio-simple-r-package-to-access-forecast-io-weather-data\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/rud.is\/b\/2013\/09\/08\/rforecastio-simple-r-package-to-access-forecast-io-weather-data\/#primaryimage","url":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2013\/09\/test.png?fit=500%2C300&ssl=1","contentUrl":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2013\/09\/test.png?fit=500%2C300&ssl=1","width":500,"height":300},{"@type":"BreadcrumbList","@id":"https:\/\/rud.is\/b\/2013\/09\/08\/rforecastio-simple-r-package-to-access-forecast-io-weather-data\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/rud.is\/b\/"},{"@type":"ListItem","position":2,"name":"Rforecastio &#8211; Simple R Package To Access forecast.io Weather Data"}]},{"@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-Gx","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":2973,"url":"https:\/\/rud.is\/b\/2014\/05\/04\/rforecastio-package-update-1-1-0\/","url_meta":{"origin":2637,"position":0},"title":"Rforecastio Package Update (1.1.0)","author":"hrbrmstr","date":"2014-05-04","format":false,"excerpt":"I've bumped up the version number of `Rforecastio` ([github](https:\/\/github.com\/hrbrmstr\/Rforecastio)) to `1.1.0`. The new features are: - removing the SSL certificate bypass check (it doesn't need it anymore) - using `plyr` for easier conversion of JSON-\\>data frame - adding in a new `daily` forecast data frame - roxygen2 inline documentation library(Rforecastio)\u2026","rel":"","context":"In &quot;Development&quot;","block_context":{"text":"Development","link":"https:\/\/rud.is\/b\/category\/development\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2983,"url":"https:\/\/rud.is\/b\/2014\/05\/06\/rforecastio-1-3-0-update\/","url_meta":{"origin":2637,"position":1},"title":"Rforecastio 1.3.0 Update","author":"hrbrmstr","date":"2014-05-06","format":false,"excerpt":"Thanks to a comment suggestion, the Rforecastio package is now up to version 1.3.0 and has a new parameter which lets you specify which time conversion function you want to use. Details are up on [github](https:\/\/github.com\/hrbrmstr\/Rforecastio).","rel":"","context":"In &quot;Development&quot;","block_context":{"text":"Development","link":"https:\/\/rud.is\/b\/category\/development\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2981,"url":"https:\/\/rud.is\/b\/2014\/05\/05\/rforecastio-1-2-0-bug-fix-update\/","url_meta":{"origin":2637,"position":2},"title":"Rforecastio 1.2.0 Bug-fix Update","author":"hrbrmstr","date":"2014-05-05","format":false,"excerpt":"Not even going to put an `R` category on this since I don't want to pollute R-bloggers with this tiny post, but I had to provide the option to let folks specify `ssl.verifypeer=FALSE` (so I made it a generic option to pass in any CURL parameters) and I had a\u2026","rel":"","context":"In &quot;Development&quot;","block_context":{"text":"Development","link":"https:\/\/rud.is\/b\/category\/development\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3977,"url":"https:\/\/rud.is\/b\/2016\/02\/27\/create-vega-lite-specs-widgets-with-the-vegalite-package\/","url_meta":{"origin":2637,"position":3},"title":"Create Vega-Lite specs &#038; widgets with the vegalite package","author":"hrbrmstr","date":"2016-02-27","format":false,"excerpt":"[Vega-Lite](http:\/\/vega.github.io\/vega-lite\/) 1.0 was [released this past week](https:\/\/medium.com\/@uwdata\/introducing-vega-lite-438f9215f09e#.yfkl0tp1c). I had been meaning to play with it for a while but I've been burned before by working with unstable APIs and was waiting for this to bake to a stable release. Thankfully, there were no new shows in the Fire TV, Apple\u2026","rel":"","context":"In &quot;d3&quot;","block_context":{"text":"d3","link":"https:\/\/rud.is\/b\/category\/d3\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2016\/02\/gallery.png?fit=1200%2C595&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2016\/02\/gallery.png?fit=1200%2C595&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2016\/02\/gallery.png?fit=1200%2C595&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2016\/02\/gallery.png?fit=1200%2C595&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2016\/02\/gallery.png?fit=1200%2C595&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":6091,"url":"https:\/\/rud.is\/b\/2017\/06\/17\/replicating-the-apache-drill-yelp-academic-dataset-with-sergeant\/","url_meta":{"origin":2637,"position":4},"title":"Replicating the Apache Drill &#8216;Yelp&#8217; Academic Dataset Analysis with sergeant","author":"hrbrmstr","date":"2017-06-17","format":false,"excerpt":"The Apache Drill folks have a nice walk-through tutorial on how to analyze the Yelp Academic Dataset with Drill. It's a bit out of date (the current Yelp data set structure is different enough that the tutorial will error out at various points), but it's a great example of how\u2026","rel":"","context":"In &quot;Apache Drill&quot;","block_context":{"text":"Apache Drill","link":"https:\/\/rud.is\/b\/category\/apache-drill\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":11479,"url":"https:\/\/rud.is\/b\/2018\/09\/09\/driving-drill-dynamically-with-docker-and-updating-storage-configurations-on-the-fly-with-sergeant\/","url_meta":{"origin":2637,"position":5},"title":"Driving Drill Dynamically with Docker and Updating Storage Configurations On-the-fly with sergeant","author":"hrbrmstr","date":"2018-09-09","format":false,"excerpt":"The sergeant? package has a minor update that adds REST API coverage for two \"new\" storage endpoints that make it possible to add, update and remove storage configurations on-the-fly without using the GUI or manually updating a config file. This is an especially handy feature when paired with Drill's new,\u2026","rel":"","context":"In &quot;Apache Drill&quot;","block_context":{"text":"Apache Drill","link":"https:\/\/rud.is\/b\/category\/apache-drill\/"},"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\/2637","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=2637"}],"version-history":[{"count":0,"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/posts\/2637\/revisions"}],"wp:attachment":[{"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/media?parent=2637"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/categories?post=2637"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/tags?post=2637"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}