#TidyTuesday Tweets for week 7

The #TidyTuesday tweets included here are ones that included at least one image, and are arranged by submission date. Many thanks to the 64(!) people who submitted!! This page has been autogenerated as of 2019-02-21 and we hope you enjoy any random “house-cleaning” tips that accidentally may make their way in!

This Week’s Data

The @R4DScommunity welcomes you to week 7 of #TidyTuesday! We’re exploring Federal Budget data!!

📂 https://t.co/sElb4fcv3u 🗞 https://t.co/iaJrwjAWDz

#r4ds #tidyverse #rstats #dataviz https://t.co/9xav70sEoH









Submission by PhilipWalsh_ML

#100DaysOfMLCode R1D33 #TidyTuesday #rstats https://t.co/IUFkuB9vHt


Submission by htoscano84

Last two weeks without much time. Still working on week5 #TidyTuesday and experimenting #gghighlight

code: https://t.co/c2ZlJeJguJ

#rstats #dataviz #r4ds https://t.co/6DwWWhKyjI


Submission by jmstone27

Only recently started following #TidyTuesday so went back through the archives and couldn’t resist when I saw an #NFL dataset. Realised the data was flawed after plotting though when I saw no 2000 yard season for CJ2k. #rstats https://t.co/CEM0pCi1fO


Submission by FreyGeospatial

A week of firsts! My first #TidyTuesday submission, first #rspatial product that I am sharing with others, and first gganimate visualization! Excited for next week’s challenge. Code posted here: https://t.co/WNLmfcfg6N https://t.co/8105ih5Sap


Submission by noccaea

Unofficial #TidyTuesday: effect on the Great Big Strike of Hell at the French railway company in 2018: high speed train cancellation rates per station, compared in 2017 (blue) and 2018 (red). Guess which monthS the strike stroke? #dataviz #R4ds https://t.co/JVE1RjQ5Rk


Submission by bartholomatt

This week’s #TidyTuesday challenge finally convinced my to try my hand at gganimate. Behold: the housing meltdown, in gif form. https://t.co/l34nrGVxLw


Submission by WireMonkey

#TidyTuesday #TidyLater #Housing #InspiredbyTidyTuesday I’ve gone off menu for this week’s challenge. fredr is a package that will connect you to FRED data and FRED has all of the data. I’m looking at how housing prices in NYC have changed over the past 30 years https://t.co/dLa7kPMKHY


Submission by DaveBloom11

#TidyTuesday - House and Mortgage data

It seems changes in rates were more correlated to recessions pre-1990. I suspect the invention of CMO’s and similar products had something to do with this, but that’s just a guess.

Code: https://t.co/rjPg0g7cH6

#rstats #R4DS #dataviz https://t.co/m6cuCIJxcG


Submission by srini_meen

I learnt to use GitHub today, I haven’t “committed” to anybody so much! 😭😭😭 Also a #tidytuesday after ages! Plotted Texas HPI against the average US HPI over the years. (Please God, I don’t wanna forget R 😅😅😅)
https://t.co/1etpJ6Xlap https://t.co/oIMvOpoaAS


Submission by mattemagisk

For this week’s #tidytuesday, I experiment with purrr and skimr to quickly get an overview of the data. I also try to teach myself #regex. Still digging @BBCNewsGraphics package #bbplot, and used it again this week. Code and more at https://t.co/5xXzE8VCPA. https://t.co/TUkpHu99W4


Submission by jspairani

Week 2019-02-05 challenge: #TidyTuesday #rstats anomalies on mortgages in USA 1972 - 2018. Using the amazing package anomalize ( https://t.co/502aI6emqO ) 😄 https://t.co/Ugu0wIif28


Submission by DavideMagno

Here’s my #TidyTuesday submission.I studied the total increase in the housing index for each US State compared to the US federal index. No surprise in California house price has increased much more than the rest of US.The #mapdata library was 👍🏼@thomas_mock @R4DScommunity #rstats https://t.co/sYI1zKhIpC


Submission by FournierJohanie

#TidyTuesday: Diairy cows I made my first dumbbell chart to show that Qc Cows are not last!

@thomas_mock thank you again for this opportunity. I had a lot of fun with those data. Now I’m ready for your next data set.

Code: https://t.co/W3CTyrh61J

#rstats https://t.co/DGAFPxshYo


Submission by htoscano84

#TidyTuesday week 6. Playing with the #cartogram package to check how the house price index changed from 2000 to 2018.

code: https://t.co/Z4WOetDutv

#rstats #dataviz #r4ds https://t.co/Cr0Yigi9VG


Submission by H0Vinicius

It’s been a long time since I tried something different with time series #TidyTuesday #ggplot2 #RStats https://t.co/MvH1qNYvBN


Submission by sil_aarts

My first #TidyTuesday using #gganimate. Seems like total GDP has a bigger slope, than the FRD budget.

I wanted to include NIH budget, but the log transformation(log10) I needed to display all lines in one plot, didn’t do the data justice in my opinion. #R https://t.co/BPsNMAUwgy


Submission by CraigWangUZH

My first #TidyTuesday submission, and first time using #tidyverse and #gganimate in production! Comparing total Global Climate Change (GCC) Research Program spending vs. other R&D spending by departments in the US. @R4DScommunity .. probably too colorful -.- https://t.co/i05jeJNWQu


Submission by SLEBeaufort

My first #SWDchallenge is a two-fer with #TidyTuesday, graphing variability of R&D spending across government agencies https://t.co/bKTHlqKg48


Submission by EvaMaeRey

my #ggplot2 flipbook project is online! 😎🤓🤓 Incrementally walks through plotting code (#MakeoverMonday, soon #TidyTuesday plots). Using #xaringan with reveal function; thanks, @statsgen @grrrck. #rstats. https://t.co/bBBzv0iZLw https://t.co/tFtD78IOHZ


Submission by Amalan_Con_Stat

Scientific notation of numbers and plotting them was fun. Except for the R and D budget, other 3 have a steady increase over the years. Further, the R and D budget is very small than the others. Code: https://t.co/jmzfTGMRaT #tidytuesday https://t.co/3WfBU72kWW


Submission by datawithZ

Recession/mortgage rate overlay from last week’s #TidyTuesday #rstats https://t.co/uZ5NyN6nUV


Submission by JerrickTram

Don’t think it’s too surprising that the Department of Defense has the biggest budget in every year from 1976 to 2017 although what departments are prioritized are interesting. #TidyTuesday https://t.co/DwH7J4OLB2


Submission by ellis_hughes

This weeks #TidyTuesday I am using a variation of a candle plot to highlight changes in R&D Funding ove the years. Also introducing my #tidytuesdayR 📦for pulling in the data/readme from #TidyTuesday into your R environment! #rstats https://t.co/afRYGpJjkj https://t.co/zYC6lgQRLe


Submission by IamMRWani

#TidyTuesday Week 8 https://t.co/AFlqcUpFvE


Submission by FiskerBang

This #TidyTuesday explores Federal Budget data! 💵🏛

Nice to see that the US has more than doubled its relative spending on R&D in health 🏥 🤒

Not that nice to see that their relative spending on the Environmental Protection Agency is only 1/4 of what it used to be 🌎🚯 https://t.co/eu0qCv3fqz


Submission by concept401

The word #declutter is a new big topic on radio and TV but what does it actually mean and how can you get started? Head over to my blog where I explain all about it https://t.co/8jIojcvDG0 and if you need help, get in touch. #TidyTuesday #mentalhealth https://t.co/lRxHOfXF4i


Submission by harrocyranka

#TidyTuesday Week 7. Interesting to see the changes in climate spending. While NASA only saw a slight increase, NOAA almost quadrupled btw 2000 - 2017. #dataviz #r4ds #tidyverse #ggplot2 #datascience https://t.co/pQ5LwXcKWV


Submission by DaveBloom11

#TidyTuesday - Week #7 Federal R&D Spending by Agency – Global Climate Spending

NASA spends the most - more than 3x any other agency in 2017 - but NOAA has increased their spend the most since 2000…

Code: https://t.co/OMj2q3FQH9

#rstats #R4DS #dataviz https://t.co/sdtbQYgDG4


Submission by OmniAnalytics

Did you know that #dplyr includes a set of special #tidyverse-compatible ranking functions? Here we show min_rank(), percent_rank() (re-scaled to [0, 1]), cume_dist() (CDF), and the base::cut()-like ntile() function! #rstats #tidytuesday

See more here: https://t.co/1sO5ssusQj https://t.co/M52Kpr6pQS


Submission by BirkinClean

3 Ways to organise your desk and keep it tidy

📌Keep supplies close by

📵Get rid of distractions

🗂Create effective filing systems

#organisation #TidyTuesday #office https://t.co/FMUF8YDuxS


Submission by veerlevanson

For this week’s #TidyTuesday: NASA’s R&D budget and number of space missions. Space mission info was taken from Wikipedia. Quite pleased with how the plot turned out :)

Code: https://t.co/neh4h2slda Source: https://t.co/pqn3xj6Cbd

#rstats #R4DS #dataviz https://t.co/fS5CJ2c4AH


Submission by RSumaiya

First #tidytuesday plot, graphing the trend in R&D expenditure by department in the US. No surprises about the share of defense expenditure, but interesting to see health research going up. #dataviz #r4ds #tidyverse #ggplot2 #datascience https://t.co/Rf3YLZhc74


Submission by TannerKoomar

Happy #tidytuesday! This is from last week’s #mortgage related data. I had no idea that home prices in the midwest and south used to be over the national average, but have fallen below it since the mid 1990’s. #rstats

Code at: https://t.co/VAjCTFt26y https://t.co/KTWNkszP2H


Submission by IamSambanthan

plotted the cumulative number of trees purchased of each type, artificial and real, from 2004 to 2014, comparing that to the 2016 U.S. population. Almost one realtree per person was bought over the course of 10 years!

#TidyTuesday #ggplot2 #DataAnalytics #Data @dataandme https://t.co/wqKSD0Zbsk


Submission by distav921

Yeah this is my son. #TidyTuesday https://t.co/7NpgIw9heu


Submission by k_j_norris

Word on the street is that Republican administrations spend more on war and security than Democratic ones. This #TidyTuesday shows it’s complicated. R&D higher at DoD but fairly flat at HHS and EPA. https://t.co/eus2IZYuU2


Submission by JoshuaFeIdman

For this week’s #TidyTuesday – a correlation matrix of R&D budget per US government agency since 1976. High spending on research for the Department of Defence (DOD) is associated with low budget for the Environmental Protection Agency (EPA) and Department of Interior. #rstats https://t.co/wbHOYGWnay


Submission by aimeegott_R

While @grpieces has been teaching intermediate #rstats #Shiny, I have been using this weeks #TidyTuesday data in an app to compare departments and use all the shiny features we are teaching. All the code with comments here: https://t.co/yTaz7HTTRK https://t.co/5ZE22sIWkW


Submission by DavideMagno

This week’s #TidyTuesday is about federal spending.

I was interested in understanding if spending had shifted towards clean energy sub-agencies in the last 20 years. Spoiler alert: unfortunately no! 😰

#Rstats #tidyverse cc @thomas_mock @R4DScommunity https://t.co/AbQzheSagU


Submission by mark_switajski

My first submission for #TidyTuesday takes a look at the R&D funding for the DoD and layered by the presidential party at that point in time. Inspired by @veerlevanson’s submission: https://t.co/RTiITPrJ6h


Submission by othomn

Two clusters of R&D spending for this week #TidyTuesday? #rstats

Coming soon:

1⃣A better way to scale/normalize data? 2⃣What happens if you cluster only the Pres. Obama era? 3⃣A blog post with tidy code

for now: 🗞️https://t.co/SJElIPfJXg 👨‍💻https://t.co/znoeo6IbvV https://t.co/wd6HivpAE2


Submission by Fernando_UCI

My first #TidyTuesday entry for Feb 12, 2019. I used a stacked area chart to map the percent of climate spending by gov. departments over time. Big thanks to @DaveBloom11 and @DavideMagno for sharing their code (which I borrowed quite a bit from for this entry). Really fun! https://t.co/nhkKYyHcpV


Submission by EmilioMrno_

This is my first #TidyTuesday collaboration! As we can see NASA spends way more on its global climate change research program than any other agency!

Con dedicación especial para @jmtoralc por todo lo que me enseñó!

#rstats #DataToViz #gganimate https://t.co/av6U2qgzHa


Submission by tanyaneuro

#TidyTuesday is on federal spending. Research budget for defense most variable across GDPs, while all other departments essentially flat. Climate change research spending has decreased, yes, but NASA’s share in total fed spending has been hit the most. https://t.co/dVYQdON2QI https://t.co/c9ATrVclmH


Submission by othomn

2⃣nd plot for this #TidyTuesday 😅

I tried to scale the spending between 0 and 1 (to highlight relative patterns), and to visualize clusters with heatmaps.

👨‍💻https://t.co/yO7S3jQO1D https://t.co/GaotwRsEFr


Submission by Joseph_Mike

Finally got to doing a #TidyTuesday First but certainly not my last. Decided to do a quick trend of NJ House Pricing Index against the National Avg. Code here: https://t.co/vPiPHRUfPX @thomas_mock https://t.co/bMc47yn2Hk


Submission by apreshill

Last year I did a talk called “Take a Sad Plot & Make It Better” 😭

Now I’m looking for brave souls (#rstats, #python, #Excel!) to share their sad plots with me for a Sad Plot Showcase.

No shame, just sharing! 🤝

https://t.co/E0HNX1CRfU

#dataviz #ggplot2 #TidyTuesday https://t.co/T5ildPrDq0


Submission by Alex_Danvers

Depressing data to play with for #TidyTuesday. I guess this is what not investing in the future looks like.

R&D spending as a portion of budget has been decreasing for the last few decades. Zoom in on the failure to spend on health research. https://t.co/EPXcBwRFQg


Submission by ptteresachen

First #TidyTuesday 🥳 Funding resources are not looking bright for biomechanists. DOD has the most share of GDP when it comes to R&D, but the proportion is still small. https://t.co/cFrFiGtPsb


Submission by thomas_mock

My week 7 of #tidytuesday submission!

An exploration into Tufte-style sparkline plots in #ggplot2 with my personal theme.

I did choose to leave in the y-axis rather than direct label. 🤷‍♂️

Code & Plots: https://t.co/qmrI5uV3Cj https://t.co/IZLNh8uhI3


Submission by jordanpeck89

My first #TidyTuesday submission , looking at US government spending on R&D. Please go easy on me.

Most pleased with figuring out how to add in dual Y axes, by normalising them both, in order to show both R&D spending proportion (as a percentage) and total outlays. https://t.co/p4UO2Wa2qk


Submission by noccaea

Unofficial #TidyTuesday on 🚄French High Speed Trains🚄:

  • Rate of late departure over time: it sucks to take the train from Macon, Toulon, Valence and Lyon. And 2018 was hell in general…

  • Which lines accumulate or reduce delay during the trip: check yours! #R4DS #dataviz https://t.co/5pb51amYCt


Submission by FournierJohanie

My #TidyTuesday week 7 submission. I choose to work on USDA data. #Rstat #dataviz https://t.co/PsEotOunt9 https://t.co/FukbDKPwXf


Submission by trevin_flick

I’m looking at the R&D budget (split into DoD and all other agencies) for #TidyTuesday week 7

code: https://t.co/TTuxdgZe9R

#rstats #R4DS https://t.co/c48aZDfCWt


Submission by parkermquinn

Really cool data for this #tidytuesday! I may dive deeper on this subject in a blog post. Overall federal R&D spending (as a percentage of the discretionary budget) has fallen steadily, and climate/energy R&D is WAY behind and not catching up. Code here: https://t.co/7BobwwkCci https://t.co/TuG33VnZg7


Submission by othomn

I was searching new visualizations for a #TidyTuesday, instead I found some @accidental__aRt 😁 https://t.co/VSiYDODKN6


Submission by WireMonkey

Another #TidyLater #TidyTuesday. This week we’re looking at changes in climate change funding from year to year at a several agencies (NASA removed) with party control of the House, Senate and Presidency noted. #rstats #r4ds @thomas_mock https://t.co/E3Ol8dewSk


Submission by jakekaupp

In this weeks #TidyTuesday data, I noticed a chart on global research intensity from #OECD data was missing Canada. Thought I’d go right to the source. Research in Canada has a way to go to recover from the previous government defunding. https://t.co/1BhlhPnYyC #rstats #r4ds https://t.co/QDPuY8yEDy


Submission by srini_meen

For this weeks #TidyTuesday , Federal R&D budget as a percent of GDP seems to be falling, but the actual amounts seem to be constant only. (ie, America is getting richer 😎) Tried my hand at #gganimate 😃

Code and stuff - https://t.co/lcUzAZwp2y https://t.co/vQaOtMEaA0


Submission by srini_meen

The other plots #TidyTuesday https://t.co/WTpq07H9fe


Submission by harrocyranka

Interesting that the series of GDP and R&D spending started to diverge in the 90s. I like how R&D saw a significant bump under Obama.

#r4ds #tidyverse #tidytuesday #dataviz https://t.co/gyNaOEtfqe


Submission by sil_aarts

What to do on a free evening? Creating my own #TidyTuesday but with text!

Seeing what my favourite subjects and people are @Twitter. I do have a lot of favourite words. Apparently, I love to say I ‘love’ things (or people? 🤔). @Tim_v_d_Stam you’re up there! #textmining #data https://t.co/LrSumH7qzC


Submission by PhilipWalsh_ML

#100DaysOfMLCode R1D40 #TidyTuesday #dataviz #r4ds just goofing with this weeks tidy tuesday data and ggplot #rstats https://t.co/zM9h5dhX6u


Submission by Aleponcem

#TidyTuesday in #TidyFriday :P. I use the ideas of @aschinchon from his course in #datacamp and mix with #gganimate https://t.co/euqvcmPnrj