On 2017-05-28 8:16 PM, Erin Hodgess wrote:
I have actually just figured it out with some help from a JS website . Was 
going to post the solution but maybe I shouldn't ?


Have you considered contacting them and asking at "https://spotcrime.com/contact.php";?


The web site does not contain copyright information that I can find. Their "Terms of Use" (https://spotcrime.com/tos) says, "You will not ... distribute any files ... where it is possible that ... any of the Website may be used to distribute copyrighted materials to or from persons who are not authorized to receive, copy, distribute or use them." I suggest you contact them. Explain this could make it easier for people to use their data and promote their web site.


The "Ecfun" package contains various "read*" functions that scrape data from different web sites. If spotcrime.com says it's OK to access their web site as you have AND you'd like to add a function to do this to the "Ecfun" package, please go to R-Forge, find the "Ecdat" project, and "request to join" I will approve.


      Spencer Graves

Sent from my iPhone

On May 28, 2017, at 7:51 PM, Robert Sherry <rsher...@comcast.net> wrote:

Erin,

I do not think there is an R package that will enable you to get the data you 
would like from spotcrime.com.

You could write code, in R, or some other language, to extract the data you 
want but that is going to be a changeling  task and if
the website changes its format then your code may suddenly stop working. Also, 
the people who run spotcrime.com may not be happy if you do so.

Bob

On 5/28/2017 4:45 PM, Erin Hodgess wrote:
Sorry!!!

It's spotcrime.com, and I would like to use it via R for crimes.



On Sun, May 28, 2017 at 2:19 PM, Jeff Newmiller <jdnew...@dcn.davis.ca.us>
wrote:

Can you please be just a little less vague? What API are you talking
about, and how is this related to R?
--
Sent from my phone. Please excuse my brevity.

On May 28, 2017 11:48:42 AM PDT, Erin Hodgess <erinm.hodg...@gmail.com>
wrote:
Hello!

I would like to use a particular API for crimes (spot crimes) but I
can't
find what components go into the API.  I have gone into the website,but
to
no avail

Has anyone used it please?

Thank you,
Sincerely,
Erin

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to