Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

Commit

Permalink
Update all assets
Browse files Browse the repository at this point in the history
  • Loading branch information
dgkeyes committed Aug 29, 2023
1 parent d1cb3c6 commit 9272f06
Show file tree
Hide file tree
Showing 116 changed files with 79 additions and 4 deletions.
Binary file modified nostarch/figures/F01001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified nostarch/figures/F01002.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified nostarch/figures/F01003.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified nostarch/figures/F01004.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified nostarch/figures/F01005.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified nostarch/figures/F01006.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified nostarch/figures/F01007.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified nostarch/figures/F01008.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified nostarch/figures/F02001.pdf
Binary file not shown.
Binary file modified nostarch/figures/F02002.pdf
Binary file not shown.
Binary file modified nostarch/figures/F02003.pdf
Binary file not shown.
Binary file modified nostarch/figures/F02004.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified nostarch/figures/F02005.pdf
Binary file not shown.
Binary file modified nostarch/figures/F02006.pdf
Binary file not shown.
Binary file modified nostarch/figures/F02007.pdf
Binary file not shown.
Binary file modified nostarch/figures/F02008.pdf
Binary file not shown.
Binary file modified nostarch/figures/F02009.pdf
Binary file not shown.
Binary file modified nostarch/figures/F02010.pdf
Binary file not shown.
Binary file modified nostarch/figures/F02011.pdf
Binary file not shown.
Binary file modified nostarch/figures/F02012.pdf
Binary file not shown.
Binary file modified nostarch/figures/F02013.pdf
Binary file not shown.
Binary file modified nostarch/figures/F02014.pdf
Binary file not shown.
Binary file modified nostarch/figures/F02015.pdf
Binary file not shown.
Binary file modified nostarch/figures/F02016.pdf
Binary file not shown.
Binary file modified nostarch/figures/F02017.pdf
Binary file not shown.
Binary file modified nostarch/figures/F03001.pdf
Binary file not shown.
Binary file modified nostarch/figures/F03002.pdf
Binary file not shown.
Binary file modified nostarch/figures/F03003.pdf
Binary file not shown.
Binary file modified nostarch/figures/F03004.pdf
Binary file not shown.
Binary file modified nostarch/figures/F03005.pdf
Binary file not shown.
Binary file modified nostarch/figures/F03006.pdf
Binary file not shown.
Binary file modified nostarch/figures/F03007.pdf
Binary file not shown.
Binary file modified nostarch/figures/F03008.pdf
Binary file not shown.
Binary file modified nostarch/figures/F03009.pdf
Binary file not shown.
Binary file modified nostarch/figures/F04001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified nostarch/figures/F04002.pdf
Binary file not shown.
Binary file modified nostarch/figures/F04003.pdf
Binary file not shown.
Binary file modified nostarch/figures/F04004.pdf
Binary file not shown.
Binary file modified nostarch/figures/F04005.pdf
Binary file not shown.
Binary file modified nostarch/figures/F04006.pdf
Binary file not shown.
Binary file modified nostarch/figures/F04007.pdf
Binary file not shown.
Binary file modified nostarch/figures/F04008.pdf
Binary file not shown.
Binary file modified nostarch/figures/F04009.pdf
Binary file not shown.
Binary file modified nostarch/figures/F04010.pdf
Binary file not shown.
Binary file modified nostarch/figures/F04011.pdf
Binary file not shown.
Binary file modified nostarch/figures/F04012.pdf
Binary file not shown.
Binary file modified nostarch/figures/F04013.pdf
Binary file not shown.
Binary file modified nostarch/figures/F05001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified nostarch/figures/F05002.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified nostarch/figures/F05003.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified nostarch/figures/F05004.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified nostarch/figures/F05005.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified nostarch/figures/F05006.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified nostarch/figures/F05007.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified nostarch/figures/F05008.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified nostarch/figures/F05009.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified nostarch/figures/F05010.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified nostarch/figures/F05011.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified nostarch/figures/F05012.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified nostarch/figures/F06001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified nostarch/figures/F06002.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified nostarch/figures/F06003.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified nostarch/figures/F06004.png
Binary file modified nostarch/figures/F06005.png
Binary file modified nostarch/figures/F06006.png
Binary file modified nostarch/figures/F07001.png
Binary file modified nostarch/figures/F07002.png
Binary file modified nostarch/figures/F07003.png
Binary file modified nostarch/figures/F07004.png
Binary file modified nostarch/figures/F08001.png
Binary file modified nostarch/figures/F08002.png
Binary file modified nostarch/figures/F08003.png
Binary file modified nostarch/figures/F08004.png
Binary file modified nostarch/figures/F08005.png
Binary file modified nostarch/figures/F08006.png
Binary file modified nostarch/figures/F08007.png
Binary file modified nostarch/figures/F08008.png
Binary file modified nostarch/figures/F09001.png
Binary file modified nostarch/figures/F09002.png
Binary file modified nostarch/figures/F09003.png
Binary file modified nostarch/figures/F09004.png
Binary file modified nostarch/figures/F09005.png
Binary file modified nostarch/figures/F09006.png
Binary file modified nostarch/figures/F09007.png
Binary file modified nostarch/figures/F09008.png
Binary file modified nostarch/figures/F09009.png
Binary file modified nostarch/figures/F09010.png
Binary file modified nostarch/figures/F09011.png
Binary file modified nostarch/figures/F09012.png
Binary file modified nostarch/figures/F10001.png
Binary file modified nostarch/figures/F10002.png
Binary file modified nostarch/figures/F10003.png
Binary file modified nostarch/figures/F10004.png
Binary file modified nostarch/figures/F10005.png
Binary file modified nostarch/figures/F10006.png
Binary file modified nostarch/figures/F10007.png
Binary file modified nostarch/figures/F10008.png
Binary file modified nostarch/figures/F10009.png
Binary file modified nostarch/figures/F10010.png
Binary file modified nostarch/figures/F10011.png
Binary file modified nostarch/figures/F10012.png
Binary file modified nostarch/figures/F10013.png
Binary file modified nostarch/figures/F10014.png
Binary file modified nostarch/figures/F10015.png
Binary file modified nostarch/figures/F11001.png
Binary file modified nostarch/figures/F11002.png
Binary file modified nostarch/figures/F11003.png
Binary file modified nostarch/figures/F11004.pdf
Binary file not shown.
Binary file modified nostarch/figures/F11005.pdf
Binary file not shown.
Binary file modified nostarch/figures/F11006.pdf
Binary file not shown.
Binary file modified nostarch/figures/F12001.png
Binary file modified nostarch/figures/F12002.png
Binary file modified nostarch/figures/figures.zip
Binary file not shown.
6 changes: 3 additions & 3 deletions nostarch/source/_common.R
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,9 @@ save_image_for_nostarch <- function(image_file, chap_number = chapter_number) {

image_new_width <- image_width_pixels / image_width_scale_down_factor

resized_image <- magick::image_read(image_file) %>%
magick::image_resize(image_new_width) %>%
magick::image_page(density = "96x96")
resized_image <- magick::image_read(image_file)
# magick::image_resize(image_new_width) %>%
# magick::image_page(density = "96x96")

chapter_number_two_digits <- stringr::str_pad(chap_number, 2, "left", "0")
figure_number_three_digits <- stringr::str_pad(i, 3, "left", "0")
Expand Down
77 changes: 76 additions & 1 deletion nostarch/source/maps.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,82 @@ There we have it: Figure \@ref(fig:final-map-map) shows our recreation of Abdoul
print_nostarch_file_name()
```

```{r final-map-map, ref.label = "final-map", fig.cap = "Our recreation of Abdoul Madjid's map"}
```{r final-map-map, fig.cap = "Our recreation of Abdoul Madjid's map"}
usa_states_geom_covid_six_days %>%
ggplot() +
geom_sf(
aes(fill = incidence_rate),
size = .05,
color = "transparent"
) +
facet_wrap(
vars(fancy_date),
strip.position = "bottom"
) +
scale_fill_discrete_sequential(
palette = "Rocket",
name = "COVID-19 INCIDENCE RATE",
guide = guide_legend(
title.position = "top",
title.hjust = .5,
title.theme = element_text(
family = "Times New Roman",
size = rel(9),
margin = margin(
b = .1,
unit = "cm"
)
),
nrow = 1,
keyheight = unit(.3, "cm"),
keywidth = unit(.3, "cm"),
label.theme = element_text(
family = "Times New Roman",
size = rel(6),
margin = margin(
r = 5,
unit = "pt"
)
)
)
) +
labs(title = "2021 · A pandemic year",
caption = "Incidence rates are calculated for 100,000 people in each state.
Inspired from a graphic in the DIE ZEIT newspaper of November 18, 2021.
Data from NY Times · Tidytuesday Week-1 2022 · Abdoul ISSA BIDA.") +
theme_minimal() +
theme(
text = element_text(family = "Times New Roman",
color = "#111111"),
plot.title = element_text(
size = rel(2.5),
face = "bold",
hjust = 0.5,
margin = margin(t = .25,
b = .25,
unit = "cm")
),
plot.caption = element_blank(),
# plot.caption = element_text(
# hjust = .5,
# face = "bold",
# margin = margin(t = .25,
# b = .25,
# unit = "cm")),
strip.text = element_text(size = rel(0.75),
face = "bold"),
legend.position = "top",
legend.box.spacing = unit(.25, "cm"),
panel.grid = element_blank(),
axis.text = element_blank(),
plot.margin = margin(t = .25,
r = .25,
b = .25,
l = .25,
unit = "cm"),
plot.background = element_rect(fill = "#e5e4e2",
color = NA)
)
```

```{r results='asis'}
Expand Down
Binary file modified nostarch/word/r-without-statistics.docx
Binary file not shown.

0 comments on commit 9272f06

Please sign in to comment.