Skip to content

Instantly share code, notes, and snippets.

@rCarto
Last active June 20, 2017 00:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save rCarto/038ef0bb93d291b58b4b15ff58f006eb to your computer and use it in GitHub Desktop.
Save rCarto/038ef0bb93d291b58b4b15ff58f006eb to your computer and use it in GitHub Desktop.
library(httr)
adresse <- "8 bd du port"
resultraw <- httr::GET(utils::URLencode(paste0('https://api-adresse.data.gouv.fr/search/?q=', adresse)))
result <-jsonlite::fromJSON(httr::content(resultraw, "text"))
result$features
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment