Long Nguyen (@long39ng) header
Long Nguyen (@long39ng) profile picture

Researcher @deziminstitut. PhD candidate in sociology @unibielefeld. #rstats #rspatial #dataviz

Joined September 2020
Rewrote the #rstats #shinyapps in #svelte with #typescript. Loads much faster and feels much snappier now 🚀 Also mobile responsive 💫 Served entirely statically via GitHub Pages: 👉 regiohub.github.io/soep-regi…
The #rstats #shinyapp for exploring some German regional data is now available at long39ng.shinyapps.io/soep-r… ✨ Both content and interface will keep getting updated! (Still only in German, but your browser can translate it into English 😅)
4
35
1
226
29,275
Inspecting nested lists in #rstats can be daunting, so I've created a small package {listviewerlite} (inspired by listviewer) that creates a collapsible tree view of R lists using only #html and #css, without the need for #javascript github.com/long39ng/listview… Acknowledgement: 🧵
3
9
2
74
6,265
CSS code to style the tree view adapted from blog post by Kate Morley iamkate.com/code/tree-views/
2
288
Over the past year, a @CorrelAid team of @long39ng, @Kov_Zoran, Dorian Le Jeune, Johannes Ritter and me have developed {restatis}. The first version of this #RStats API wrapper for accessing the GENESIS database of @destatis is now available on #CRAN. cran.r-project.org/package=r…
1
10
48
5,910
Introducing {remmy}, a minimal API package for the Reddit alternative Lemmy (join-lemmy.org/instances) in #RStats 📦 github.com/long39ng/remmy 📦 (All function code and documentation are programmatically generated from the official JavaScript client source 💻🚀)
1
10
929
On April 6th @long39ng will deliver a workshop on the comprehensive guide to Spatial Data Wrangling with R! More details: https://teapaw.org/t.co/RueTGmykqi #RStats #Rspatial #EconTwitter #AcademicTwitter
1
2
8
925
#AdventOfCode 2022 Day 13 in #RStats Got a little tripped up on the equality case, but am quite happy with how clean the main recursive function looks in the end github.com/long39ng/advent-o…
2
4
#AdventOfCode Day 8 in #RStats `purrr::head_while` is extremely useful for both parts 🚀 GH repo: github.com/long39ng/advent-o…
3
3
The #rstats #shinyapp for exploring some German regional data is now available at long39ng.shinyapps.io/soep-r… ✨ Both content and interface will keep getting updated! (Still only in German, but your browser can translate it into English 😅)
This Post is from an account that no longer exists. Learn more
1
8
1
36
New #OpenAccess publication 🚨 (also, my 1st dissertation paper 🙏) ➡️ frontiersin.org/articles/10.… Geocoding of massive Twitter dataset (866 million German tweets) with my colleagues @unibielefeld: @doriantsolak @Data_Annalyzing @knauff_stefan @SimonKuehne (1/4)
2
5
22
Here are the slides of my presentation outlining the main points of the paper at #AAPOR last month: lo-ng.netlify.app/slides/202… (4/4)
1
3
We would like to thank the reviewers @StefanJuenger @DimitriPrandner and editor @heinzleitgoeb for the valuable feedback and support
1
4
My #rstats solution to Day 13 of #AdventOfCode Is eyeballing the result allowed, or should I have used OCR to read the answer from the output image? 🤓
2
1
14
#AdventOfCode Day 9 in #rstats "Cheated" in Part 2 by converting the matrix to a #rspatial raster, then clump adjacent cells with a value < 9 together to form basils
3
2
1
12
My #rstats solution to Day 8 of #AdventOfCode 🥵 Still sticking to the tidyverse, but the code this time is rather untidy
1
6
My #rstats solution to Day 6 of #AdventOfCode with the tidyverse. Tried putting all the fish into a vector at first and those fish really took over the entire ocean (ie my RAM) 🐠🐠
1
1
8
Had time to catch up on the #AdventOfCode in #RStats Total number of loops until Day 4: zero 😬 (yes, I'm aware that purrr::accumulate wraps around a loop)
1
1
9
#30DayMapChallenge Day 10—Raster (also a belated submission for Day 9—Monochrome 🙈) Spatial interpolation of NO2 levels in Germany from 2001 to 2020. The beeswarm plot underneath the map shows the observed values from the measuring stations. #RStats #rspatial
1
3
22
Full-size GIF and code: github.com/long39ng/xxdaymap… Also, h/t to Prof @edzerpebesma for the lecture at the Hertie summer school and the discussion on why certain types of measuring stations are not suitable for the interpolation
1
I forgot: here's the data API documentation umweltbundesamt.de/daten/luf…