{"action":"created","comment":{"url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/pulls/comments/187567229","pull_request_review_id":119374189,"id":187567229,"diff_hunk":"@@ -1,22 +1,38 @@\n+'''\n+  This recipe gets two datasources\n+     - London Traffic data using TrafficCountImporter.java only for London\n+     - London localAuthority data using OaImporter.java\n+  \n+  Then for each localAuthority using GeographicAggregationField\n+    - It sums all the bi-cycle count based on LocalAuthority\n+  \n+  Then it writes the sum to the output file for every localAuthority using GeographicAggregationField\n+'''\n from os import path, pardir\n import sys\n sys.path.append(path.join(path.dirname(path.realpath(__file__)), pardir))\n \n from recipe import Dataset, Subject, AttributeMatcher, GeographicAggregationField, LatestValueField, Match_Rule, Datasource, Recipe","path":"Samples/aggregate-traffic-count-data-within-localauthorities.py","position":15,"original_position":15,"commit_id":"0426d7335df8b3ca6106334c1987401cb4d2a2cb","original_commit_id":"0426d7335df8b3ca6106334c1987401cb4d2a2cb","user":{"login":"arya-hemanshu","id":19670372,"avatar_url":"https://avatars1.githubusercontent.com/u/19670372?v=4","gravatar_id":"","url":"https://api.github.com/users/arya-hemanshu","html_url":"https://github.com/arya-hemanshu","followers_url":"https://api.github.com/users/arya-hemanshu/followers","following_url":"https://api.github.com/users/arya-hemanshu/following{/other_user}","gists_url":"https://api.github.com/users/arya-hemanshu/gists{/gist_id}","starred_url":"https://api.github.com/users/arya-hemanshu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arya-hemanshu/subscriptions","organizations_url":"https://api.github.com/users/arya-hemanshu/orgs","repos_url":"https://api.github.com/users/arya-hemanshu/repos","events_url":"https://api.github.com/users/arya-hemanshu/events{/privacy}","received_events_url":"https://api.github.com/users/arya-hemanshu/received_events","type":"User","site_admin":false},"body":"done","created_at":"2018-05-11T09:36:49Z","updated_at":"2018-05-11T09:36:50Z","html_url":"https://github.com/FutureCitiesCatapult/digital-connector-python/pull/52#discussion_r187567229","pull_request_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/pulls/52","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/pulls/comments/187567229"},"html":{"href":"https://github.com/FutureCitiesCatapult/digital-connector-python/pull/52#discussion_r187567229"},"pull_request":{"href":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/pulls/52"}},"in_reply_to_id":187549303},"pull_request":{"url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/pulls/52","id":186883230,"html_url":"https://github.com/FutureCitiesCatapult/digital-connector-python/pull/52","diff_url":"https://github.com/FutureCitiesCatapult/digital-connector-python/pull/52.diff","patch_url":"https://github.com/FutureCitiesCatapult/digital-connector-python/pull/52.patch","issue_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/issues/52","number":52,"state":"open","locked":false,"title":"added comments to recipes","user":{"login":"arya-hemanshu","id":19670372,"avatar_url":"https://avatars1.githubusercontent.com/u/19670372?v=4","gravatar_id":"","url":"https://api.github.com/users/arya-hemanshu","html_url":"https://github.com/arya-hemanshu","followers_url":"https://api.github.com/users/arya-hemanshu/followers","following_url":"https://api.github.com/users/arya-hemanshu/following{/other_user}","gists_url":"https://api.github.com/users/arya-hemanshu/gists{/gist_id}","starred_url":"https://api.github.com/users/arya-hemanshu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arya-hemanshu/subscriptions","organizations_url":"https://api.github.com/users/arya-hemanshu/orgs","repos_url":"https://api.github.com/users/arya-hemanshu/repos","events_url":"https://api.github.com/users/arya-hemanshu/events{/privacy}","received_events_url":"https://api.github.com/users/arya-hemanshu/received_events","type":"User","site_admin":false},"body":"added documentation to all the recipes","created_at":"2018-05-09T10:41:40Z","updated_at":"2018-05-11T09:36:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8ced53ab56e1364eb2496cefe1244c1bb471d043","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/pulls/52/commits","review_comments_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/pulls/52/comments","review_comment_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/pulls/comments{/number}","comments_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/issues/52/comments","statuses_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/statuses/0426d7335df8b3ca6106334c1987401cb4d2a2cb","head":{"label":"FutureCitiesCatapult:recipe_documentation","ref":"recipe_documentation","sha":"0426d7335df8b3ca6106334c1987401cb4d2a2cb","user":{"login":"FutureCitiesCatapult","id":20516094,"avatar_url":"https://avatars3.githubusercontent.com/u/20516094?v=4","gravatar_id":"","url":"https://api.github.com/users/FutureCitiesCatapult","html_url":"https://github.com/FutureCitiesCatapult","followers_url":"https://api.github.com/users/FutureCitiesCatapult/followers","following_url":"https://api.github.com/users/FutureCitiesCatapult/following{/other_user}","gists_url":"https://api.github.com/users/FutureCitiesCatapult/gists{/gist_id}","starred_url":"https://api.github.com/users/FutureCitiesCatapult/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FutureCitiesCatapult/subscriptions","organizations_url":"https://api.github.com/users/FutureCitiesCatapult/orgs","repos_url":"https://api.github.com/users/FutureCitiesCatapult/repos","events_url":"https://api.github.com/users/FutureCitiesCatapult/events{/privacy}","received_events_url":"https://api.github.com/users/FutureCitiesCatapult/received_events","type":"Organization","site_admin":false},"repo":{"id":116130749,"name":"digital-connector-python","full_name":"FutureCitiesCatapult/digital-connector-python","owner":{"login":"FutureCitiesCatapult","id":20516094,"avatar_url":"https://avatars3.githubusercontent.com/u/20516094?v=4","gravatar_id":"","url":"https://api.github.com/users/FutureCitiesCatapult","html_url":"https://github.com/FutureCitiesCatapult","followers_url":"https://api.github.com/users/FutureCitiesCatapult/followers","following_url":"https://api.github.com/users/FutureCitiesCatapult/following{/other_user}","gists_url":"https://api.github.com/users/FutureCitiesCatapult/gists{/gist_id}","starred_url":"https://api.github.com/users/FutureCitiesCatapult/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FutureCitiesCatapult/subscriptions","organizations_url":"https://api.github.com/users/FutureCitiesCatapult/orgs","repos_url":"https://api.github.com/users/FutureCitiesCatapult/repos","events_url":"https://api.github.com/users/FutureCitiesCatapult/events{/privacy}","received_events_url":"https://api.github.com/users/FutureCitiesCatapult/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/FutureCitiesCatapult/digital-connector-python","description":"A python library to work with digital connector through python","fork":false,"url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python","forks_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/forks","keys_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/teams","hooks_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/hooks","issue_events_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/issues/events{/number}","events_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/events","assignees_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/assignees{/user}","branches_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/branches{/branch}","tags_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/tags","blobs_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/git/refs{/sha}","trees_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/statuses/{sha}","languages_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/languages","stargazers_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/stargazers","contributors_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/contributors","subscribers_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/subscribers","subscription_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/subscription","commits_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/commits{/sha}","git_commits_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/git/commits{/sha}","comments_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/comments{/number}","issue_comment_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/issues/comments{/number}","contents_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/contents/{+path}","compare_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/merges","archive_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/downloads","issues_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/issues{/number}","pulls_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/pulls{/number}","milestones_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/milestones{/number}","notifications_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/labels{/name}","releases_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/releases{/id}","deployments_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/deployments","created_at":"2018-01-03T11:45:58Z","updated_at":"2018-05-10T13:40:36Z","pushed_at":"2018-05-09T13:00:16Z","git_url":"git://github.com/FutureCitiesCatapult/digital-connector-python.git","ssh_url":"git@github.com:FutureCitiesCatapult/digital-connector-python.git","clone_url":"https://github.com/FutureCitiesCatapult/digital-connector-python.git","svn_url":"https://github.com/FutureCitiesCatapult/digital-connector-python","homepage":null,"size":2866,"stargazers_count":7,"watchers_count":7,"language":"Jupyter Notebook","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":19,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":3,"open_issues":19,"watchers":7,"default_branch":"master"}},"base":{"label":"FutureCitiesCatapult:master","ref":"master","sha":"beb6e909648bb73dd0c1d1750b597e18dcb818b7","user":{"login":"FutureCitiesCatapult","id":20516094,"avatar_url":"https://avatars3.githubusercontent.com/u/20516094?v=4","gravatar_id":"","url":"https://api.github.com/users/FutureCitiesCatapult","html_url":"https://github.com/FutureCitiesCatapult","followers_url":"https://api.github.com/users/FutureCitiesCatapult/followers","following_url":"https://api.github.com/users/FutureCitiesCatapult/following{/other_user}","gists_url":"https://api.github.com/users/FutureCitiesCatapult/gists{/gist_id}","starred_url":"https://api.github.com/users/FutureCitiesCatapult/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FutureCitiesCatapult/subscriptions","organizations_url":"https://api.github.com/users/FutureCitiesCatapult/orgs","repos_url":"https://api.github.com/users/FutureCitiesCatapult/repos","events_url":"https://api.github.com/users/FutureCitiesCatapult/events{/privacy}","received_events_url":"https://api.github.com/users/FutureCitiesCatapult/received_events","type":"Organization","site_admin":false},"repo":{"id":116130749,"name":"digital-connector-python","full_name":"FutureCitiesCatapult/digital-connector-python","owner":{"login":"FutureCitiesCatapult","id":20516094,"avatar_url":"https://avatars3.githubusercontent.com/u/20516094?v=4","gravatar_id":"","url":"https://api.github.com/users/FutureCitiesCatapult","html_url":"https://github.com/FutureCitiesCatapult","followers_url":"https://api.github.com/users/FutureCitiesCatapult/followers","following_url":"https://api.github.com/users/FutureCitiesCatapult/following{/other_user}","gists_url":"https://api.github.com/users/FutureCitiesCatapult/gists{/gist_id}","starred_url":"https://api.github.com/users/FutureCitiesCatapult/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FutureCitiesCatapult/subscriptions","organizations_url":"https://api.github.com/users/FutureCitiesCatapult/orgs","repos_url":"https://api.github.com/users/FutureCitiesCatapult/repos","events_url":"https://api.github.com/users/FutureCitiesCatapult/events{/privacy}","received_events_url":"https://api.github.com/users/FutureCitiesCatapult/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/FutureCitiesCatapult/digital-connector-python","description":"A python library to work with digital connector through python","fork":false,"url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python","forks_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/forks","keys_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/teams","hooks_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/hooks","issue_events_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/issues/events{/number}","events_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/events","assignees_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/assignees{/user}","branches_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/branches{/branch}","tags_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/tags","blobs_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/git/refs{/sha}","trees_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/statuses/{sha}","languages_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/languages","stargazers_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/stargazers","contributors_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/contributors","subscribers_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/subscribers","subscription_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/subscription","commits_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/commits{/sha}","git_commits_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/git/commits{/sha}","comments_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/comments{/number}","issue_comment_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/issues/comments{/number}","contents_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/contents/{+path}","compare_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/merges","archive_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/downloads","issues_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/issues{/number}","pulls_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/pulls{/number}","milestones_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/milestones{/number}","notifications_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/labels{/name}","releases_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/releases{/id}","deployments_url":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/deployments","created_at":"2018-01-03T11:45:58Z","updated_at":"2018-05-10T13:40:36Z","pushed_at":"2018-05-09T13:00:16Z","git_url":"git://github.com/FutureCitiesCatapult/digital-connector-python.git","ssh_url":"git@github.com:FutureCitiesCatapult/digital-connector-python.git","clone_url":"https://github.com/FutureCitiesCatapult/digital-connector-python.git","svn_url":"https://github.com/FutureCitiesCatapult/digital-connector-python","homepage":null,"size":2866,"stargazers_count":7,"watchers_count":7,"language":"Jupyter Notebook","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":19,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":3,"open_issues":19,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/pulls/52"},"html":{"href":"https://github.com/FutureCitiesCatapult/digital-connector-python/pull/52"},"issue":{"href":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/issues/52"},"comments":{"href":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/issues/52/comments"},"review_comments":{"href":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/pulls/52/comments"},"review_comment":{"href":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/pulls/52/commits"},"statuses":{"href":"https://api.github.com/repos/FutureCitiesCatapult/digital-connector-python/statuses/0426d7335df8b3ca6106334c1987401cb4d2a2cb"}},"author_association":"OWNER"}}
{"actor":{"display_login":"arya-hemanshu"}}