View example_getpoints.R
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
# Download JSON via GeoTuple API | |
# http://geotuple.org//pages/api.html | |
library(jsonlite) | |
library(httr) | |
# Thanks to http://stackoverflow.com/users/5729528/daeyoung-kim | |
# for this function | |
getFunctionEndPoint <- function(url, format) { | |
return(paste(url, format, sep = '/')) |