Description Usage Arguments Value See Also Examples
Returns a list of sub-city neighborhoods where citizens can report issues.
1 | list_places(startingpoint, limit = 100)
|
startingpoint |
Starting point around which the names of sub-city locations will be returned. |
limit |
The maximum number of location names to be returned. |
id |
Unique place id |
name |
Name of sub-city neighborhood/location |
url_name |
URL for |
county |
County where the location is |
state |
State where the location is |
place_type |
Type of location (city, county, neighborhood) |
url |
URL for |
html_url |
|
html_report_url |
|
type |
|
lat |
Latitude of coordinates for location |
lng |
Longitude of coordinates for location |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | list_places("Boston, MA",limit = 5)
## Returns:
# id name url_name county state place_type
# 1 28632 Central central_suffolk Suffolk MA Neighborhood
# 2 72870 Downtown downtown_boston Downtown MA Neighborhood
# 3 72869 North End northend_boston North End MA Neighborhood
# 4 72838 Beacon Hill beacon_hill Massachusetts Neighborhood
# 5 28631 East Cambridge east-cambridge Middlesex MA Neighborhood
# url html_url
# 1 https://seeclickfix.com/api/v2/places/28632 https://seeclickfix.com/central_suffolk
# 2 https://seeclickfix.com/api/v2/places/72870 https://seeclickfix.com/downtown_boston
# 3 https://seeclickfix.com/api/v2/places/72869 https://seeclickfix.com/northend_boston
# 4 https://seeclickfix.com/api/v2/places/72838 https://seeclickfix.com/beacon_hill
# 5 https://seeclickfix.com/api/v2/places/28631 https://seeclickfix.com/east-cambridge
# html_report_url type lat lng
# 1 https://seeclickfix.com/central_suffolk/report Point 42.35854 -71.05931
# 2 https://seeclickfix.com/downtown_boston/report Point 42.35630 -71.05707
# 3 https://seeclickfix.com/northend_boston/report Point 42.36534 -71.05325
# 4 https://seeclickfix.com/beacon_hill/report Point 42.35716 -71.06791
# 5 https://seeclickfix.com/east-cambridge/report Point 42.36833 -71.07928
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.