Three Ways to Include Images in Your ggplots

May 18, 2024 | Albert Rapp

library(tidyverse) library(giscoR) library(ggiraph) germany_districts as_tibble() |__ janitor::clean_names() germany_states as_tibble() |__ janitor::clean_names() ggplt ggplot(aes(geometry = geometry)) + geom_sf( data = germany_states, aes(fill = nuts_name), color = 'black', linewidth = 0.5 ) + geom_sf_interactive( fill = NA, aes( data_id = nuts_id, tooltip = glue::glue(... [Read more...]

Count Function in R I dplyr::count()

May 18, 2024 | Zubair Goraya

Data analysis is all about turning raw data into actionable insights. I was working on a research project analyzing survey data from thousands of respondents. The clock was ticking, and I needed to summarize responses to hundreds of questions quickly. Manually counting each response would have taken days, if not ...
[Read more...]

Positive or Negative in R

May 17, 2024 | R Archives » Data Science Tutorials

The post Positive or Negative in R appeared first on Data Science Tutorials Unravel the Future: Dive Deep into the World of Data Science Today! Data Science Tutorials. Positive or Negative in R, we will learn how to use the sign function in R to determine whether a numeric value ... [Read more...]

New York City’s POC Population

May 16, 2024 | R on kieranhealy.org

I was messing around with some Census data this morning. I had two main thoughts. One was to show the utility of old-fashioned grayscale when it comes to mapping data (or displaying it in general). The goal of most carefully thought-through dataviz col... [Read more...]
1 2 3 2,105