get_issues_by_type {seeclickfixr} | R Documentation |
Query information about issues of a certain type or types.
Description
Returns all issues of a given type or types in the specified location, specified either by coordinates or by name/address.
Usage
get_issues_by_type(city, issue_type,
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. Make sure to use same spelling/capitalization of city as it appears in the 'url_name' field returned by list_places() |
issue_type |
Type of issues which should be returned. If multiple types, they should be separated by commas and without spaces. |
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/acknowledged/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
list_issue_types
get_issues_by_date
get_city_issues