{"action":"closed","number":28,"pull_request":{"url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/pulls/28","id":35973903,"html_url":"https://github.com/dchaplinsky/declarations.com.ua/pull/28","diff_url":"https://github.com/dchaplinsky/declarations.com.ua/pull/28.diff","patch_url":"https://github.com/dchaplinsky/declarations.com.ua/pull/28.patch","issue_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/issues/28","number":28,"state":"closed","locked":false,"title":"Integration of knitr analytics","user":{"login":"excieve","id":1077193,"avatar_url":"https://avatars.githubusercontent.com/u/1077193?v=3","gravatar_id":"","url":"https://api.github.com/users/excieve","html_url":"https://github.com/excieve","followers_url":"https://api.github.com/users/excieve/followers","following_url":"https://api.github.com/users/excieve/following{/other_user}","gists_url":"https://api.github.com/users/excieve/gists{/gist_id}","starred_url":"https://api.github.com/users/excieve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/excieve/subscriptions","organizations_url":"https://api.github.com/users/excieve/orgs","repos_url":"https://api.github.com/users/excieve/repos","events_url":"https://api.github.com/users/excieve/events{/privacy}","received_events_url":"https://api.github.com/users/excieve/received_events","type":"User","site_admin":false},"body":"Executes knitr script via knitrBootstrap with all available declarations passed in suitable format. Reads back the generated HTML for further usage.\r\n\r\nPlease don't merge just yet - it's missing loading of the HTML to the DB. I'm opening a PR now in order to discuss this. Basically the result of knitr execution is a full HTML document with bootstrap stuff. So we could just dump it all and call it a day.\r\n\r\nOn the other hand it's possible to generate only a body fragment instead of the whole document. But it would likely need some bootstrap things in the header. Then we might try to adapt it to our templates with our nav, etc. Some frontend tweaking might be needed too.\r\n\r\nWhat do you think is adequate?","created_at":"2015-05-21T20:27:16Z","updated_at":"2015-05-27T23:44:26Z","closed_at":"2015-05-27T23:44:26Z","merged_at":"2015-05-27T23:44:26Z","merge_commit_sha":"b4b5a7158d338a6052a29bb6ebc9aadfa25fd925","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/pulls/28/commits","review_comments_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/pulls/28/comments","review_comment_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/issues/28/comments","statuses_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/statuses/e12f0621ff1a894ae2983d5124db3d45637dc6a4","head":{"label":"dchaplinsky:feature/knitr_reports","ref":"feature/knitr_reports","sha":"e12f0621ff1a894ae2983d5124db3d45637dc6a4","user":{"login":"dchaplinsky","id":131186,"avatar_url":"https://avatars.githubusercontent.com/u/131186?v=3","gravatar_id":"","url":"https://api.github.com/users/dchaplinsky","html_url":"https://github.com/dchaplinsky","followers_url":"https://api.github.com/users/dchaplinsky/followers","following_url":"https://api.github.com/users/dchaplinsky/following{/other_user}","gists_url":"https://api.github.com/users/dchaplinsky/gists{/gist_id}","starred_url":"https://api.github.com/users/dchaplinsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dchaplinsky/subscriptions","organizations_url":"https://api.github.com/users/dchaplinsky/orgs","repos_url":"https://api.github.com/users/dchaplinsky/repos","events_url":"https://api.github.com/users/dchaplinsky/events{/privacy}","received_events_url":"https://api.github.com/users/dchaplinsky/received_events","type":"User","site_admin":false},"repo":{"id":31430527,"name":"declarations.com.ua","full_name":"dchaplinsky/declarations.com.ua","owner":{"login":"dchaplinsky","id":131186,"avatar_url":"https://avatars.githubusercontent.com/u/131186?v=3","gravatar_id":"","url":"https://api.github.com/users/dchaplinsky","html_url":"https://github.com/dchaplinsky","followers_url":"https://api.github.com/users/dchaplinsky/followers","following_url":"https://api.github.com/users/dchaplinsky/following{/other_user}","gists_url":"https://api.github.com/users/dchaplinsky/gists{/gist_id}","starred_url":"https://api.github.com/users/dchaplinsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dchaplinsky/subscriptions","organizations_url":"https://api.github.com/users/dchaplinsky/orgs","repos_url":"https://api.github.com/users/dchaplinsky/repos","events_url":"https://api.github.com/users/dchaplinsky/events{/privacy}","received_events_url":"https://api.github.com/users/dchaplinsky/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dchaplinsky/declarations.com.ua","description":"Our project to digitaze and open all declaration of ukrainian officials","fork":false,"url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua","forks_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/forks","keys_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/teams","hooks_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/hooks","issue_events_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/issues/events{/number}","events_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/events","assignees_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/assignees{/user}","branches_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/branches{/branch}","tags_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/tags","blobs_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/git/refs{/sha}","trees_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/statuses/{sha}","languages_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/languages","stargazers_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/stargazers","contributors_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/contributors","subscribers_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/subscribers","subscription_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/subscription","commits_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/commits{/sha}","git_commits_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/git/commits{/sha}","comments_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/comments{/number}","issue_comment_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/issues/comments{/number}","contents_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/contents/{+path}","compare_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/merges","archive_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/downloads","issues_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/issues{/number}","pulls_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/pulls{/number}","milestones_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/milestones{/number}","notifications_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/labels{/name}","releases_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/releases{/id}","created_at":"2015-02-27T17:22:48Z","updated_at":"2015-05-18T11:18:45Z","pushed_at":"2015-05-27T23:44:27Z","git_url":"git://github.com/dchaplinsky/declarations.com.ua.git","ssh_url":"git@github.com:dchaplinsky/declarations.com.ua.git","clone_url":"https://github.com/dchaplinsky/declarations.com.ua.git","svn_url":"https://github.com/dchaplinsky/declarations.com.ua","homepage":"http://declarations.com.ua","size":11266,"stargazers_count":2,"watchers_count":2,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":2,"default_branch":"master"}},"base":{"label":"dchaplinsky:master","ref":"master","sha":"ac3f1cba8a274fc951b1864ef3b9f21942125289","user":{"login":"dchaplinsky","id":131186,"avatar_url":"https://avatars.githubusercontent.com/u/131186?v=3","gravatar_id":"","url":"https://api.github.com/users/dchaplinsky","html_url":"https://github.com/dchaplinsky","followers_url":"https://api.github.com/users/dchaplinsky/followers","following_url":"https://api.github.com/users/dchaplinsky/following{/other_user}","gists_url":"https://api.github.com/users/dchaplinsky/gists{/gist_id}","starred_url":"https://api.github.com/users/dchaplinsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dchaplinsky/subscriptions","organizations_url":"https://api.github.com/users/dchaplinsky/orgs","repos_url":"https://api.github.com/users/dchaplinsky/repos","events_url":"https://api.github.com/users/dchaplinsky/events{/privacy}","received_events_url":"https://api.github.com/users/dchaplinsky/received_events","type":"User","site_admin":false},"repo":{"id":31430527,"name":"declarations.com.ua","full_name":"dchaplinsky/declarations.com.ua","owner":{"login":"dchaplinsky","id":131186,"avatar_url":"https://avatars.githubusercontent.com/u/131186?v=3","gravatar_id":"","url":"https://api.github.com/users/dchaplinsky","html_url":"https://github.com/dchaplinsky","followers_url":"https://api.github.com/users/dchaplinsky/followers","following_url":"https://api.github.com/users/dchaplinsky/following{/other_user}","gists_url":"https://api.github.com/users/dchaplinsky/gists{/gist_id}","starred_url":"https://api.github.com/users/dchaplinsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dchaplinsky/subscriptions","organizations_url":"https://api.github.com/users/dchaplinsky/orgs","repos_url":"https://api.github.com/users/dchaplinsky/repos","events_url":"https://api.github.com/users/dchaplinsky/events{/privacy}","received_events_url":"https://api.github.com/users/dchaplinsky/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dchaplinsky/declarations.com.ua","description":"Our project to digitaze and open all declaration of ukrainian officials","fork":false,"url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua","forks_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/forks","keys_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/teams","hooks_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/hooks","issue_events_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/issues/events{/number}","events_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/events","assignees_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/assignees{/user}","branches_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/branches{/branch}","tags_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/tags","blobs_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/git/refs{/sha}","trees_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/statuses/{sha}","languages_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/languages","stargazers_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/stargazers","contributors_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/contributors","subscribers_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/subscribers","subscription_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/subscription","commits_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/commits{/sha}","git_commits_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/git/commits{/sha}","comments_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/comments{/number}","issue_comment_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/issues/comments{/number}","contents_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/contents/{+path}","compare_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/merges","archive_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/downloads","issues_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/issues{/number}","pulls_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/pulls{/number}","milestones_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/milestones{/number}","notifications_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/labels{/name}","releases_url":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/releases{/id}","created_at":"2015-02-27T17:22:48Z","updated_at":"2015-05-18T11:18:45Z","pushed_at":"2015-05-27T23:44:27Z","git_url":"git://github.com/dchaplinsky/declarations.com.ua.git","ssh_url":"git@github.com:dchaplinsky/declarations.com.ua.git","clone_url":"https://github.com/dchaplinsky/declarations.com.ua.git","svn_url":"https://github.com/dchaplinsky/declarations.com.ua","homepage":"http://declarations.com.ua","size":11266,"stargazers_count":2,"watchers_count":2,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/pulls/28"},"html":{"href":"https://github.com/dchaplinsky/declarations.com.ua/pull/28"},"issue":{"href":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/issues/28"},"comments":{"href":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/dchaplinsky/declarations.com.ua/statuses/e12f0621ff1a894ae2983d5124db3d45637dc6a4"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"dchaplinsky","id":131186,"avatar_url":"https://avatars.githubusercontent.com/u/131186?v=3","gravatar_id":"","url":"https://api.github.com/users/dchaplinsky","html_url":"https://github.com/dchaplinsky","followers_url":"https://api.github.com/users/dchaplinsky/followers","following_url":"https://api.github.com/users/dchaplinsky/following{/other_user}","gists_url":"https://api.github.com/users/dchaplinsky/gists{/gist_id}","starred_url":"https://api.github.com/users/dchaplinsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dchaplinsky/subscriptions","organizations_url":"https://api.github.com/users/dchaplinsky/orgs","repos_url":"https://api.github.com/users/dchaplinsky/repos","events_url":"https://api.github.com/users/dchaplinsky/events{/privacy}","received_events_url":"https://api.github.com/users/dchaplinsky/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":5,"additions":3730,"deletions":4,"changed_files":10}}