Created
April 2, 2018 23:54
-
-
Save cwickham/8be0b7d56efdf01ef674309cf50ff225 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| library(sp) | |
| library(tmap) | |
| library(tigris) | |
| # devtools::install_github("cwickham/geospatial") | |
| library(geospatial) | |
| nyc_tracts <- tracts(state = "NY", county = "New York", cb = TRUE) | |
| nyc_tracts_merge <- merge(nyc_tracts, nyc_income, by.x = "TRACTCE", by.y = "tract") | |
| qtm(nyc_tracts_merge, fill = "estimate") | |
| ## > sessionInfo() | |
| ## R version 3.4.3 (2017-11-30) | |
| ## Platform: x86_64-apple-darwin15.6.0 (64-bit) | |
| ## Running under: macOS Sierra 10.12.6 | |
| ## | |
| ## Matrix products: default | |
| ## BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib | |
| ## LAPACK: /Library/Frameworks/R.framework/Versions/3.4/Resources/lib/libRlapack.dylib | |
| ## | |
| ## locale: | |
| ## [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8 | |
| ## | |
| ## attached base packages: | |
| ## [1] stats graphics grDevices utils datasets methods | |
| ## [7] base | |
| ## | |
| ## other attached packages: | |
| ## [1] geospatial_0.1.0 tigris_0.6.2 tmap_1.11-1 sp_1.2-7 | |
| ## | |
| ## loaded via a namespace (and not attached): | |
| ## [1] httr_1.3.1 jsonlite_1.5 viridisLite_0.2.0 | |
| ## [4] splines_3.4.3 geojsonlint_0.2.0 foreach_1.4.4 | |
| ## [7] R.utils_2.6.0 gtools_3.5.0 shiny_1.0.5 | |
| ## [10] assertthat_0.2.0 expm_0.999-2 stats4_3.4.3 | |
| ## [13] yaml_2.1.16 LearnBayes_2.15 pillar_1.1.0 | |
| ## [16] lattice_0.20-35 glue_1.2.0 uuid_0.1-2 | |
| ## [19] digest_0.6.13 RColorBrewer_1.1-2 colorspace_1.3-2 | |
| ## [22] htmltools_0.3.6 httpuv_1.3.5 Matrix_1.2-12 | |
| ## [25] R.oo_1.21.0 plyr_1.8.4 pkgconfig_2.0.1 | |
| ## [28] XML_3.98-1.9 rmapshaper_0.3.0 raster_2.6-7 | |
| ## [31] gmodels_2.16.2 xtable_1.8-2 scales_0.5.0 | |
| ## [34] webshot_0.5.0 gdata_2.18.0 satellite_1.0.1 | |
| ## [37] tibble_1.4.2 gdalUtils_2.0.1.7 mapview_2.2.0 | |
| ## [40] magrittr_1.5 mime_0.5 deldir_0.1-14 | |
| ## [43] maptools_0.9-2 R.methodsS3_1.7.1 nlme_3.1-131 | |
| ## [46] MASS_7.3-47 foreign_0.8-69 class_7.3-14 | |
| ## [49] tools_3.4.3 geosphere_1.5-7 stringr_1.2.0 | |
| ## [52] V8_1.5 munsell_0.4.3 bindrcpp_0.2 | |
| ## [55] compiler_3.4.3 e1071_1.6-8 rlang_0.1.6.9003 | |
| ## [58] classInt_0.1-24 units_0.5-1 grid_3.4.3 | |
| ## [61] tmaptools_1.2-2 RCurl_1.95-4.10 dichromat_2.0-0 | |
| ## [64] iterators_1.0.9 rappdirs_0.3.1 htmlwidgets_0.9 | |
| ## [67] crosstalk_1.0.0 bitops_1.0-6 base64enc_0.1-3 | |
| ## [70] boot_1.3-20 codetools_0.2-15 DBI_0.7 | |
| ## [73] jsonvalidate_1.0.0 curl_3.1 R6_2.2.2 | |
| ## [76] dplyr_0.7.4 rgdal_1.2-16 rgeos_0.3-26 | |
| ## [79] udunits2_0.13 bindr_0.1 spdep_0.7-4 | |
| ## [82] KernSmooth_2.23-15 stringi_1.1.6 osmar_1.1-7 | |
| ## [85] Rcpp_0.12.15 sf_0.5-3 png_0.1-7 | |
| ## [88] leaflet_1.1.0 spData_0.2.6.9 coda_0.19-1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment