Linking to GEOS 3.13.0, GDAL 3.8.5, PROJ 9.5.1; sf_use_s2() is TRUE
library(biscale)library(dplyr)
Attaching package: 'dplyr'
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
library(patchwork) library(ggspatial)library(leaflet)library(htmlwidgets)library(htmltools)library(rmapshaper)# Simplify GeoJSON geometry since file size is too bigoriginal <-st_read("/Users/ayeshanaveed/Downloads/R-Spatial_II_Lab/final_zipcode_data.geojson")
Reading layer `final_zipcode_data' from data source
`/Users/ayeshanaveed/Downloads/R-Spatial_II_Lab/final_zipcode_data.geojson'
using driver `GeoJSON'
Simple feature collection with 996 features and 14 fields
Geometry type: MULTIPOLYGON
Dimension: XY
Bounding box: xmin: -74.25559 ymin: 40.49612 xmax: -73.70001 ymax: 40.91553
Geodetic CRS: WGS 84