Closed jjclegg closed 8 years ago
What message do you get? Does the following script work ?
library(photon)
loc <- c("19 rue Michel Bakounine, 29600 Morlaix, France",
"5 rue Proudhon, 34130 Mauguio, France",
"2 Emma Goldmanweg, Tilburg, Netherlands",
"36 Strada Panait Israti, Bucarest, Romania")
geocode(loc, limit = 1, key = "place")
The message I get is no geocode function found.
Here's my code:
require(devtools)
devtools::install_github(repo = 'rCarto/photon')
geocode("36 Strada Panait Israti, Bucarest, Romania", limit = 1, key = "place")
On Aug 31, 2016, at 9:42 AM, Timothée Giraud notifications@github.com wrote:
What message do you get? Does the following script work ?
library(photon) loc <- c("19 rue Michel Bakounine, 29600 Morlaix, France", "5 rue Proudhon, 34130 Mauguio, France", "2 Emma Goldmanweg, Tilburg, Netherlands", "36 Strada Panait Israti, Bucarest, Romania") geocode(loc, limit = 1, key = "place") — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rCarto/photon/issues/3#issuecomment-243767611, or mute the thread https://github.com/notifications/unsubscribe-auth/AQa_Auefz4fz5X-HUtt4J3rDD9AZ7Gvzks5qlYS9gaJpZM4JxQVf.
I see, you have forgotten to load the package before the function call, you should write :
library(photon)
geocode("36 Strada Panait Israti, Bucarest, Romania", limit = 1, key = "place")
Thank you!
On Aug 31, 2016, at 10:09 AM, Timothée Giraud notifications@github.com wrote:
I see, you have forgotten to load the package before the function call, you should write :
library(photon) geocode("36 Strada Panait Israti, Bucarest, Romania", limit = 1, key = "place") — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
I can't get this to work on Rstudio Version 0.99.902 I run the code and the package successfully installs but it fails to create a geocode function.