I want to make a local crime API from a data frame of about 50,000 crimes with the following variables; crime type as a factor, the date of the crime, and latitude and longitude.
I want to use my build in my functions for choosing a time range, crime type, and most importantly returning only crimes that occurred within a given radius from a given lat and long.
I have learned on my own how to use GET and POST for an api and converting between R objects and json but I don't know much about building an api. If someone please provide me a little direction on an easy implementation to be hosted by a web service that would be great. Free hosting for experimenting would be preferred but if there is a simple way to make this happen for a trivial price that is cool to.
Thanks