get_issues_by_date {seeclickfixr} | R Documentation |
Query information about issues within a date-time range.
Description
Returns all issues within a date-time window in the specified location, specified either by coordinates or by name/address.
Usage
get_issues_by_date(city, after =
Sys.time() - 86400, before = Sys.time(), 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. |
after |
Beginning of time window from which issues should be returned. Specified in POSIX date-time format. Defaults to 24 hours prior to system time. |
before |
End of time window from which issues should be returned. Specified in POSIX date-time format. Defaults to system time. |
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
get_issues_by_type
get_city_issues