render compile

This commit is contained in:
2026-05-21 01:33:30 +08:00
parent 2c2eaa0d0d
commit 204a12a58f
2379 changed files with 142545 additions and 814 deletions
+20
View File
@@ -0,0 +1,20 @@
repurrrsive::gap_simple |>
count(year)
by_year <- repurrrsive::gap_simple |>
group_by(year)
paths <- by_year |>
group_keys() |>
mutate(path = str_glue("data/gapminder/{year}.xlsx")) |>
pull()
paths
years <- by_year |>
group_split() |>
map(\(df) select(df, -year))
dir.create("data/gapminder")
walk2(years, paths, writexl::write_xlsx)