{"action":"opened","number":47,"pull_request":{"url":"https://api.github.com/repos/UDST/pandana/pulls/47","id":50042145,"html_url":"https://github.com/UDST/pandana/pull/47","diff_url":"https://github.com/UDST/pandana/pull/47.diff","patch_url":"https://github.com/UDST/pandana/pull/47.patch","issue_url":"https://api.github.com/repos/UDST/pandana/issues/47","number":47,"state":"open","locked":false,"title":"can now return the labels of the pois rather than just the distances","user":{"login":"fscottfoti","id":1865376,"avatar_url":"https://avatars.githubusercontent.com/u/1865376?v=3","gravatar_id":"","url":"https://api.github.com/users/fscottfoti","html_url":"https://github.com/fscottfoti","followers_url":"https://api.github.com/users/fscottfoti/followers","following_url":"https://api.github.com/users/fscottfoti/following{/other_user}","gists_url":"https://api.github.com/users/fscottfoti/gists{/gist_id}","starred_url":"https://api.github.com/users/fscottfoti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fscottfoti/subscriptions","organizations_url":"https://api.github.com/users/fscottfoti/orgs","repos_url":"https://api.github.com/users/fscottfoti/repos","events_url":"https://api.github.com/users/fscottfoti/events{/privacy}","received_events_url":"https://api.github.com/users/fscottfoti/received_events","type":"User","site_admin":false},"body":"just pass include_poi_ids when getting nearest pois, and instead of just distances, you will get the labels of the poi that's at that distance.  So for instance, if you're trying ot access the nearest hospitals, you won't just get the distance to the nearest N hospitals, but also the names of the nearest N hospitals.  As you might expect with a Pandas-centric view, the names of the hospitals are taken from the index of the x-y series that are passed in to init_pois.","created_at":"2015-11-07T18:34:49Z","updated_at":"2015-11-07T18:34:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/UDST/pandana/pulls/47/commits","review_comments_url":"https://api.github.com/repos/UDST/pandana/pulls/47/comments","review_comment_url":"https://api.github.com/repos/UDST/pandana/pulls/comments{/number}","comments_url":"https://api.github.com/repos/UDST/pandana/issues/47/comments","statuses_url":"https://api.github.com/repos/UDST/pandana/statuses/9aa57bef9d642067ee59b53fcdfa32472ab3e486","head":{"label":"UDST:which-poi","ref":"which-poi","sha":"9aa57bef9d642067ee59b53fcdfa32472ab3e486","user":{"login":"UDST","id":5187765,"avatar_url":"https://avatars.githubusercontent.com/u/5187765?v=3","gravatar_id":"","url":"https://api.github.com/users/UDST","html_url":"https://github.com/UDST","followers_url":"https://api.github.com/users/UDST/followers","following_url":"https://api.github.com/users/UDST/following{/other_user}","gists_url":"https://api.github.com/users/UDST/gists{/gist_id}","starred_url":"https://api.github.com/users/UDST/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UDST/subscriptions","organizations_url":"https://api.github.com/users/UDST/orgs","repos_url":"https://api.github.com/users/UDST/repos","events_url":"https://api.github.com/users/UDST/events{/privacy}","received_events_url":"https://api.github.com/users/UDST/received_events","type":"Organization","site_admin":false},"repo":{"id":13553879,"name":"pandana","full_name":"UDST/pandana","owner":{"login":"UDST","id":5187765,"avatar_url":"https://avatars.githubusercontent.com/u/5187765?v=3","gravatar_id":"","url":"https://api.github.com/users/UDST","html_url":"https://github.com/UDST","followers_url":"https://api.github.com/users/UDST/followers","following_url":"https://api.github.com/users/UDST/following{/other_user}","gists_url":"https://api.github.com/users/UDST/gists{/gist_id}","starred_url":"https://api.github.com/users/UDST/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UDST/subscriptions","organizations_url":"https://api.github.com/users/UDST/orgs","repos_url":"https://api.github.com/users/UDST/repos","events_url":"https://api.github.com/users/UDST/events{/privacy}","received_events_url":"https://api.github.com/users/UDST/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/UDST/pandana","description":"Pandas Network Analysis - dataframes of network queries, quickly","fork":false,"url":"https://api.github.com/repos/UDST/pandana","forks_url":"https://api.github.com/repos/UDST/pandana/forks","keys_url":"https://api.github.com/repos/UDST/pandana/keys{/key_id}","collaborators_url":"https://api.github.com/repos/UDST/pandana/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/UDST/pandana/teams","hooks_url":"https://api.github.com/repos/UDST/pandana/hooks","issue_events_url":"https://api.github.com/repos/UDST/pandana/issues/events{/number}","events_url":"https://api.github.com/repos/UDST/pandana/events","assignees_url":"https://api.github.com/repos/UDST/pandana/assignees{/user}","branches_url":"https://api.github.com/repos/UDST/pandana/branches{/branch}","tags_url":"https://api.github.com/repos/UDST/pandana/tags","blobs_url":"https://api.github.com/repos/UDST/pandana/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/UDST/pandana/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/UDST/pandana/git/refs{/sha}","trees_url":"https://api.github.com/repos/UDST/pandana/git/trees{/sha}","statuses_url":"https://api.github.com/repos/UDST/pandana/statuses/{sha}","languages_url":"https://api.github.com/repos/UDST/pandana/languages","stargazers_url":"https://api.github.com/repos/UDST/pandana/stargazers","contributors_url":"https://api.github.com/repos/UDST/pandana/contributors","subscribers_url":"https://api.github.com/repos/UDST/pandana/subscribers","subscription_url":"https://api.github.com/repos/UDST/pandana/subscription","commits_url":"https://api.github.com/repos/UDST/pandana/commits{/sha}","git_commits_url":"https://api.github.com/repos/UDST/pandana/git/commits{/sha}","comments_url":"https://api.github.com/repos/UDST/pandana/comments{/number}","issue_comment_url":"https://api.github.com/repos/UDST/pandana/issues/comments{/number}","contents_url":"https://api.github.com/repos/UDST/pandana/contents/{+path}","compare_url":"https://api.github.com/repos/UDST/pandana/compare/{base}...{head}","merges_url":"https://api.github.com/repos/UDST/pandana/merges","archive_url":"https://api.github.com/repos/UDST/pandana/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/UDST/pandana/downloads","issues_url":"https://api.github.com/repos/UDST/pandana/issues{/number}","pulls_url":"https://api.github.com/repos/UDST/pandana/pulls{/number}","milestones_url":"https://api.github.com/repos/UDST/pandana/milestones{/number}","notifications_url":"https://api.github.com/repos/UDST/pandana/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/UDST/pandana/labels{/name}","releases_url":"https://api.github.com/repos/UDST/pandana/releases{/id}","created_at":"2013-10-14T06:19:54Z","updated_at":"2015-11-05T05:34:41Z","pushed_at":"2015-11-07T18:33:32Z","git_url":"git://github.com/UDST/pandana.git","ssh_url":"git@github.com:UDST/pandana.git","clone_url":"https://github.com/UDST/pandana.git","svn_url":"https://github.com/UDST/pandana","homepage":"http://udst.github.io/pandana","size":40196,"stargazers_count":32,"watchers_count":32,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":13,"mirror_url":null,"open_issues_count":10,"forks":13,"open_issues":10,"watchers":32,"default_branch":"master"}},"base":{"label":"UDST:master","ref":"master","sha":"bf3c1853da60d4ae3dc488ca51b96dc076879456","user":{"login":"UDST","id":5187765,"avatar_url":"https://avatars.githubusercontent.com/u/5187765?v=3","gravatar_id":"","url":"https://api.github.com/users/UDST","html_url":"https://github.com/UDST","followers_url":"https://api.github.com/users/UDST/followers","following_url":"https://api.github.com/users/UDST/following{/other_user}","gists_url":"https://api.github.com/users/UDST/gists{/gist_id}","starred_url":"https://api.github.com/users/UDST/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UDST/subscriptions","organizations_url":"https://api.github.com/users/UDST/orgs","repos_url":"https://api.github.com/users/UDST/repos","events_url":"https://api.github.com/users/UDST/events{/privacy}","received_events_url":"https://api.github.com/users/UDST/received_events","type":"Organization","site_admin":false},"repo":{"id":13553879,"name":"pandana","full_name":"UDST/pandana","owner":{"login":"UDST","id":5187765,"avatar_url":"https://avatars.githubusercontent.com/u/5187765?v=3","gravatar_id":"","url":"https://api.github.com/users/UDST","html_url":"https://github.com/UDST","followers_url":"https://api.github.com/users/UDST/followers","following_url":"https://api.github.com/users/UDST/following{/other_user}","gists_url":"https://api.github.com/users/UDST/gists{/gist_id}","starred_url":"https://api.github.com/users/UDST/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UDST/subscriptions","organizations_url":"https://api.github.com/users/UDST/orgs","repos_url":"https://api.github.com/users/UDST/repos","events_url":"https://api.github.com/users/UDST/events{/privacy}","received_events_url":"https://api.github.com/users/UDST/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/UDST/pandana","description":"Pandas Network Analysis - dataframes of network queries, quickly","fork":false,"url":"https://api.github.com/repos/UDST/pandana","forks_url":"https://api.github.com/repos/UDST/pandana/forks","keys_url":"https://api.github.com/repos/UDST/pandana/keys{/key_id}","collaborators_url":"https://api.github.com/repos/UDST/pandana/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/UDST/pandana/teams","hooks_url":"https://api.github.com/repos/UDST/pandana/hooks","issue_events_url":"https://api.github.com/repos/UDST/pandana/issues/events{/number}","events_url":"https://api.github.com/repos/UDST/pandana/events","assignees_url":"https://api.github.com/repos/UDST/pandana/assignees{/user}","branches_url":"https://api.github.com/repos/UDST/pandana/branches{/branch}","tags_url":"https://api.github.com/repos/UDST/pandana/tags","blobs_url":"https://api.github.com/repos/UDST/pandana/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/UDST/pandana/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/UDST/pandana/git/refs{/sha}","trees_url":"https://api.github.com/repos/UDST/pandana/git/trees{/sha}","statuses_url":"https://api.github.com/repos/UDST/pandana/statuses/{sha}","languages_url":"https://api.github.com/repos/UDST/pandana/languages","stargazers_url":"https://api.github.com/repos/UDST/pandana/stargazers","contributors_url":"https://api.github.com/repos/UDST/pandana/contributors","subscribers_url":"https://api.github.com/repos/UDST/pandana/subscribers","subscription_url":"https://api.github.com/repos/UDST/pandana/subscription","commits_url":"https://api.github.com/repos/UDST/pandana/commits{/sha}","git_commits_url":"https://api.github.com/repos/UDST/pandana/git/commits{/sha}","comments_url":"https://api.github.com/repos/UDST/pandana/comments{/number}","issue_comment_url":"https://api.github.com/repos/UDST/pandana/issues/comments{/number}","contents_url":"https://api.github.com/repos/UDST/pandana/contents/{+path}","compare_url":"https://api.github.com/repos/UDST/pandana/compare/{base}...{head}","merges_url":"https://api.github.com/repos/UDST/pandana/merges","archive_url":"https://api.github.com/repos/UDST/pandana/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/UDST/pandana/downloads","issues_url":"https://api.github.com/repos/UDST/pandana/issues{/number}","pulls_url":"https://api.github.com/repos/UDST/pandana/pulls{/number}","milestones_url":"https://api.github.com/repos/UDST/pandana/milestones{/number}","notifications_url":"https://api.github.com/repos/UDST/pandana/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/UDST/pandana/labels{/name}","releases_url":"https://api.github.com/repos/UDST/pandana/releases{/id}","created_at":"2013-10-14T06:19:54Z","updated_at":"2015-11-05T05:34:41Z","pushed_at":"2015-11-07T18:33:32Z","git_url":"git://github.com/UDST/pandana.git","ssh_url":"git@github.com:UDST/pandana.git","clone_url":"https://github.com/UDST/pandana.git","svn_url":"https://github.com/UDST/pandana","homepage":"http://udst.github.io/pandana","size":40196,"stargazers_count":32,"watchers_count":32,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":13,"mirror_url":null,"open_issues_count":10,"forks":13,"open_issues":10,"watchers":32,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/UDST/pandana/pulls/47"},"html":{"href":"https://github.com/UDST/pandana/pull/47"},"issue":{"href":"https://api.github.com/repos/UDST/pandana/issues/47"},"comments":{"href":"https://api.github.com/repos/UDST/pandana/issues/47/comments"},"review_comments":{"href":"https://api.github.com/repos/UDST/pandana/pulls/47/comments"},"review_comment":{"href":"https://api.github.com/repos/UDST/pandana/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/UDST/pandana/pulls/47/commits"},"statuses":{"href":"https://api.github.com/repos/UDST/pandana/statuses/9aa57bef9d642067ee59b53fcdfa32472ab3e486"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":75,"deletions":14,"changed_files":5}}