|
@@ -1,14 +1,8 @@
|
1
|
1
|
library(shiny)
|
2
|
2
|
library(leaflet)
|
3
|
|
-library(janitor)
|
4
|
3
|
library(dplyr)
|
5
|
|
-library(readr)
|
6
|
4
|
|
7
|
|
-Geo2017 <- clean_names(read_csv("../data/AllDHBsGeocoded.csv"), case = "snake") %>%
|
8
|
|
- select(-facility_opening_date) %>%
|
9
|
|
- mutate(dhb_name = ifelse(is.na(dhb_name), "Missing", dhb_name),
|
10
|
|
- health_facility_code = ifelse(is.na(health_facility_code),
|
11
|
|
- "Missing", health_facility_code))
|
|
5
|
+Geo2017 <- readRDS("Geo2017.rds")
|
12
|
6
|
|
13
|
7
|
ui <- fillPage(
|
14
|
8
|
leafletOutput(outputId = "medmap", height = "100%")
|