{"action":"created","comment":{"url":"https://api.github.com/repos/socrata/dev.socrata.com/pulls/comments/51455723","id":51455723,"diff_hunk":"@@ -1,28 +1,35 @@\n ---\n layout: with-sidebar\n-title: R Forecasting with RSocrata\n+title: Forecasting with RSocrata\n sidebar: consumer\n type: example\n audience: consumer\n author: stuagano\n ---\n \n-Ever since the City of Chicago team built the [RSocrata Connector](https://github.com/Chicago/RSocrata) I have been dying to put together this simple tutorial for showing the ability for forecasting data in R on top of Socrata datasets. \n+Ever since the City of Chicago team built the [RSocrata Connector](https://github.com/Chicago/RSocrata) I have been dying to put together this simple tutorial for showing the ability for forecasting data in R on top of Socrata datasets. Most recently the City of Chicago updated the RSocrata connector to include `write.Socrata` which will have a number of interesting uses. \n \n This example is pulling a dataset in from the [City of Austin Open Data Portal](http://data.austintexas.gov) containing [EMS Incidents by Month](https://data.austintexas.gov/Public-Safety/EMS-Incidents-by-Month/gjtj-jt2d) and forecasting the next two years of EMS Incidents. \n \n-Two dependencies you will need are:\n+Three dependencies you will need are:\n \n {% highlight R %}\n-install(RSocrata)\n-library(forecast)\n+devtools [needed for getting the github version of RSocrata and not through CRAN]\n+RSocrata [Reading and Writing to and from Socrata]","path":"consumers/examples/forecasting_with_rsocrata.md","position":23,"original_position":23,"commit_id":"8542c9c6a09c642488137658dc1261b08507d012","original_commit_id":"8542c9c6a09c642488137658dc1261b08507d012","user":{"login":"cyranix","id":161077,"avatar_url":"https://avatars.githubusercontent.com/u/161077?v=3","gravatar_id":"","url":"https://api.github.com/users/cyranix","html_url":"https://github.com/cyranix","followers_url":"https://api.github.com/users/cyranix/followers","following_url":"https://api.github.com/users/cyranix/following{/other_user}","gists_url":"https://api.github.com/users/cyranix/gists{/gist_id}","starred_url":"https://api.github.com/users/cyranix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cyranix/subscriptions","organizations_url":"https://api.github.com/users/cyranix/orgs","repos_url":"https://api.github.com/users/cyranix/repos","events_url":"https://api.github.com/users/cyranix/events{/privacy}","received_events_url":"https://api.github.com/users/cyranix/received_events","type":"User","site_admin":false},"body":"Why capitalization on \"Reading\" and \"Writing\"?","created_at":"2016-02-01T18:10:59Z","updated_at":"2016-02-01T18:10:59Z","html_url":"https://github.com/socrata/dev.socrata.com/pull/349#discussion_r51455723","pull_request_url":"https://api.github.com/repos/socrata/dev.socrata.com/pulls/349","_links":{"self":{"href":"https://api.github.com/repos/socrata/dev.socrata.com/pulls/comments/51455723"},"html":{"href":"https://github.com/socrata/dev.socrata.com/pull/349#discussion_r51455723"},"pull_request":{"href":"https://api.github.com/repos/socrata/dev.socrata.com/pulls/349"}}},"pull_request":{"url":"https://api.github.com/repos/socrata/dev.socrata.com/pulls/349","id":57867663,"html_url":"https://github.com/socrata/dev.socrata.com/pull/349","diff_url":"https://github.com/socrata/dev.socrata.com/pull/349.diff","patch_url":"https://github.com/socrata/dev.socrata.com/pull/349.patch","issue_url":"https://api.github.com/repos/socrata/dev.socrata.com/issues/349","number":349,"state":"open","locked":false,"title":"write.socrta addition","user":{"login":"stuagano","id":8115246,"avatar_url":"https://avatars.githubusercontent.com/u/8115246?v=3","gravatar_id":"","url":"https://api.github.com/users/stuagano","html_url":"https://github.com/stuagano","followers_url":"https://api.github.com/users/stuagano/followers","following_url":"https://api.github.com/users/stuagano/following{/other_user}","gists_url":"https://api.github.com/users/stuagano/gists{/gist_id}","starred_url":"https://api.github.com/users/stuagano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stuagano/subscriptions","organizations_url":"https://api.github.com/users/stuagano/orgs","repos_url":"https://api.github.com/users/stuagano/repos","events_url":"https://api.github.com/users/stuagano/events{/privacy}","received_events_url":"https://api.github.com/users/stuagano/received_events","type":"User","site_admin":false},"body":"write.Socrata","created_at":"2016-02-01T16:57:40Z","updated_at":"2016-02-01T18:10:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f56ba18a369a7a722e712e3b9988cf371b65db90","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/socrata/dev.socrata.com/pulls/349/commits","review_comments_url":"https://api.github.com/repos/socrata/dev.socrata.com/pulls/349/comments","review_comment_url":"https://api.github.com/repos/socrata/dev.socrata.com/pulls/comments{/number}","comments_url":"https://api.github.com/repos/socrata/dev.socrata.com/issues/349/comments","statuses_url":"https://api.github.com/repos/socrata/dev.socrata.com/statuses/8542c9c6a09c642488137658dc1261b08507d012","head":{"label":"stuagano:gh-pages","ref":"gh-pages","sha":"8542c9c6a09c642488137658dc1261b08507d012","user":{"login":"stuagano","id":8115246,"avatar_url":"https://avatars.githubusercontent.com/u/8115246?v=3","gravatar_id":"","url":"https://api.github.com/users/stuagano","html_url":"https://github.com/stuagano","followers_url":"https://api.github.com/users/stuagano/followers","following_url":"https://api.github.com/users/stuagano/following{/other_user}","gists_url":"https://api.github.com/users/stuagano/gists{/gist_id}","starred_url":"https://api.github.com/users/stuagano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stuagano/subscriptions","organizations_url":"https://api.github.com/users/stuagano/orgs","repos_url":"https://api.github.com/users/stuagano/repos","events_url":"https://api.github.com/users/stuagano/events{/privacy}","received_events_url":"https://api.github.com/users/stuagano/received_events","type":"User","site_admin":false},"repo":{"id":33334089,"name":"dev.socrata.com","full_name":"stuagano/dev.socrata.com","owner":{"login":"stuagano","id":8115246,"avatar_url":"https://avatars.githubusercontent.com/u/8115246?v=3","gravatar_id":"","url":"https://api.github.com/users/stuagano","html_url":"https://github.com/stuagano","followers_url":"https://api.github.com/users/stuagano/followers","following_url":"https://api.github.com/users/stuagano/following{/other_user}","gists_url":"https://api.github.com/users/stuagano/gists{/gist_id}","starred_url":"https://api.github.com/users/stuagano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stuagano/subscriptions","organizations_url":"https://api.github.com/users/stuagano/orgs","repos_url":"https://api.github.com/users/stuagano/repos","events_url":"https://api.github.com/users/stuagano/events{/privacy}","received_events_url":"https://api.github.com/users/stuagano/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stuagano/dev.socrata.com","description":"Socrata Developer Site","fork":true,"url":"https://api.github.com/repos/stuagano/dev.socrata.com","forks_url":"https://api.github.com/repos/stuagano/dev.socrata.com/forks","keys_url":"https://api.github.com/repos/stuagano/dev.socrata.com/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stuagano/dev.socrata.com/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stuagano/dev.socrata.com/teams","hooks_url":"https://api.github.com/repos/stuagano/dev.socrata.com/hooks","issue_events_url":"https://api.github.com/repos/stuagano/dev.socrata.com/issues/events{/number}","events_url":"https://api.github.com/repos/stuagano/dev.socrata.com/events","assignees_url":"https://api.github.com/repos/stuagano/dev.socrata.com/assignees{/user}","branches_url":"https://api.github.com/repos/stuagano/dev.socrata.com/branches{/branch}","tags_url":"https://api.github.com/repos/stuagano/dev.socrata.com/tags","blobs_url":"https://api.github.com/repos/stuagano/dev.socrata.com/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stuagano/dev.socrata.com/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stuagano/dev.socrata.com/git/refs{/sha}","trees_url":"https://api.github.com/repos/stuagano/dev.socrata.com/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stuagano/dev.socrata.com/statuses/{sha}","languages_url":"https://api.github.com/repos/stuagano/dev.socrata.com/languages","stargazers_url":"https://api.github.com/repos/stuagano/dev.socrata.com/stargazers","contributors_url":"https://api.github.com/repos/stuagano/dev.socrata.com/contributors","subscribers_url":"https://api.github.com/repos/stuagano/dev.socrata.com/subscribers","subscription_url":"https://api.github.com/repos/stuagano/dev.socrata.com/subscription","commits_url":"https://api.github.com/repos/stuagano/dev.socrata.com/commits{/sha}","git_commits_url":"https://api.github.com/repos/stuagano/dev.socrata.com/git/commits{/sha}","comments_url":"https://api.github.com/repos/stuagano/dev.socrata.com/comments{/number}","issue_comment_url":"https://api.github.com/repos/stuagano/dev.socrata.com/issues/comments{/number}","contents_url":"https://api.github.com/repos/stuagano/dev.socrata.com/contents/{+path}","compare_url":"https://api.github.com/repos/stuagano/dev.socrata.com/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stuagano/dev.socrata.com/merges","archive_url":"https://api.github.com/repos/stuagano/dev.socrata.com/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stuagano/dev.socrata.com/downloads","issues_url":"https://api.github.com/repos/stuagano/dev.socrata.com/issues{/number}","pulls_url":"https://api.github.com/repos/stuagano/dev.socrata.com/pulls{/number}","milestones_url":"https://api.github.com/repos/stuagano/dev.socrata.com/milestones{/number}","notifications_url":"https://api.github.com/repos/stuagano/dev.socrata.com/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stuagano/dev.socrata.com/labels{/name}","releases_url":"https://api.github.com/repos/stuagano/dev.socrata.com/releases{/id}","deployments_url":"https://api.github.com/repos/stuagano/dev.socrata.com/deployments","created_at":"2015-04-02T22:05:23Z","updated_at":"2016-02-01T16:56:52Z","pushed_at":"2016-02-01T16:56:36Z","git_url":"git://github.com/stuagano/dev.socrata.com.git","ssh_url":"git@github.com:stuagano/dev.socrata.com.git","clone_url":"https://github.com/stuagano/dev.socrata.com.git","svn_url":"https://github.com/stuagano/dev.socrata.com","homepage":null,"size":15662,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"gh-pages"}},"base":{"label":"socrata:gh-pages","ref":"gh-pages","sha":"a42df1fb7cd3d986183861b45a630c6f11b29752","user":{"login":"socrata","id":57695,"avatar_url":"https://avatars.githubusercontent.com/u/57695?v=3","gravatar_id":"","url":"https://api.github.com/users/socrata","html_url":"https://github.com/socrata","followers_url":"https://api.github.com/users/socrata/followers","following_url":"https://api.github.com/users/socrata/following{/other_user}","gists_url":"https://api.github.com/users/socrata/gists{/gist_id}","starred_url":"https://api.github.com/users/socrata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/socrata/subscriptions","organizations_url":"https://api.github.com/users/socrata/orgs","repos_url":"https://api.github.com/users/socrata/repos","events_url":"https://api.github.com/users/socrata/events{/privacy}","received_events_url":"https://api.github.com/users/socrata/received_events","type":"Organization","site_admin":false},"repo":{"id":10347070,"name":"dev.socrata.com","full_name":"socrata/dev.socrata.com","owner":{"login":"socrata","id":57695,"avatar_url":"https://avatars.githubusercontent.com/u/57695?v=3","gravatar_id":"","url":"https://api.github.com/users/socrata","html_url":"https://github.com/socrata","followers_url":"https://api.github.com/users/socrata/followers","following_url":"https://api.github.com/users/socrata/following{/other_user}","gists_url":"https://api.github.com/users/socrata/gists{/gist_id}","starred_url":"https://api.github.com/users/socrata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/socrata/subscriptions","organizations_url":"https://api.github.com/users/socrata/orgs","repos_url":"https://api.github.com/users/socrata/repos","events_url":"https://api.github.com/users/socrata/events{/privacy}","received_events_url":"https://api.github.com/users/socrata/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/socrata/dev.socrata.com","description":"Socrata Developer Site","fork":false,"url":"https://api.github.com/repos/socrata/dev.socrata.com","forks_url":"https://api.github.com/repos/socrata/dev.socrata.com/forks","keys_url":"https://api.github.com/repos/socrata/dev.socrata.com/keys{/key_id}","collaborators_url":"https://api.github.com/repos/socrata/dev.socrata.com/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/socrata/dev.socrata.com/teams","hooks_url":"https://api.github.com/repos/socrata/dev.socrata.com/hooks","issue_events_url":"https://api.github.com/repos/socrata/dev.socrata.com/issues/events{/number}","events_url":"https://api.github.com/repos/socrata/dev.socrata.com/events","assignees_url":"https://api.github.com/repos/socrata/dev.socrata.com/assignees{/user}","branches_url":"https://api.github.com/repos/socrata/dev.socrata.com/branches{/branch}","tags_url":"https://api.github.com/repos/socrata/dev.socrata.com/tags","blobs_url":"https://api.github.com/repos/socrata/dev.socrata.com/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/socrata/dev.socrata.com/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/socrata/dev.socrata.com/git/refs{/sha}","trees_url":"https://api.github.com/repos/socrata/dev.socrata.com/git/trees{/sha}","statuses_url":"https://api.github.com/repos/socrata/dev.socrata.com/statuses/{sha}","languages_url":"https://api.github.com/repos/socrata/dev.socrata.com/languages","stargazers_url":"https://api.github.com/repos/socrata/dev.socrata.com/stargazers","contributors_url":"https://api.github.com/repos/socrata/dev.socrata.com/contributors","subscribers_url":"https://api.github.com/repos/socrata/dev.socrata.com/subscribers","subscription_url":"https://api.github.com/repos/socrata/dev.socrata.com/subscription","commits_url":"https://api.github.com/repos/socrata/dev.socrata.com/commits{/sha}","git_commits_url":"https://api.github.com/repos/socrata/dev.socrata.com/git/commits{/sha}","comments_url":"https://api.github.com/repos/socrata/dev.socrata.com/comments{/number}","issue_comment_url":"https://api.github.com/repos/socrata/dev.socrata.com/issues/comments{/number}","contents_url":"https://api.github.com/repos/socrata/dev.socrata.com/contents/{+path}","compare_url":"https://api.github.com/repos/socrata/dev.socrata.com/compare/{base}...{head}","merges_url":"https://api.github.com/repos/socrata/dev.socrata.com/merges","archive_url":"https://api.github.com/repos/socrata/dev.socrata.com/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/socrata/dev.socrata.com/downloads","issues_url":"https://api.github.com/repos/socrata/dev.socrata.com/issues{/number}","pulls_url":"https://api.github.com/repos/socrata/dev.socrata.com/pulls{/number}","milestones_url":"https://api.github.com/repos/socrata/dev.socrata.com/milestones{/number}","notifications_url":"https://api.github.com/repos/socrata/dev.socrata.com/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/socrata/dev.socrata.com/labels{/name}","releases_url":"https://api.github.com/repos/socrata/dev.socrata.com/releases{/id}","deployments_url":"https://api.github.com/repos/socrata/dev.socrata.com/deployments","created_at":"2013-05-28T22:34:06Z","updated_at":"2016-01-14T21:21:10Z","pushed_at":"2016-02-01T16:57:41Z","git_url":"git://github.com/socrata/dev.socrata.com.git","ssh_url":"git@github.com:socrata/dev.socrata.com.git","clone_url":"https://github.com/socrata/dev.socrata.com.git","svn_url":"https://github.com/socrata/dev.socrata.com","homepage":null,"size":15727,"stargazers_count":23,"watchers_count":23,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":41,"mirror_url":null,"open_issues_count":84,"forks":41,"open_issues":84,"watchers":23,"default_branch":"gh-pages"}},"_links":{"self":{"href":"https://api.github.com/repos/socrata/dev.socrata.com/pulls/349"},"html":{"href":"https://github.com/socrata/dev.socrata.com/pull/349"},"issue":{"href":"https://api.github.com/repos/socrata/dev.socrata.com/issues/349"},"comments":{"href":"https://api.github.com/repos/socrata/dev.socrata.com/issues/349/comments"},"review_comments":{"href":"https://api.github.com/repos/socrata/dev.socrata.com/pulls/349/comments"},"review_comment":{"href":"https://api.github.com/repos/socrata/dev.socrata.com/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/socrata/dev.socrata.com/pulls/349/commits"},"statuses":{"href":"https://api.github.com/repos/socrata/dev.socrata.com/statuses/8542c9c6a09c642488137658dc1261b08507d012"}}}}