5 min read

Choropleth Map of Job Change by County


People at computers in large work space
Photo by Alex Kotliarskyi on Unsplash.

View raw source for this post

Summary

The annual employment data from the Bureau of Labor Statistics (BLS) was downloaded for the years 1990 through 2021. The average annual growth rate was computed by county and plotted as a choropleth map.

Table of Contents

Map

Figure 1: The 48 contiguous states are included.

Acknowledgements

This blog post was made possible thanks to:

  • The U.S. Bureau of Labor Statistics

References

[1]
R Core Team, R: A language and environment for statistical computing. Vienna, Austria: R Foundation for Statistical Computing, 2022 [Online]. Available: https://www.R-project.org/
[2]
Y. Xie, C. Dervieux, and A. Presmanes Hill, Blogdown: Create blogs and websites with r markdown. 2022 [Online]. Available: https://CRAN.R-project.org/package=blogdown
[3]
J. Cheng, B. Karambelkar, and Y. Xie, Leaflet: Create interactive web maps with the JavaScript leaflet library. 2022 [Online]. Available: https://rstudio.github.io/leaflet/
[4]
E. Neuwirth, RColorBrewer: ColorBrewer palettes. 2022 [Online]. Available: https://CRAN.R-project.org/package=RColorBrewer
[5]
E. Pebesma, Sf: Simple features for r. 2022 [Online]. Available: https://CRAN.R-project.org/package=sf
[6]
B. Karambelkar, Widgetframe: Htmlwidgets in responsive iframes. 2017 [Online]. Available: https://CRAN.R-project.org/package=widgetframe

Disclaimer

The views, analysis and conclusions presented within this paper represent the author’s alone and not of any other person, organization or government entity. While I have made every reasonable effort to ensure that the information in this article was correct, it will nonetheless contain errors, inaccuracies and inconsistencies. It is a working paper subject to revision without notice as additional information becomes available. Any liability is disclaimed as to any party for any loss, damage, or disruption caused by errors or omissions, whether such errors or omissions result from negligence, accident, or any other cause. The author(s) received no financial support for the research, authorship, and/or publication of this article.

Reproducibility

─ Session info ───────────────────────────────────────────────────────────────────────────────────────────────────────
 setting  value
 version  R version 4.1.3 (2022-03-10)
 os       macOS Big Sur/Monterey 10.16
 system   x86_64, darwin17.0
 ui       X11
 language (EN)
 collate  en_US.UTF-8
 ctype    en_US.UTF-8
 tz       America/New_York
 date     2022-08-27
 pandoc   2.18 @ /Applications/RStudio.app/Contents/MacOS/quarto/bin/tools/ (via rmarkdown)

─ Packages ───────────────────────────────────────────────────────────────────────────────────────────────────────────
 package           * version    date (UTC) lib source
 assertthat          0.2.1      2019-03-21 [1] CRAN (R 4.1.0)
 blogdown          * 1.11       2022-08-09 [1] CRAN (R 4.1.2)
 bookdown            0.28       2022-08-09 [1] CRAN (R 4.1.2)
 bslib               0.4.0.9000 2022-08-26 [1] Github (rstudio/bslib@fa2e03c)
 cachem              1.0.6      2021-08-19 [1] CRAN (R 4.1.0)
 callr               3.7.2      2022-08-22 [1] CRAN (R 4.1.2)
 class               7.3-20     2022-01-16 [1] CRAN (R 4.1.3)
 classInt            0.4-7      2022-06-10 [1] CRAN (R 4.1.2)
 cli                 3.3.0      2022-04-25 [1] CRAN (R 4.1.2)
 codetools           0.2-18     2020-11-04 [1] CRAN (R 4.1.3)
 colorspace          2.0-3      2022-02-21 [1] CRAN (R 4.1.2)
 crayon              1.5.1      2022-03-26 [1] CRAN (R 4.1.0)
 crosstalk           1.2.0      2021-11-04 [1] CRAN (R 4.1.0)
 DBI                 1.1.3      2022-06-18 [1] CRAN (R 4.1.2)
 devtools          * 2.4.4      2022-07-20 [1] CRAN (R 4.1.2)
 digest              0.6.29     2021-12-01 [1] CRAN (R 4.1.0)
 dplyr               1.0.9      2022-04-28 [1] CRAN (R 4.1.2)
 e1071               1.7-11     2022-06-07 [1] CRAN (R 4.1.2)
 ellipsis            0.3.2      2021-04-29 [1] CRAN (R 4.1.0)
 evaluate            0.16       2022-08-09 [1] CRAN (R 4.1.2)
 fansi               1.0.3      2022-03-24 [1] CRAN (R 4.1.2)
 fastmap             1.1.0      2021-01-25 [1] CRAN (R 4.1.0)
 fs                  1.5.2      2021-12-08 [1] CRAN (R 4.1.0)
 generics            0.1.3      2022-07-05 [1] CRAN (R 4.1.2)
 ggplot2           * 3.3.6      2022-05-03 [1] CRAN (R 4.1.2)
 ggthemes          * 4.2.4      2021-01-20 [1] CRAN (R 4.1.0)
 glue                1.6.2      2022-02-24 [1] CRAN (R 4.1.2)
 gtable              0.3.0      2019-03-25 [1] CRAN (R 4.1.0)
 htmltools           0.5.3      2022-07-18 [1] CRAN (R 4.1.2)
 htmlwidgets         1.5.4      2021-09-08 [1] CRAN (R 4.1.0)
 httpuv              1.6.5      2022-01-05 [1] CRAN (R 4.1.2)
 jquerylib           0.1.4      2021-04-26 [1] CRAN (R 4.1.0)
 jsonlite            1.8.0      2022-02-22 [1] CRAN (R 4.1.2)
 KernSmooth          2.23-20    2021-05-03 [1] CRAN (R 4.1.3)
 knitr               1.40       2022-08-24 [1] CRAN (R 4.1.3)
 later               1.3.0      2021-08-18 [1] CRAN (R 4.1.0)
 leaflet           * 2.1.1      2022-03-23 [1] CRAN (R 4.1.2)
 leaflet.providers   1.9.0      2022-04-03 [1] Github (rstudio/leaflet.providers@86765f1)
 lifecycle           1.0.1      2021-09-24 [1] CRAN (R 4.1.0)
 magrittr            2.0.3      2022-03-30 [1] CRAN (R 4.1.2)
 memoise             2.0.1      2021-11-26 [1] CRAN (R 4.1.0)
 mime                0.12       2021-09-28 [1] CRAN (R 4.1.0)
 miniUI              0.1.1.1    2018-05-18 [1] CRAN (R 4.1.0)
 munsell             0.5.0      2018-06-12 [1] CRAN (R 4.1.0)
 pillar              1.8.1      2022-08-19 [1] CRAN (R 4.1.2)
 pkgbuild            1.3.1      2021-12-20 [1] CRAN (R 4.1.0)
 pkgconfig           2.0.3      2019-09-22 [1] CRAN (R 4.1.0)
 pkgload             1.3.0      2022-06-27 [1] CRAN (R 4.1.2)
 prettyunits         1.1.1      2020-01-24 [1] CRAN (R 4.1.0)
 processx            3.7.0      2022-07-07 [1] CRAN (R 4.1.2)
 profvis             0.3.7      2020-11-02 [1] CRAN (R 4.1.0)
 promises            1.2.0.1    2021-02-11 [1] CRAN (R 4.1.0)
 proxy               0.4-27     2022-06-09 [1] CRAN (R 4.1.2)
 ps                  1.7.1      2022-06-18 [1] CRAN (R 4.1.2)
 purrr               0.3.4      2020-04-17 [1] CRAN (R 4.1.0)
 R6                  2.5.1      2021-08-19 [1] CRAN (R 4.1.0)
 RColorBrewer      * 1.1-3      2022-04-03 [1] CRAN (R 4.1.2)
 Rcpp                1.0.9      2022-07-08 [1] CRAN (R 4.1.2)
 remotes             2.4.2      2021-11-30 [1] CRAN (R 4.1.0)
 rlang               1.0.4      2022-07-12 [1] CRAN (R 4.1.2)
 rmarkdown           2.16       2022-08-24 [1] CRAN (R 4.1.3)
 rstudioapi          0.14       2022-08-22 [1] CRAN (R 4.1.2)
 sass                0.4.2      2022-07-16 [1] CRAN (R 4.1.2)
 scales              1.2.1      2022-08-20 [1] CRAN (R 4.1.2)
 sessioninfo         1.2.2      2021-12-06 [1] CRAN (R 4.1.0)
 sf                  1.0-8      2022-07-14 [1] CRAN (R 4.1.2)
 shiny               1.7.2      2022-07-19 [1] CRAN (R 4.1.2)
 stringi             1.7.8      2022-07-11 [1] CRAN (R 4.1.2)
 stringr             1.4.1      2022-08-20 [1] CRAN (R 4.1.2)
 tibble              3.1.8      2022-07-22 [1] CRAN (R 4.1.2)
 tidyselect          1.1.2      2022-02-21 [1] CRAN (R 4.1.2)
 units               0.8-0      2022-02-05 [1] CRAN (R 4.1.2)
 urlchecker          1.0.1      2021-11-30 [1] CRAN (R 4.1.0)
 usethis           * 2.1.6      2022-05-25 [1] CRAN (R 4.1.2)
 utf8                1.2.2      2021-07-24 [1] CRAN (R 4.1.0)
 vctrs               0.4.1      2022-04-13 [1] CRAN (R 4.1.2)
 withr               2.5.0      2022-03-03 [1] CRAN (R 4.1.0)
 xfun                0.32       2022-08-10 [1] CRAN (R 4.1.2)
 xtable              1.8-4      2019-04-21 [1] CRAN (R 4.1.0)
 yaml                2.3.5      2022-02-21 [1] CRAN (R 4.1.2)

 [1] /Library/Frameworks/R.framework/Versions/4.1/Resources/library

──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────