Created
March 3, 2020 18:01
-
-
Save layik/5bab74534ba83fa1b67be7a3b12d54aa to your computer and use it in GitHub Desktop.
This file contains 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(httr) | |
r <- GET("localhost:27017") | |
if(r$status_code != "200") { | |
stop("Is Mongo running?") | |
} | |
devtools::load_all(".") | |
library(geocoder) | |
gc_import(geocoder::uk.geocodes$msoa$url) | |
# check | |
m = mongolite::mongo("geocoder") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment