

{"id":4335,"date":"2016-04-13T23:35:44","date_gmt":"2016-04-14T04:35:44","guid":{"rendered":"http:\/\/rud.is\/b\/?p=4335"},"modified":"2018-03-07T16:42:22","modified_gmt":"2018-03-07T21:42:22","slug":"52vis-week-3-waste-not-want-not","status":"publish","type":"post","link":"https:\/\/rud.is\/b\/2016\/04\/13\/52vis-week-3-waste-not-want-not\/","title":{"rendered":"52Vis Week #3 &#8211; Waste Not, Want Not"},"content":{"rendered":"<p>The Wall Street Journal did a project piece [a while back](http:\/\/projects.wsj.com\/waste-lands\/) in the _&#8221;Waste Lands: America&#8217;s Forgotten Nuclear Legacy&#8221;_. They dug through [Department of Energy](http:\/\/www.lm.doe.gov\/default.aspx?id=2602) and [CDC](http:\/\/www.cdc.gov\/niosh\/ocas\/ocasawe.html) data to provide an overview of the lingering residue of this toxic time in America&#8217;s past (somehow, I have to believe the fracking phenomena of our modern era will end up doing far more damage in the long run). <\/p>\n<p>Being a somewhat interactive piece, I was able to tease out the data source behind it for this week&#8217;s challenge. I&#8217;m, once again, removing the obvious vis and re-creating a non-interactive version of the WSJ&#8217;s main map view (with some additional details).<\/p>\n<p>There&#8217;s definitely a story or two here, but I felt that the overall message fell a bit flat the way the WSJ folks told it. Can you find an angle or question that tells a tale in a more compelling fashion? I added some hints in the code snippet below (and in the repo) as to how you might find additional details for each toxic site (and said details are super-scrape-able with `rvest`). I also noticed some additional external data sets that could be brought in (but I&#8217;ll leave that detective work to our contestants).<\/p>\n<p>If you&#8217;re up to the task, fork [this week&#8217;s repo](https:\/\/github.com\/52vis\/2016-15), create a subdirectory for your submission and shoot a PR my way (notifying folks here in the comments about your submission is also encouraged).<\/p>\n<p>Entries accepted up until 2016-04-20 23:59:59 EDT.<\/p>\n<p>Hadley has volunteered a signed book and I think I&#8217;ll take him up on the offer for this week&#8217;s prize (unless you really want a copy of Data-Driven Security :-).<\/p>\n<p>One last note: I&#8217;ve secured `52vis.com` and will be getting that configured for next week&#8217;s contest. It&#8217;ll be a nice showcase site for all the submissions.<\/p>\n<pre lang=\"rsplus\">library(albersusa) # devtools::install_github(\"hrbrmstr\/hrbrmisc\")\r\nlibrary(rgeos)\r\nlibrary(maptools)\r\nlibrary(ggplot2)\r\nlibrary(ggalt)\r\nlibrary(ggthemes)\r\nlibrary(jsonlite)\r\nlibrary(tidyr)\r\nlibrary(dplyr)\r\nlibrary(purrr)\r\n\r\n#' WSJ Waste Lands: http:\/\/projects.wsj.com\/waste-lands\/\r\n#' Data from: http:\/\/www.lm.doe.gov\/default.aspx?id=2602 &\r\n#'            http:\/\/www.cdc.gov\/niosh\/ocas\/ocasawe.html\r\n\r\nsites <- fromJSON(\"sites.json\", flatten=TRUE)\r\n\r\n#' need to replace the 0-length data.frames with at least one row of `NA`s\r\n#' so we can safely `unnest()` them later\r\n\r\nsites$locations <- map(sites$locations, function(x) {\r\n  if (nrow(x) == 0) {\r\n    data_frame(latitude=NA, longitude=NA, postal_code=NA, name=NA, street_address=NA)\r\n  } else {\r\n    x\r\n  }\r\n})\r\n\r\n#' we'll need this later\r\n\r\nsites$site.rating <- factor(sites$site.rating,\r\n                           levels=c(3:0),\r\n                           labels=c(\"Remote or no potential for radioactive contamination, based on criteria at the time of FUSRAP review.\",\r\n                                    \"Referred to another agency or program, no authority to clean up under FUSRAP, or status unclear.\",\r\n                                    \"Cleanup declared complete under FUSRAP.\",\r\n                                    \"Cleanup in progress under the Formerly Utilized Sites Remedial Action Program (FUSRAP).\"))\r\n\r\n#' One teensy discrepancy:\r\n\r\nnrow(sites)\r\n\r\n#' ## [1] 517\r\n#'\r\n#' The stacked bars total on the WSJ site is 515.\r\n#' Further complication is that sites$locations is a list column with nested\r\n#' data.frames:\r\n\r\nsites <- unnest(sites)\r\n\r\nnrow(sites)\r\n\r\n#' ## [1] 549\r\n\r\nsum(complete.cases(sites[,c(\"longitude\", \"latitude\")]))\r\n\r\n#' ## [1] 352\r\n#'\r\n#' So, just mapping long\/lat is going to miss part of the story. But, I'm just\r\n#' providing a kick-start for folks, so I'll just map long\/lat :-)\r\n\r\nglimpse(sites)\r\n\r\n#' ## Observations: 549\r\n#' ## Variables: 11\r\n#' ## $ site.city      (chr) \"Flint\", \"Albuquerque\", \"Buffalo\", \"Los...\r\n#' ## $ site.name      (chr) \"AC Spark Plug, Dort Highway Plant\", \"A...\r\n#' ## $ site.rating    (fctr) Remote or no potential for radioactive...\r\n#' ## $ site.state     (chr) \"MI\", \"NM\", \"NY\", \"NM\", \"PA\", \"NY\", \"OH...\r\n#' ## $ site.state_ap  (chr) \"Mich.\", \"N.M.\", \"N.Y.\", \"N.M.\", \"Pa.\",...\r\n#' ## $ site.slug      (chr) \"1-ac-spark-plug-dort-highway-plant\", \"...\r\n#' ## $ latitude       (dbl) 43.02938, NA, NA, 35.88883, 39.95295, 4...\r\n#' ## $ longitude      (dbl) -83.65525, NA, NA, -106.30502, -75.5927...\r\n#' ## $ postal_code    (chr) \"48506\", NA, NA, \"87544\", \"19382\", \"100...\r\n#' ## $ name           (chr) \"\", NA, NA, \"\", \"\", \"\", \"Former Buildin...\r\n#' ## $ street_address (chr) \"1300 North Dort Highway\", NA, NA, \"Pue...\r\n\r\n#' Note that `site.slug` can be used with this URL:\r\n#' `http:\/\/projects.wsj.com\/waste-lands\/site\/SITE.SLUG.HERE\/` to get to\r\n#' detail pages on the WSJ site.\r\n\r\n#' I want to use my `albersusa` mutated U.S. shapefile for this (NOTE: I'm moving\r\n#' `albersus` into one of the rOpenSci pacakges soon vs publishing it standalone to CRAN)\r\n#' so I need to mutate the Alaska points (there are no Hawaii points).\r\n#' This step is *not necessary* unless you plan on displaying points on this\r\n#' mutated map. I also realized I need to provide a mutated projection translation\r\n#' function for AK &#038; HI for the mutated Albers mapss.\r\n\r\ntmp  <- data.frame(dplyr::select(filter(sites, site.state==\"AK\"), longitude, latitude))\r\ncoordinates(tmp) <- ~longitude+latitude\r\nproj4string(tmp) <- CRS(us_longlat_proj)\r\ntmp <- spTransform(tmp, CRS(us_laea_proj))\r\ntmp <- elide(tmp, rotate=-50)\r\ntmp <- elide(tmp, scale=max(apply(bbox(tmp), 1, diff)) \/ 2.3)\r\ntmp <- elide(tmp, shift=c(-2100000, -2500000))\r\nproj4string(tmp) <- CRS(us_laea_proj)\r\ntmp <- spTransform(tmp, us_longlat_proj)\r\ntmp <- as.data.frame(tmp)\r\n\r\nsites[sites$site.state==\"AK\",]$longitude <- tmp$x\r\nsites[sites$site.state==\"AK\",]$latitude <- tmp$y\r\n\r\n#' and now we plot the sites\r\n\r\nus_map <- fortify(usa_composite(), region=\"name\")\r\n\r\ngg <- ggplot()\r\ngg <- gg + geom_map(data=us_map, map=us_map,\r\n                    aes(x=long, y=lat, map_id=id),\r\n                    color=\"#2b2b2b\", size=0.15, fill=\"#e5e3df\")\r\ngg <- gg + geom_point(dat=sites, aes(x=longitude, y=latitude, fill=site.rating),\r\n                      shape=21, color=\"white\", stroke=1, alpha=1, size=3)\r\ngg <- gg + scale_fill_manual(name=\"\", values=c(\"#00a0b0\", \"#edc951\", \"#6a4a3c\", \"#eb6841\"))\r\ngg <- gg + coord_proj(us_laea_proj)\r\ngg <- gg + guides(fill=guide_legend(override.aes=list(alpha=1, stroke=0.2, color=\"#2b2b2b\", size=4)))\r\ngg <- gg + labs(title=\"Waste Lands: America's Forgotten Nuclear Legacy\",\r\n                 caption=\"Data from the WSJ\")\r\ngg <- gg + theme_map()\r\ngg <- gg + theme(legend.position=\"bottom\")\r\ngg <- gg + theme(legend.direction=\"vertical\")\r\ngg <- gg + theme(legend.key=element_blank())\r\ngg <- gg + theme(plot.title=element_text(size=18, face=\"bold\", hjust=0.5))\r\ngg<\/pre>\n<p><a href=\"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2016\/04\/waste.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"4336\" data-permalink=\"https:\/\/rud.is\/b\/2016\/04\/13\/52vis-week-3-waste-not-want-not\/waste\/\" data-orig-file=\"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2016\/04\/waste.png?fit=1573%2C1288&amp;ssl=1\" data-orig-size=\"1573,1288\" 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;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"waste\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2016\/04\/waste.png?fit=510%2C418&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2016\/04\/waste.png?resize=510%2C418&#038;ssl=1\" alt=\"waste\" width=\"510\" height=\"418\" class=\"aligncenter size-full wp-image-4336\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Wall Street Journal did a project piece [a while back](http:\/\/projects.wsj.com\/waste-lands\/) in the _&#8221;Waste Lands: America&#8217;s Forgotten Nuclear Legacy&#8221;_. They dug through [Department of Energy](http:\/\/www.lm.doe.gov\/default.aspx?id=2602) and [CDC](http:\/\/www.cdc.gov\/niosh\/ocas\/ocasawe.html) data to provide an overview of the lingering residue of this toxic time in America&#8217;s past (somehow, I have to believe the fracking phenomena of our modern era [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":4336,"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":false,"_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":[773,24,673,674,753,706,91],"tags":[810],"class_list":["post-4335","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-52vis","category-charts-graphs","category-datavis-2","category-dataviz","category-ggplot","category-maps","category-r","tag-post"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>52Vis Week #3 - Waste Not, Want Not - 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\/2016\/04\/13\/52vis-week-3-waste-not-want-not\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"52Vis Week #3 - Waste Not, Want Not - rud.is\" \/>\n<meta property=\"og:description\" content=\"The Wall Street Journal did a project piece [a while back](http:\/\/projects.wsj.com\/waste-lands\/) in the _&#8221;Waste Lands: America&#8217;s Forgotten Nuclear Legacy&#8221;_. They dug through [Department of Energy](http:\/\/www.lm.doe.gov\/default.aspx?id=2602) and [CDC](http:\/\/www.cdc.gov\/niosh\/ocas\/ocasawe.html) data to provide an overview of the lingering residue of this toxic time in America&#8217;s past (somehow, I have to believe the fracking phenomena of our modern era [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/rud.is\/b\/2016\/04\/13\/52vis-week-3-waste-not-want-not\/\" \/>\n<meta property=\"og:site_name\" content=\"rud.is\" \/>\n<meta property=\"article:published_time\" content=\"2016-04-14T04:35:44+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-03-07T21:42:22+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2016\/04\/waste.png?fit=1573%2C1288&ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"1573\" \/>\n\t<meta property=\"og:image:height\" content=\"1288\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/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=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2016\\\/04\\\/13\\\/52vis-week-3-waste-not-want-not\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2016\\\/04\\\/13\\\/52vis-week-3-waste-not-want-not\\\/\"},\"author\":{\"name\":\"hrbrmstr\",\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/#\\\/schema\\\/person\\\/d7cb7487ab0527447f7fda5c423ff886\"},\"headline\":\"52Vis Week #3 &#8211; Waste Not, Want Not\",\"datePublished\":\"2016-04-14T04:35:44+00:00\",\"dateModified\":\"2018-03-07T21:42:22+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2016\\\/04\\\/13\\\/52vis-week-3-waste-not-want-not\\\/\"},\"wordCount\":348,\"commentCount\":9,\"publisher\":{\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/#\\\/schema\\\/person\\\/d7cb7487ab0527447f7fda5c423ff886\"},\"image\":{\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2016\\\/04\\\/13\\\/52vis-week-3-waste-not-want-not\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/rud.is\\\/b\\\/wp-content\\\/uploads\\\/2016\\\/04\\\/waste.png?fit=1573%2C1288&ssl=1\",\"keywords\":[\"post\"],\"articleSection\":[\"52vis\",\"Charts &amp; Graphs\",\"DataVis\",\"DataViz\",\"ggplot\",\"maps\",\"R\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/rud.is\\\/b\\\/2016\\\/04\\\/13\\\/52vis-week-3-waste-not-want-not\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2016\\\/04\\\/13\\\/52vis-week-3-waste-not-want-not\\\/\",\"url\":\"https:\\\/\\\/rud.is\\\/b\\\/2016\\\/04\\\/13\\\/52vis-week-3-waste-not-want-not\\\/\",\"name\":\"52Vis Week #3 - Waste Not, Want Not - rud.is\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2016\\\/04\\\/13\\\/52vis-week-3-waste-not-want-not\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2016\\\/04\\\/13\\\/52vis-week-3-waste-not-want-not\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/rud.is\\\/b\\\/wp-content\\\/uploads\\\/2016\\\/04\\\/waste.png?fit=1573%2C1288&ssl=1\",\"datePublished\":\"2016-04-14T04:35:44+00:00\",\"dateModified\":\"2018-03-07T21:42:22+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2016\\\/04\\\/13\\\/52vis-week-3-waste-not-want-not\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/rud.is\\\/b\\\/2016\\\/04\\\/13\\\/52vis-week-3-waste-not-want-not\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2016\\\/04\\\/13\\\/52vis-week-3-waste-not-want-not\\\/#primaryimage\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/rud.is\\\/b\\\/wp-content\\\/uploads\\\/2016\\\/04\\\/waste.png?fit=1573%2C1288&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/rud.is\\\/b\\\/wp-content\\\/uploads\\\/2016\\\/04\\\/waste.png?fit=1573%2C1288&ssl=1\",\"width\":1573,\"height\":1288},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2016\\\/04\\\/13\\\/52vis-week-3-waste-not-want-not\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/rud.is\\\/b\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"52Vis Week #3 &#8211; Waste Not, Want Not\"}]},{\"@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":"52Vis Week #3 - Waste Not, Want Not - 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\/2016\/04\/13\/52vis-week-3-waste-not-want-not\/","og_locale":"en_US","og_type":"article","og_title":"52Vis Week #3 - Waste Not, Want Not - rud.is","og_description":"The Wall Street Journal did a project piece [a while back](http:\/\/projects.wsj.com\/waste-lands\/) in the _&#8221;Waste Lands: America&#8217;s Forgotten Nuclear Legacy&#8221;_. They dug through [Department of Energy](http:\/\/www.lm.doe.gov\/default.aspx?id=2602) and [CDC](http:\/\/www.cdc.gov\/niosh\/ocas\/ocasawe.html) data to provide an overview of the lingering residue of this toxic time in America&#8217;s past (somehow, I have to believe the fracking phenomena of our modern era [&hellip;]","og_url":"https:\/\/rud.is\/b\/2016\/04\/13\/52vis-week-3-waste-not-want-not\/","og_site_name":"rud.is","article_published_time":"2016-04-14T04:35:44+00:00","article_modified_time":"2018-03-07T21:42:22+00:00","og_image":[{"width":1573,"height":1288,"url":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2016\/04\/waste.png?fit=1573%2C1288&ssl=1","type":"image\/png"}],"author":"hrbrmstr","twitter_card":"summary_large_image","twitter_misc":{"Written by":"hrbrmstr","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/rud.is\/b\/2016\/04\/13\/52vis-week-3-waste-not-want-not\/#article","isPartOf":{"@id":"https:\/\/rud.is\/b\/2016\/04\/13\/52vis-week-3-waste-not-want-not\/"},"author":{"name":"hrbrmstr","@id":"https:\/\/rud.is\/b\/#\/schema\/person\/d7cb7487ab0527447f7fda5c423ff886"},"headline":"52Vis Week #3 &#8211; Waste Not, Want Not","datePublished":"2016-04-14T04:35:44+00:00","dateModified":"2018-03-07T21:42:22+00:00","mainEntityOfPage":{"@id":"https:\/\/rud.is\/b\/2016\/04\/13\/52vis-week-3-waste-not-want-not\/"},"wordCount":348,"commentCount":9,"publisher":{"@id":"https:\/\/rud.is\/b\/#\/schema\/person\/d7cb7487ab0527447f7fda5c423ff886"},"image":{"@id":"https:\/\/rud.is\/b\/2016\/04\/13\/52vis-week-3-waste-not-want-not\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2016\/04\/waste.png?fit=1573%2C1288&ssl=1","keywords":["post"],"articleSection":["52vis","Charts &amp; Graphs","DataVis","DataViz","ggplot","maps","R"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/rud.is\/b\/2016\/04\/13\/52vis-week-3-waste-not-want-not\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/rud.is\/b\/2016\/04\/13\/52vis-week-3-waste-not-want-not\/","url":"https:\/\/rud.is\/b\/2016\/04\/13\/52vis-week-3-waste-not-want-not\/","name":"52Vis Week #3 - Waste Not, Want Not - rud.is","isPartOf":{"@id":"https:\/\/rud.is\/b\/#website"},"primaryImageOfPage":{"@id":"https:\/\/rud.is\/b\/2016\/04\/13\/52vis-week-3-waste-not-want-not\/#primaryimage"},"image":{"@id":"https:\/\/rud.is\/b\/2016\/04\/13\/52vis-week-3-waste-not-want-not\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2016\/04\/waste.png?fit=1573%2C1288&ssl=1","datePublished":"2016-04-14T04:35:44+00:00","dateModified":"2018-03-07T21:42:22+00:00","breadcrumb":{"@id":"https:\/\/rud.is\/b\/2016\/04\/13\/52vis-week-3-waste-not-want-not\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/rud.is\/b\/2016\/04\/13\/52vis-week-3-waste-not-want-not\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/rud.is\/b\/2016\/04\/13\/52vis-week-3-waste-not-want-not\/#primaryimage","url":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2016\/04\/waste.png?fit=1573%2C1288&ssl=1","contentUrl":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2016\/04\/waste.png?fit=1573%2C1288&ssl=1","width":1573,"height":1288},{"@type":"BreadcrumbList","@id":"https:\/\/rud.is\/b\/2016\/04\/13\/52vis-week-3-waste-not-want-not\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/rud.is\/b\/"},{"@type":"ListItem","position":2,"name":"52Vis Week #3 &#8211; Waste Not, Want Not"}]},{"@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":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2016\/04\/waste.png?fit=1573%2C1288&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/p23idr-17V","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":4242,"url":"https:\/\/rud.is\/b\/2016\/04\/06\/52vis-week-2-2016-week-14-honing-in-on-the-homeless\/","url_meta":{"origin":4335,"position":0},"title":"52Vis Week 2 (2016 Week #14) &#8211; Honing in on the Homeless","author":"hrbrmstr","date":"2016-04-06","format":false,"excerpt":">UPDATE: Since I put in a \"pull request\" requirement, I intended to put in a link to getting started with GitHub. Dr. Jenny Bryan's @stat545 has a great [section on git](https:\/\/stat545-ubc.github.io\/git00_index.html) that should hopefully make it a bit less painful. ### Why 52Vis? In case folks are wondering why I'm\u2026","rel":"","context":"In &quot;Charts &amp; Graphs&quot;","block_context":{"text":"Charts &amp; Graphs","link":"https:\/\/rud.is\/b\/category\/charts-graphs\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2016\/04\/percapita.png?fit=800%2C1200&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2016\/04\/percapita.png?fit=800%2C1200&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2016\/04\/percapita.png?fit=800%2C1200&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2016\/04\/percapita.png?fit=800%2C1200&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":4308,"url":"https:\/\/rud.is\/b\/2016\/04\/13\/52-vis-week-2-wrap-up\/","url_meta":{"origin":4335,"position":1},"title":"52 Vis Week #2 Wrap Up","author":"hrbrmstr","date":"2016-04-13","format":false,"excerpt":"I've been staring at this homeless data set for a few weeks now since I'm using it both here and in the data science class I'm teaching. It's been one of the most mindful data sets I've worked with in a while. Even when reduced to pure numbers in named\u2026","rel":"","context":"In &quot;52vis&quot;","block_context":{"text":"52vis","link":"https:\/\/rud.is\/b\/category\/52vis\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":4292,"url":"https:\/\/rud.is\/b\/2016\/04\/13\/52-vis-week-1-winners\/","url_meta":{"origin":4335,"position":2},"title":"52 Vis Week 1 Winners!","author":"hrbrmstr","date":"2016-04-13","format":false,"excerpt":"The response to 52Vis has exceeded expectations and there have been great entries for both weeks. It's time to award some prizes! ### Week 1 - Send in the Drones I'll take [this week](https:\/\/github.com\/52vis\/2016-13) in comment submission order (remember, the rules changed to submission via PR in Week 2). NOTE:\u2026","rel":"","context":"In &quot;52vis&quot;","block_context":{"text":"52vis","link":"https:\/\/rud.is\/b\/category\/52vis\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":4225,"url":"https:\/\/rud.is\/b\/2016\/03\/30\/introducing-a-weekly-r-python-js-etc-vis-challenge\/","url_meta":{"origin":4335,"position":3},"title":"Introducing a Weekly R \/ Python \/ JS \/ etc Vis Challenge!","author":"hrbrmstr","date":"2016-03-30","format":false,"excerpt":">UPDATE: Deadline is now 2016-04-05 23:59 EDT; next vis challenge is 2016-04-06! Per a suggestion, I'm going to try to find a neat data set (prbly one from @jsvine) to feature each week and toss up some sample code (99% of the time prbly in R) and offer up a\u2026","rel":"","context":"In &quot;Charts &amp; Graphs&quot;","block_context":{"text":"Charts &amp; Graphs","link":"https:\/\/rud.is\/b\/category\/charts-graphs\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2016\/03\/RStudioScreenSnapz024.png?fit=1200%2C605&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2016\/03\/RStudioScreenSnapz024.png?fit=1200%2C605&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2016\/03\/RStudioScreenSnapz024.png?fit=1200%2C605&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2016\/03\/RStudioScreenSnapz024.png?fit=1200%2C605&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2016\/03\/RStudioScreenSnapz024.png?fit=1200%2C605&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":4357,"url":"https:\/\/rud.is\/b\/2016\/05\/01\/pining-for-the-fjords-monitoring-ssltls-certificate-expiration-in-r-with-flexdashboard\/","url_meta":{"origin":4335,"position":4},"title":"Pining for the fjoRds &#038; monitoring SSL\/TLS certificate expiration in R with flexdashboard","author":"hrbrmstr","date":"2016-05-01","format":false,"excerpt":"Rumors of my demise have been (almost) greatly exaggerated. Folks have probably noticed that #52Vis has stalled, as has most blogging, package & Twitter activity. I came down with a nasty bout of bronchitis after attending rOpenSci Unconf 16 (there were _so_ many people hacking [the sick kind] up a\u2026","rel":"","context":"In &quot;dashboard&quot;","block_context":{"text":"dashboard","link":"https:\/\/rud.is\/b\/category\/dashboard\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2016\/05\/Fullscreen_5_1_16__9_28_PM.png?fit=1200%2C609&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2016\/05\/Fullscreen_5_1_16__9_28_PM.png?fit=1200%2C609&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2016\/05\/Fullscreen_5_1_16__9_28_PM.png?fit=1200%2C609&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2016\/05\/Fullscreen_5_1_16__9_28_PM.png?fit=1200%2C609&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2016\/05\/Fullscreen_5_1_16__9_28_PM.png?fit=1200%2C609&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":4429,"url":"https:\/\/rud.is\/b\/2016\/06\/12\/on-whether-y-axis-labels-are-always-necessary\/","url_meta":{"origin":4335,"position":5},"title":"On Whether Y-axis Labels Are Always Necessary","author":"hrbrmstr","date":"2016-06-12","format":false,"excerpt":"The infamous @albertocairo [blogged about](http:\/\/www.thefunctionalart.com\/2016\/06\/propublica-visualizes-seasonality-in.html) a [nice interactive piece on German company tax avoidance](https:\/\/projects.propublica.org\/graphics\/dividend) by @ProPublica. Here's a snapshot of their interactive chart: ![](https:\/\/2.bp.blogspot.com\/-S-8bu1UdYWM\/V1rXibnBxrI\/AAAAAAAAGo0\/L940SpU3DvUPX90JK82jrKQN6fWMyn2IACLcB\/s1600\/1prop.png) Dr. Cairo (his PhD is in the bag as far as I'm concerned :-) posited: >_Isn't it weird that the chart doesn't have a scale on\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":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2016\/06\/Plot_Zoom.png?fit=1200%2C1036&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2016\/06\/Plot_Zoom.png?fit=1200%2C1036&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2016\/06\/Plot_Zoom.png?fit=1200%2C1036&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2016\/06\/Plot_Zoom.png?fit=1200%2C1036&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2016\/06\/Plot_Zoom.png?fit=1200%2C1036&ssl=1&resize=1050%2C600 3x"},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/posts\/4335","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=4335"}],"version-history":[{"count":0,"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/posts\/4335\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/media\/4336"}],"wp:attachment":[{"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/media?parent=4335"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/categories?post=4335"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/tags?post=4335"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}