
PhD Atmospheric Chemistry, Senior Consultant, Environmental Data Analyst, @posit_pbc Certified Tidyverse Instructor, #RStats developer
Didcot, England
Joined September 2012
- Tweets226
- Following279
- Followers407
- Likes462
Pinned Tweet
I had a really lovely time at #SatRdaysLondon2023 yesterday speaking about our work handling air quality data and hearing what the rest of the #rstats community is up to. Learned a lot of useful stuff and met some great people - already looking forward to next year!
This Post is from an account that no longer exists. Learn more
I find bits of #ObservableFramework & #ObservablePlot really exciting, but I'm struggling a bit on text formatting in Plot - e.g., if I wanted to add a sub/superscript or Greek letter to the axis label. Any guides out there? Thinking about chem (NOx) & units (ug/m3) formatting
1
1
1,089
Week 2 of the #DuBoisChallenge2024. I recreated the chart with #plotly for #rstats. The original has a "torn" effect as the x-axis range is so wide compared to most of the data. I use a "rangeslider" so readers can actually scan to see/feel how big the difference is!
See code: jack-davison.quarto.pub/dubo…
See last week's post: teapaw.org/JDavison_/status/17553…
It's time for the #DuBoisChallenge2024. I've done static recreations, and even tabular recreations, but this year I'm keen to use #rstats interactive #DataViz packages. Here's a #leaflet map for Challenge 1 - see jack-davison.quarto.pub/dubo… for the map/code/original plate.
1
98
It's time for the #DuBoisChallenge2024. I've done static recreations, and even tabular recreations, but this year I'm keen to use #rstats interactive #DataViz packages. Here's a #leaflet map for Challenge 1 - see jack-davison.quarto.pub/dubo… for the map/code/original plate.
Obviously it's quite a big departure from the way the original plate is laid out - I want to be creative with the medium, as I tried to be in jack-davison.quarto.pub/tabu…. DuBois didn't have JavaScript, so we can only guess as to what he might have done with it!
81
I've written another #rstats #leaflet post - this time how to use plots (e.g., ggplots) as markers on a leaflet map in a tidy way. Give it a read if interested! jack-davison.github.io/posts…
1
10
788
This is the second in a series, the first can be read here: teapaw.org/JDavison_/status/17044…
I have a real love for the #rstats #leaflet 📦, so was thinking of writing up some tips and tricks I've picked up as I've used it professionally over the last few years. First one; "shading out" de-emphasised regions. Give it a read if you're interested! jack-davison.github.io/posts…
107
I have a real love for the #rstats #leaflet 📦, so was thinking of writing up some tips and tricks I've picked up as I've used it professionally over the last few years. First one; "shading out" de-emphasised regions. Give it a read if you're interested! jack-davison.github.io/posts…
I'm talking at OxfordR on Monday about air quality, dynamic reports, interactive maps, interesting data sources, package development, custom leaflet markers, nested data frames, and more! And there'll be pizza, so what's not to like? 🍕
Very excited that on Monday (27th March), we will have @JDavison_ giving a talk on Air Quality data analysis and the {openairmaps} #rstats package. Looking forward to it!
Come and join us! Sign up here: meetup.com/Oxford-R-User-Gro…
#tidyr deprecated `separate()` in favour of, e.g., `separate_longer_position()` - but do #tidyverse #rstats functions always get replaced by longer/wordier alternatives? I wrote a silly blogpost analysing `{tidyverse}` function names to find out.
👉 jack-davison.github.io/posts…
The post also has a bit of #purrr, a lot of #plotly, and is inspired in part by a funny use of Chat GPT by @charliejhadley:
teapaw.org/charliejhadley/status/…
608
I'm speaking at #satrdays London about how we use R to analyse air quality data, forays into package development, my love of leaflet maps, cool free data sources, and more! Hope to see lots of the UK #rstats community there in April!
First up for SatRdays London is Jack Davison (@JDavison_) of @RicardoGroupPlc👋Jack's talk “Put it on a map!” – Developments in Air Quality Data Analysis will discuss how created interactive air quality maps!
#rstats #satrdays @CuspLondon @RConsortium
satrday-london-2023.jumpingr…
Excited to announce that version 0.7.0 of our #airquality #rstats 📦 {openairmaps} is on its way to CRAN. This release involved a massive code refactor which has brought buckets of new features to help improve your air quality maps 🧵1/6
Our first headliner - `polarDiff()` has come to openairmaps! Use `diffMap()` to compare this year to last year to find out not only what has changed, but where it changed too! This completes the set of #openair polar analysis plotting functions. 🧵2/6
2
2
390
An update to the #airquality #rstats 📦 #openair package has just hit CRAN. Lots of little updates & modernisations to documentation, but one of my favourite updates - leveraging #tidyverse #purrr 1.0.0's progress bars when importing lots of UK AQ Data:
Progress bars in purrr are an absolute game changer, going to be such a quality of life improvement in our packages
purrr 1.0.0 is now on CRAN 🐈 Highlights include progress bars, better errors, and a new map_vec().
We've also refined the core purrrpose of the package and purrrfected tools for flattening and simplifying. Learn more at
tidyverse.org/blog/2022/12/p…! #rstats
Runner up in the Posit (formerly RStudio) #rstats table contest! Did something totally outside of my domain this time - glad the judges thought it was worth a read. See my entry for (varyingly successful) interpretations of historical data viz using the @gt_package 📦
Celebrating tabular data, we're excited to share the winners of the 2022 Table Contest!
There are R & Python examples & tutorials, all with well-documented code & narrative.
So many amazing entries, thank you to all who participated!
posit.co/blog/winners-of-the…
#rstats #pydata #gt
I've just dropped version 0.6.0 of our #AirQuality #RStats package {#openairmaps} on #CRAN. There are a few really useful updates bundled in here to improve your AQ analysis, so let's dive into them now! 🧵1/5
Very happy to announce that v0.5.0 of the #rstats 📦{#openairmaps} has hit CRAN. Combine {#openair} plots with {#leaflet} maps to gain new insights into your #airquality data. Some nice new features and QOL updates, which I'll talk about here. 🧵1/5
RStudio Table Contest 2022 Submission; @DuboisChallenge using @gt_package, in a @quarto_pub website. Trying to capture the style/spirit of #DuBois in a #gt tabular format.
Website: jack-davison.quarto.pub/tabu…
GitHub: github.com/jack-davison/rstu…
Submission: community.rstudio.com/t/tabu…

ALT Two images side-by-side. Left hand side: W.E.B. DuBois' "Income and Expenditure of 150 Negro Fmailies in Atlanta G.A. U.S.A". Right hand side: A recreation of the left hand side using the GT R package. Both images use 1890s photographs/images to label Rent, Food, Tax, Class and Other, which are the five expenditures presented. Poorer black families spend most of their income on food and rent, whereas more wealthy families spend over half of their income on "the higher life" (education, amusement, religion, etc.).
This is a big change of pace from my 2021 submission, a tutorial focusing on the use of #gt with air quality data. Even though this year isn't explicitly a tutorial, I think it may still be of interest to those who want to see what gt can do!
teapaw.org/JDavison_/status/14554…
I've just submitted my #RStudio Table Contest 2021 entry; a tutorial for the {gt}📦 intended for #AirQuality professionals. A key victory - getting {gt} to work with {#openair}!
Tutorial: rpubs.com/JackDavison/gt-ope…
GitHub: github.com/jack-davison/rstu…
Submission: community.rstudio.com/t/usin…
1
I'm excited to announce that the #rstats {openairmaps} 📦 is now on CRAN for use by the #AirQuality community. Combine the toolset of {#openair} with the JS library {#leaflet} to create interactive air quality HTML maps. 🧵1/5
I've updated the #rstats tutorial (marrying @gt_package and #openair) I submitted for the #RStats #RStudio Table Contest 2021! Conversion to #quarto (+ code linking/collapsing, callout boxes, etc.), & better openair figure formatting. Check it out here: jack-davison.quarto.pub/gt-o… ☁️
🔔New @AtmosChemYork / @ChemistryatYork paper from the Carslaw Group 🔔
Using vehicle emission remote sensing data and quantile regression to study the distribution of deterioration effects of passenger car emissions. 🚗📈
sciencedirect.com/science/ar…















