This site details the steps taken to clean, transform and merge UNIDO INDSTAT4 Rev 3 and INDSTAT4 Rev 4 output data series with the Trade Production and Protection Database. All data wrangling code and this website were written by Cynthia Huang, with supervision from Dr. Laura Puzzello.
testthat
package. At that time, only failed tests returned console output.Test passed :)
. These messages can be suppressed (see stackoverflow discussion), and do not impact the processing of the data in any way.assertr
, instead of testthat
functions which are designed for unit-testing R packages.This site was rendered using the following R packages:
sessionInfo()
## R version 3.6.3 (2020-02-29)
## Platform: x86_64-apple-darwin15.6.0 (64-bit)
## Running under: macOS 10.16
##
## Matrix products: default
## LAPACK: /Library/Frameworks/R.framework/Versions/3.6/Resources/lib/libRlapack.dylib
##
## locale:
## [1] en_AU.UTF-8/en_AU.UTF-8/en_AU.UTF-8/C/en_AU.UTF-8/en_AU.UTF-8
##
## attached base packages:
## [1] stats graphics grDevices utils datasets methods base
##
## other attached packages:
## [1] plotly_4.9.2.1 ggnewscale_0.4.1 testthat_3.0.4 here_0.1 forcats_0.5.1 stringr_1.4.0 dplyr_1.0.7
## [8] purrr_0.3.4 readr_1.4.0 tidyr_1.1.4 tibble_3.1.5 ggplot2_3.3.4 tidyverse_1.3.1
##
## loaded via a namespace (and not attached):
## [1] httr_1.4.2 sass_0.4.0 pkgload_1.2.1 jsonlite_1.7.2 viridisLite_0.3.0 modelr_0.1.8
## [7] bslib_0.3.1 assertthat_0.2.1 highr_0.8 cellranger_1.1.0 yaml_2.2.1 pillar_1.6.4
## [13] backports_1.1.6 glue_1.4.2 digest_0.6.25 rvest_1.0.0 colorspace_1.4-1 htmltools_0.5.2
## [19] pkgconfig_2.0.3 broom_0.7.7 haven_2.3.1 scales_1.1.0 generics_0.1.1 farver_2.0.3
## [25] ellipsis_0.3.2 DT_0.20 withr_2.4.2 lazyeval_0.2.2 cli_3.0.1 magrittr_2.0.1
## [31] crayon_1.4.1 readxl_1.3.1 evaluate_0.14 fs_1.5.0 fansi_0.5.0 xml2_1.3.2
## [37] tools_3.6.3 data.table_1.13.0 hms_1.1.0 lifecycle_1.0.1 munsell_0.5.0 reprex_2.0.0
## [43] compiler_3.6.3 jquerylib_0.1.4 rlang_0.4.12 grid_3.6.3 rstudioapi_0.13 htmlwidgets_1.5.1
## [49] labeling_0.3 rmarkdown_2.9 waldo_0.2.5 codetools_0.2-16 gtable_0.3.0 DBI_1.1.0
## [55] R6_2.5.1 lubridate_1.7.10 knitr_1.29 fastmap_1.1.0 utf8_1.2.2 rprojroot_1.3-2
## [61] desc_1.3.0 stringi_1.7.5 Rcpp_1.0.5 vctrs_0.3.8 dbplyr_2.1.1 tidyselect_1.1.1
## [67] xfun_0.24