library(usethis)
library(data.table)
library(socviz)
organdata <- data.table::as.data.table(socviz::organdata) |>
_[, country := as.factor(country)] |>
_[, .(country, donors)] |>
_[, donors := round(donors, digits = 0)] |>
na.omit()
usethis::use_data(organdata, overwrite = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.