|
@@ -1,6 +1,7 @@
|
1
|
1
|
# Scratch file
|
2
|
2
|
library(janitor)
|
3
|
3
|
library(dplyr)
|
|
4
|
+library(ggmap)
|
4
|
5
|
library(readr)
|
5
|
6
|
Geo2017 <- clean_names(read_csv("data/AllDHBsGeocoded.csv"), case = "snake") %>%
|
6
|
7
|
select(-facility_opening_date) %>%
|
|
@@ -41,3 +42,7 @@ gp_new <- filter(gp_prac, is.na(gp_prac$calculated_address)) %>%
|
41
|
42
|
|
42
|
43
|
table(newFacil$facility_type_name)
|
43
|
44
|
table(Geo2017$facility_type_name)
|
|
45
|
+
|
|
46
|
+newcoded <- geocode(gp_new$address,
|
|
47
|
+ output = "latlona") %>%
|
|
48
|
+ rename("calculated_address" = address)
|