Skip to content

Commit

Permalink
fix small errors in R shiny code example
Browse files Browse the repository at this point in the history
  • Loading branch information
mradamcox committed Jun 6, 2024
1 parent dd180b2 commit 3cf0613
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions 06-appdev-code.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -557,10 +557,12 @@ library(leaflet)
library(sf)
library(plotly)
library(dplyr)
library(stringr)
# Load data ----
nyc_data <- st_read("NYC_nbrhd_data.geojson", quiet = TRUE)
nyc_data <- st_make_valid(nyc_data)
nyc_data_df <- st_drop_geometry(nyc_data)
map_data <- st_transform(nyc_data, crs = 4326)
# Define UI ----
Expand Down

0 comments on commit 3cf0613

Please sign in to comment.