list_places {seeclickfixr}R Documentation

Query sub-city neighborhoods in which issues can be reported.

Description

Returns a list of sub-city neighborhoods where citizens can report issues.

Usage

list_places(startingpoint, limit = 100)

Arguments

startingpoint

Starting point around which the names of sub-city locations will be returned.

limit

The maximum number of location names to be returned.

Value

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

See Also

list_issue_types

Examples

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

[Package seeclickfixr version 1.1.0 Index]