get_city_issues: Query all issues in a given location

Description Usage Arguments Value See Also

View source: R/get_city_issues.R

Description

Returns all issues in the specific location, specified either by coordinates or by name/address.

Usage

1
2
get_city_issues(city=NULL, lat=NULL,long=NULL, status = 
"open,acknowledged,closed,archived", limit = 100) 

Arguments

city

A written description of the location for which issue types should be returned. If city is specified, lat/long should not be.

lat

Latitude of coordinates, specified instead of city.

long

Longitude of coordinates, specified instead of city.

status

Which status types of issues should be returned. Separate statuses should be separated by commas without spaces. Available options are open, acknowledged, closed, and archived. Default is all.

limit

Number of items to return. Defaults to 100.

Value

issue_id

Unique ID number for the given issue

status

Status of the issue (open/closed)

summary

Summary of the status for the issue

description

Text description of the issue as reported

rating

Importance rating of the issue

lat

Latitude of the issue as reported

lng

Longitude of the issue as reported

issue_address

Address of the issue as reported

created_at

Date and time when issue report was created

acknowledged_at

Date and time when issue report was acknowledged by city

closed_at

Date and time when issue report was closed by city

reopened_at

Date and time when issue report was reopened, if it was

updated_at

Date and time when issue report was last updated

shortened_url

Shortened URL of the issue report

video_url

URL for the video of the issue, if provided

image_full

Image of the issue as reported

image_square_100x100

Square version of the image of the issue

representative_image_url

A representative image of the issue, if no actual image was submitted

issue_type

Type of issue

url

URL to the report of the issue

html_url

URL to the report of the issue in HTML format

comment_url

URL to the comments on the issue

flag_url

URL to the flag for the issue

close_url

URL to the closing report of the issue

open_url

URL to the opening report of the issue

reporter_id

Issue reporter's unique ID number

reporter_name

Name of the issue reporter

reporter_wittytitle

Username/witty name of the issue reporter

reporter_role

Issue reporter's role in the city, if any

reporter_civicpoints

Number of civic points the issue reporter has, if any

reporter_avatar_full

Chosen avatar of the issue reporter

reporter_avatar_square

Square version of the avatar

See Also

get_specific_issue


seeclickfixr documentation built on May 1, 2019, 7:32 p.m.