{"action":"created","comment":{"url":"https://api.github.com/repos/CartoDB/bigmetadata/pulls/comments/199530118","pull_request_review_id":133666024,"id":199530118,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5OTUzMDExOA==","diff_hunk":"@@ -0,0 +1,109 @@\n+import os\n+import json\n+import csv\n+\n+from luigi import Task, WrapperTask, Parameter\n+from luigi.local_target import LocalTarget\n+from tasks.us.census.tiger import ShorelineClip\n+from tasks.us.census.acs import ACSMetaWrapper\n+from tasks.meta import current_session\n+from lib.logger import get_logger\n+\n+LOGGER = get_logger(__name__)\n+\n+# TODO Add block level when we have ACS for block\n+GEOGRAPHY_LEVELS = {'state': 'us.census.tiger.state',\n+                    'county': 'us.census.tiger.county',\n+                    'census_tract': 'us.census.tiger.census_tract',\n+                    'zcta5': 'us.census.tiger.zcta5',\n+                    'block_group': 'us.census.tiger.block_group',\n+                    'block': 'us.census.tiger.block'}\n+\n+\n+class Measurements2CSV(Task):\n+    geography = Parameter()\n+    file_name = Parameter()\n+\n+    def __init__(self, *args, **kwargs):\n+        super(Measurements2CSV, self).__init__(*args, **kwargs)\n+\n+    def requires(self):\n+        return {\n+            'shorelineclip': ShorelineClip(geography=self.geography, year='2015'),\n+            'acs5yr': ACSMetaWrapper(geography=self.geography, year='2015', sample='5yr'),\n+            'acs1yr': ACSMetaWrapper(geography=self.geography, year='2015', sample='1yr'),\n+        }\n+\n+    def _get_config_data(self):\n+        dir_path = os.path.dirname(os.path.realpath(__file__))\n+        with (open('{}/{}'.format(dir_path, 'measurements.json'))) as f:\n+            return json.load(f)\n+\n+    def run(self):\n+        session = current_session()\n+        measurements = self._get_config_data()\n+        for measure in measurements:\n+            measure['geom_id'] = GEOGRAPHY_LEVELS[self.geography]\n+        json_metadata = json.dumps(measurements)\n+        result = session.execute(self._get_meta_query(json_metadata))\n+        if result:\n+            join_data = {}\n+            join_data['numer'] = {}\n+            colnames = ['geoid']\n+            for data in result.fetchall():\n+                join_data['numer'][data['numer_table']] = {'table': 'observatory.{}'.format(data['numer_table']),\n+                                                           'join_column': data['numer_join_col']}\n+                # All come from the same geometry tables so we use, by now, just one geometry\n+                # TODO Make it possible to have multiple geometry tables\n+                join_data['geom'] = {'table': 'observatory.{}'.format(data['geom_table']), 'join_column': data['geom_join_col']}\n+                colnames.append(data['numer_col'])\n+            measurement_result = session.execute(self._get_measurements_query(join_data, colnames))\n+            if measurement_result:\n+                measurements = measurement_result.fetchall()\n+                self._generate_csv_file(colnames, measurements)\n+            else:\n+                LOGGER.error('No results for the queried measurements')\n+\n+        else:\n+            LOGGER.error('No results for the defined measurements in the JSON file')\n+\n+    def _get_meta_query(self, metadata):\n+        return '''SELECT meta->>'numer_tablename' numer_table, meta->>'numer_geomref_colname' numer_join_col,\n+                         meta->>'numer_colname' numer_col, meta->>'geom_tablename' geom_table,\n+                         meta->>'geom_geomref_colname' geom_join_col, meta->>'geom_colname' geom_col\n+                  FROM json_array_elements(cdb_observatory.OBS_GetMeta(\n+                       ST_MakeEnvelope(-179, 89, 179, -89, 4326), -- World bbox\n+                       '{}'::json, 1, 1, 1)) meta\n+            '''.format(metadata)\n+\n+    def _get_measurements_query(self, join_data, colnames):\n+        joins = []\n+        for join_table in join_data['numer'].values():\n+            joins.append('LEFT JOIN {table} ON (geom.{geomcol} = {table}.{numercol})'.format(\n+                table=join_table['table'], geomcol=join_data['geom']['join_column'],\n+                numercol=join_table['join_column']\n+            ))\n+        return '''SELECT {cols}\n+                  FROM {geom} geom {joins}\n+               '''.format(cols=' ,'.join(colnames), geom=join_data['geom']['table'],\n+                          joins=' '.join(joins))\n+\n+    def _generate_csv_file(self, headers, measurements):\n+        try:\n+            with(open(self.output().path, 'w+')) as csvfile:","path":"tasks/geographica/csv.py","position":93,"original_position":93,"commit_id":"37ab8d024848bdcfa3e6925ac765ad6cf1698ea2","original_commit_id":"37ab8d024848bdcfa3e6925ac765ad6cf1698ea2","user":{"login":"ethervoid","id":741240,"node_id":"MDQ6VXNlcjc0MTI0MA==","avatar_url":"https://avatars3.githubusercontent.com/u/741240?v=4","gravatar_id":"","url":"https://api.github.com/users/ethervoid","html_url":"https://github.com/ethervoid","followers_url":"https://api.github.com/users/ethervoid/followers","following_url":"https://api.github.com/users/ethervoid/following{/other_user}","gists_url":"https://api.github.com/users/ethervoid/gists{/gist_id}","starred_url":"https://api.github.com/users/ethervoid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ethervoid/subscriptions","organizations_url":"https://api.github.com/users/ethervoid/orgs","repos_url":"https://api.github.com/users/ethervoid/repos","events_url":"https://api.github.com/users/ethervoid/events{/privacy}","received_events_url":"https://api.github.com/users/ethervoid/received_events","type":"User","site_admin":false},"body":"good point, I was looking for something like this :)","created_at":"2018-07-02T15:11:09Z","updated_at":"2018-07-02T15:11:09Z","html_url":"https://github.com/CartoDB/bigmetadata/pull/520#discussion_r199530118","pull_request_url":"https://api.github.com/repos/CartoDB/bigmetadata/pulls/520","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/CartoDB/bigmetadata/pulls/comments/199530118"},"html":{"href":"https://github.com/CartoDB/bigmetadata/pull/520#discussion_r199530118"},"pull_request":{"href":"https://api.github.com/repos/CartoDB/bigmetadata/pulls/520"}},"in_reply_to_id":199517600},"pull_request":{"url":"https://api.github.com/repos/CartoDB/bigmetadata/pulls/520","id":198247560,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk4MjQ3NTYw","html_url":"https://github.com/CartoDB/bigmetadata/pull/520","diff_url":"https://github.com/CartoDB/bigmetadata/pull/520.diff","patch_url":"https://github.com/CartoDB/bigmetadata/pull/520.patch","issue_url":"https://api.github.com/repos/CartoDB/bigmetadata/issues/520","number":520,"state":"open","locked":false,"title":"Csv geographica","user":{"login":"ethervoid","id":741240,"node_id":"MDQ6VXNlcjc0MTI0MA==","avatar_url":"https://avatars3.githubusercontent.com/u/741240?v=4","gravatar_id":"","url":"https://api.github.com/users/ethervoid","html_url":"https://github.com/ethervoid","followers_url":"https://api.github.com/users/ethervoid/followers","following_url":"https://api.github.com/users/ethervoid/following{/other_user}","gists_url":"https://api.github.com/users/ethervoid/gists{/gist_id}","starred_url":"https://api.github.com/users/ethervoid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ethervoid/subscriptions","organizations_url":"https://api.github.com/users/ethervoid/orgs","repos_url":"https://api.github.com/users/ethervoid/repos","events_url":"https://api.github.com/users/ethervoid/events{/privacy}","received_events_url":"https://api.github.com/users/ethervoid/received_events","type":"User","site_admin":false},"body":"CSV task to get geographica data files","created_at":"2018-06-29T08:23:47Z","updated_at":"2018-07-02T15:11:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ddbe3f7a6332103dcfc199787e64f3a17da9c3bd","assignee":{"login":"antoniocarlon","id":6155203,"node_id":"MDQ6VXNlcjYxNTUyMDM=","avatar_url":"https://avatars0.githubusercontent.com/u/6155203?v=4","gravatar_id":"","url":"https://api.github.com/users/antoniocarlon","html_url":"https://github.com/antoniocarlon","followers_url":"https://api.github.com/users/antoniocarlon/followers","following_url":"https://api.github.com/users/antoniocarlon/following{/other_user}","gists_url":"https://api.github.com/users/antoniocarlon/gists{/gist_id}","starred_url":"https://api.github.com/users/antoniocarlon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antoniocarlon/subscriptions","organizations_url":"https://api.github.com/users/antoniocarlon/orgs","repos_url":"https://api.github.com/users/antoniocarlon/repos","events_url":"https://api.github.com/users/antoniocarlon/events{/privacy}","received_events_url":"https://api.github.com/users/antoniocarlon/received_events","type":"User","site_admin":false},"assignees":[{"login":"antoniocarlon","id":6155203,"node_id":"MDQ6VXNlcjYxNTUyMDM=","avatar_url":"https://avatars0.githubusercontent.com/u/6155203?v=4","gravatar_id":"","url":"https://api.github.com/users/antoniocarlon","html_url":"https://github.com/antoniocarlon","followers_url":"https://api.github.com/users/antoniocarlon/followers","following_url":"https://api.github.com/users/antoniocarlon/following{/other_user}","gists_url":"https://api.github.com/users/antoniocarlon/gists{/gist_id}","starred_url":"https://api.github.com/users/antoniocarlon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antoniocarlon/subscriptions","organizations_url":"https://api.github.com/users/antoniocarlon/orgs","repos_url":"https://api.github.com/users/antoniocarlon/repos","events_url":"https://api.github.com/users/antoniocarlon/events{/privacy}","received_events_url":"https://api.github.com/users/antoniocarlon/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/CartoDB/bigmetadata/pulls/520/commits","review_comments_url":"https://api.github.com/repos/CartoDB/bigmetadata/pulls/520/comments","review_comment_url":"https://api.github.com/repos/CartoDB/bigmetadata/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CartoDB/bigmetadata/issues/520/comments","statuses_url":"https://api.github.com/repos/CartoDB/bigmetadata/statuses/37ab8d024848bdcfa3e6925ac765ad6cf1698ea2","head":{"label":"CartoDB:csv_geographica","ref":"csv_geographica","sha":"37ab8d024848bdcfa3e6925ac765ad6cf1698ea2","user":{"login":"CartoDB","id":1799254,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3OTkyNTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1799254?v=4","gravatar_id":"","url":"https://api.github.com/users/CartoDB","html_url":"https://github.com/CartoDB","followers_url":"https://api.github.com/users/CartoDB/followers","following_url":"https://api.github.com/users/CartoDB/following{/other_user}","gists_url":"https://api.github.com/users/CartoDB/gists{/gist_id}","starred_url":"https://api.github.com/users/CartoDB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CartoDB/subscriptions","organizations_url":"https://api.github.com/users/CartoDB/orgs","repos_url":"https://api.github.com/users/CartoDB/repos","events_url":"https://api.github.com/users/CartoDB/events{/privacy}","received_events_url":"https://api.github.com/users/CartoDB/received_events","type":"Organization","site_admin":false},"repo":{"id":47357348,"node_id":"MDEwOlJlcG9zaXRvcnk0NzM1NzM0OA==","name":"bigmetadata","full_name":"CartoDB/bigmetadata","owner":{"login":"CartoDB","id":1799254,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3OTkyNTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1799254?v=4","gravatar_id":"","url":"https://api.github.com/users/CartoDB","html_url":"https://github.com/CartoDB","followers_url":"https://api.github.com/users/CartoDB/followers","following_url":"https://api.github.com/users/CartoDB/following{/other_user}","gists_url":"https://api.github.com/users/CartoDB/gists{/gist_id}","starred_url":"https://api.github.com/users/CartoDB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CartoDB/subscriptions","organizations_url":"https://api.github.com/users/CartoDB/orgs","repos_url":"https://api.github.com/users/CartoDB/repos","events_url":"https://api.github.com/users/CartoDB/events{/privacy}","received_events_url":"https://api.github.com/users/CartoDB/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CartoDB/bigmetadata","description":null,"fork":false,"url":"https://api.github.com/repos/CartoDB/bigmetadata","forks_url":"https://api.github.com/repos/CartoDB/bigmetadata/forks","keys_url":"https://api.github.com/repos/CartoDB/bigmetadata/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CartoDB/bigmetadata/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CartoDB/bigmetadata/teams","hooks_url":"https://api.github.com/repos/CartoDB/bigmetadata/hooks","issue_events_url":"https://api.github.com/repos/CartoDB/bigmetadata/issues/events{/number}","events_url":"https://api.github.com/repos/CartoDB/bigmetadata/events","assignees_url":"https://api.github.com/repos/CartoDB/bigmetadata/assignees{/user}","branches_url":"https://api.github.com/repos/CartoDB/bigmetadata/branches{/branch}","tags_url":"https://api.github.com/repos/CartoDB/bigmetadata/tags","blobs_url":"https://api.github.com/repos/CartoDB/bigmetadata/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CartoDB/bigmetadata/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CartoDB/bigmetadata/git/refs{/sha}","trees_url":"https://api.github.com/repos/CartoDB/bigmetadata/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CartoDB/bigmetadata/statuses/{sha}","languages_url":"https://api.github.com/repos/CartoDB/bigmetadata/languages","stargazers_url":"https://api.github.com/repos/CartoDB/bigmetadata/stargazers","contributors_url":"https://api.github.com/repos/CartoDB/bigmetadata/contributors","subscribers_url":"https://api.github.com/repos/CartoDB/bigmetadata/subscribers","subscription_url":"https://api.github.com/repos/CartoDB/bigmetadata/subscription","commits_url":"https://api.github.com/repos/CartoDB/bigmetadata/commits{/sha}","git_commits_url":"https://api.github.com/repos/CartoDB/bigmetadata/git/commits{/sha}","comments_url":"https://api.github.com/repos/CartoDB/bigmetadata/comments{/number}","issue_comment_url":"https://api.github.com/repos/CartoDB/bigmetadata/issues/comments{/number}","contents_url":"https://api.github.com/repos/CartoDB/bigmetadata/contents/{+path}","compare_url":"https://api.github.com/repos/CartoDB/bigmetadata/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CartoDB/bigmetadata/merges","archive_url":"https://api.github.com/repos/CartoDB/bigmetadata/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CartoDB/bigmetadata/downloads","issues_url":"https://api.github.com/repos/CartoDB/bigmetadata/issues{/number}","pulls_url":"https://api.github.com/repos/CartoDB/bigmetadata/pulls{/number}","milestones_url":"https://api.github.com/repos/CartoDB/bigmetadata/milestones{/number}","notifications_url":"https://api.github.com/repos/CartoDB/bigmetadata/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CartoDB/bigmetadata/labels{/name}","releases_url":"https://api.github.com/repos/CartoDB/bigmetadata/releases{/id}","deployments_url":"https://api.github.com/repos/CartoDB/bigmetadata/deployments","created_at":"2015-12-03T20:09:45Z","updated_at":"2018-07-02T10:48:12Z","pushed_at":"2018-07-02T14:29:48Z","git_url":"git://github.com/CartoDB/bigmetadata.git","ssh_url":"git@github.com:CartoDB/bigmetadata.git","clone_url":"https://github.com/CartoDB/bigmetadata.git","svn_url":"https://github.com/CartoDB/bigmetadata","homepage":null,"size":77638,"stargazers_count":33,"watchers_count":33,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":6,"mirror_url":null,"archived":false,"open_issues_count":118,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":6,"open_issues":118,"watchers":33,"default_branch":"master"}},"base":{"label":"CartoDB:master","ref":"master","sha":"e1113c8f6f8aec1c43f82b5cf46ffc9be5968251","user":{"login":"CartoDB","id":1799254,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3OTkyNTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1799254?v=4","gravatar_id":"","url":"https://api.github.com/users/CartoDB","html_url":"https://github.com/CartoDB","followers_url":"https://api.github.com/users/CartoDB/followers","following_url":"https://api.github.com/users/CartoDB/following{/other_user}","gists_url":"https://api.github.com/users/CartoDB/gists{/gist_id}","starred_url":"https://api.github.com/users/CartoDB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CartoDB/subscriptions","organizations_url":"https://api.github.com/users/CartoDB/orgs","repos_url":"https://api.github.com/users/CartoDB/repos","events_url":"https://api.github.com/users/CartoDB/events{/privacy}","received_events_url":"https://api.github.com/users/CartoDB/received_events","type":"Organization","site_admin":false},"repo":{"id":47357348,"node_id":"MDEwOlJlcG9zaXRvcnk0NzM1NzM0OA==","name":"bigmetadata","full_name":"CartoDB/bigmetadata","owner":{"login":"CartoDB","id":1799254,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3OTkyNTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1799254?v=4","gravatar_id":"","url":"https://api.github.com/users/CartoDB","html_url":"https://github.com/CartoDB","followers_url":"https://api.github.com/users/CartoDB/followers","following_url":"https://api.github.com/users/CartoDB/following{/other_user}","gists_url":"https://api.github.com/users/CartoDB/gists{/gist_id}","starred_url":"https://api.github.com/users/CartoDB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CartoDB/subscriptions","organizations_url":"https://api.github.com/users/CartoDB/orgs","repos_url":"https://api.github.com/users/CartoDB/repos","events_url":"https://api.github.com/users/CartoDB/events{/privacy}","received_events_url":"https://api.github.com/users/CartoDB/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CartoDB/bigmetadata","description":null,"fork":false,"url":"https://api.github.com/repos/CartoDB/bigmetadata","forks_url":"https://api.github.com/repos/CartoDB/bigmetadata/forks","keys_url":"https://api.github.com/repos/CartoDB/bigmetadata/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CartoDB/bigmetadata/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CartoDB/bigmetadata/teams","hooks_url":"https://api.github.com/repos/CartoDB/bigmetadata/hooks","issue_events_url":"https://api.github.com/repos/CartoDB/bigmetadata/issues/events{/number}","events_url":"https://api.github.com/repos/CartoDB/bigmetadata/events","assignees_url":"https://api.github.com/repos/CartoDB/bigmetadata/assignees{/user}","branches_url":"https://api.github.com/repos/CartoDB/bigmetadata/branches{/branch}","tags_url":"https://api.github.com/repos/CartoDB/bigmetadata/tags","blobs_url":"https://api.github.com/repos/CartoDB/bigmetadata/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CartoDB/bigmetadata/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CartoDB/bigmetadata/git/refs{/sha}","trees_url":"https://api.github.com/repos/CartoDB/bigmetadata/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CartoDB/bigmetadata/statuses/{sha}","languages_url":"https://api.github.com/repos/CartoDB/bigmetadata/languages","stargazers_url":"https://api.github.com/repos/CartoDB/bigmetadata/stargazers","contributors_url":"https://api.github.com/repos/CartoDB/bigmetadata/contributors","subscribers_url":"https://api.github.com/repos/CartoDB/bigmetadata/subscribers","subscription_url":"https://api.github.com/repos/CartoDB/bigmetadata/subscription","commits_url":"https://api.github.com/repos/CartoDB/bigmetadata/commits{/sha}","git_commits_url":"https://api.github.com/repos/CartoDB/bigmetadata/git/commits{/sha}","comments_url":"https://api.github.com/repos/CartoDB/bigmetadata/comments{/number}","issue_comment_url":"https://api.github.com/repos/CartoDB/bigmetadata/issues/comments{/number}","contents_url":"https://api.github.com/repos/CartoDB/bigmetadata/contents/{+path}","compare_url":"https://api.github.com/repos/CartoDB/bigmetadata/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CartoDB/bigmetadata/merges","archive_url":"https://api.github.com/repos/CartoDB/bigmetadata/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CartoDB/bigmetadata/downloads","issues_url":"https://api.github.com/repos/CartoDB/bigmetadata/issues{/number}","pulls_url":"https://api.github.com/repos/CartoDB/bigmetadata/pulls{/number}","milestones_url":"https://api.github.com/repos/CartoDB/bigmetadata/milestones{/number}","notifications_url":"https://api.github.com/repos/CartoDB/bigmetadata/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CartoDB/bigmetadata/labels{/name}","releases_url":"https://api.github.com/repos/CartoDB/bigmetadata/releases{/id}","deployments_url":"https://api.github.com/repos/CartoDB/bigmetadata/deployments","created_at":"2015-12-03T20:09:45Z","updated_at":"2018-07-02T10:48:12Z","pushed_at":"2018-07-02T14:29:48Z","git_url":"git://github.com/CartoDB/bigmetadata.git","ssh_url":"git@github.com:CartoDB/bigmetadata.git","clone_url":"https://github.com/CartoDB/bigmetadata.git","svn_url":"https://github.com/CartoDB/bigmetadata","homepage":null,"size":77638,"stargazers_count":33,"watchers_count":33,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":6,"mirror_url":null,"archived":false,"open_issues_count":118,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":6,"open_issues":118,"watchers":33,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CartoDB/bigmetadata/pulls/520"},"html":{"href":"https://github.com/CartoDB/bigmetadata/pull/520"},"issue":{"href":"https://api.github.com/repos/CartoDB/bigmetadata/issues/520"},"comments":{"href":"https://api.github.com/repos/CartoDB/bigmetadata/issues/520/comments"},"review_comments":{"href":"https://api.github.com/repos/CartoDB/bigmetadata/pulls/520/comments"},"review_comment":{"href":"https://api.github.com/repos/CartoDB/bigmetadata/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CartoDB/bigmetadata/pulls/520/commits"},"statuses":{"href":"https://api.github.com/repos/CartoDB/bigmetadata/statuses/37ab8d024848bdcfa3e6925ac765ad6cf1698ea2"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"ethervoid"}}