I am working on an exercise which consists on retrieving data from foursquare in order to determine where to add a Gym based on less competition. I have already called the API and cleaned my data, and was even able to map all the gyms. I am stuck, however in figuring out a way to use the data (coordinates) from my set, with the restriction that it needs to be limited to a specific area (I figured I can do top-left, right bottom coordinates for this). Any ideas?
A solution using heat maps instead of an exact location would work as well.