{"action":"created","comment":{"url":"https://api.github.com/repos/tidepool-org/data-analytics/pulls/comments/215303149","pull_request_review_id":152536347,"id":215303149,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNTMwMzE0OQ==","diff_hunk":"@@ -0,0 +1,25 @@\n+# tpanalyze.py (Tidepool Analysis Tools)\n+This python package contains analysis tools and utility functions that\n+may be helpful when analyzing Tidepool data. This package is currently in\n+development and you will need to add the following code snippet to your\n+script to load the package:\n+\n+```python\n+import sys\n+import os\n+cwd = os.getcwd()\n+packagePath = cwd[:(cwd.find(\"data-analytics\") + 15)]\n+sys.path.append(packagePath)\n+sys.path.append(os.path.join(packagePath, \"tpanalyze\"))\n+import tpanalyze as tp\n+```\n+\n+## Adding modules and functions to the package\n+If you want to add to this package, please add the function under the\n+tpanalyze directory, AND please update the _____init___.py so that the\n+function is initiated when the package is loaded.\n+\n+## Example\n+An example of loading the pacakge is located here:","path":"tpanalyze/README.md","position":23,"original_position":23,"commit_id":"32d83096b7bd316a54e0c94a4ea4431a6040353b","original_commit_id":"32d83096b7bd316a54e0c94a4ea4431a6040353b","user":{"login":"ed-nykaza","id":8473598,"node_id":"MDQ6VXNlcjg0NzM1OTg=","avatar_url":"https://avatars0.githubusercontent.com/u/8473598?v=4","gravatar_id":"","url":"https://api.github.com/users/ed-nykaza","html_url":"https://github.com/ed-nykaza","followers_url":"https://api.github.com/users/ed-nykaza/followers","following_url":"https://api.github.com/users/ed-nykaza/following{/other_user}","gists_url":"https://api.github.com/users/ed-nykaza/gists{/gist_id}","starred_url":"https://api.github.com/users/ed-nykaza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ed-nykaza/subscriptions","organizations_url":"https://api.github.com/users/ed-nykaza/orgs","repos_url":"https://api.github.com/users/ed-nykaza/repos","events_url":"https://api.github.com/users/ed-nykaza/events{/privacy}","received_events_url":"https://api.github.com/users/ed-nykaza/received_events","type":"User","site_admin":false},"body":"done","created_at":"2018-09-05T14:51:37Z","updated_at":"2018-09-05T14:51:37Z","html_url":"https://github.com/tidepool-org/data-analytics/pull/20#discussion_r215303149","pull_request_url":"https://api.github.com/repos/tidepool-org/data-analytics/pulls/20","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/tidepool-org/data-analytics/pulls/comments/215303149"},"html":{"href":"https://github.com/tidepool-org/data-analytics/pull/20#discussion_r215303149"},"pull_request":{"href":"https://api.github.com/repos/tidepool-org/data-analytics/pulls/20"}},"in_reply_to_id":204874433},"pull_request":{"url":"https://api.github.com/repos/tidepool-org/data-analytics/pulls/20","id":203288201,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAzMjg4MjAx","html_url":"https://github.com/tidepool-org/data-analytics/pull/20","diff_url":"https://github.com/tidepool-org/data-analytics/pull/20.diff","patch_url":"https://github.com/tidepool-org/data-analytics/pull/20.patch","issue_url":"https://api.github.com/repos/tidepool-org/data-analytics/issues/20","number":20,"state":"open","locked":false,"title":"Etn/make utility module","user":{"login":"ed-nykaza","id":8473598,"node_id":"MDQ6VXNlcjg0NzM1OTg=","avatar_url":"https://avatars0.githubusercontent.com/u/8473598?v=4","gravatar_id":"","url":"https://api.github.com/users/ed-nykaza","html_url":"https://github.com/ed-nykaza","followers_url":"https://api.github.com/users/ed-nykaza/followers","following_url":"https://api.github.com/users/ed-nykaza/following{/other_user}","gists_url":"https://api.github.com/users/ed-nykaza/gists{/gist_id}","starred_url":"https://api.github.com/users/ed-nykaza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ed-nykaza/subscriptions","organizations_url":"https://api.github.com/users/ed-nykaza/orgs","repos_url":"https://api.github.com/users/ed-nykaza/repos","events_url":"https://api.github.com/users/ed-nykaza/events{/privacy}","received_events_url":"https://api.github.com/users/ed-nykaza/received_events","type":"User","site_admin":false},"body":"@jameno please review when you get a chance","created_at":"2018-07-23T17:23:28Z","updated_at":"2018-09-05T14:51:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f00a17055c325921a5d9f8693bc66e1f7ce8d6fb","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/tidepool-org/data-analytics/pulls/20/commits","review_comments_url":"https://api.github.com/repos/tidepool-org/data-analytics/pulls/20/comments","review_comment_url":"https://api.github.com/repos/tidepool-org/data-analytics/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tidepool-org/data-analytics/issues/20/comments","statuses_url":"https://api.github.com/repos/tidepool-org/data-analytics/statuses/32d83096b7bd316a54e0c94a4ea4431a6040353b","head":{"label":"tidepool-org:etn/make-utility-module","ref":"etn/make-utility-module","sha":"32d83096b7bd316a54e0c94a4ea4431a6040353b","user":{"login":"tidepool-org","id":4390820,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQzOTA4MjA=","avatar_url":"https://avatars1.githubusercontent.com/u/4390820?v=4","gravatar_id":"","url":"https://api.github.com/users/tidepool-org","html_url":"https://github.com/tidepool-org","followers_url":"https://api.github.com/users/tidepool-org/followers","following_url":"https://api.github.com/users/tidepool-org/following{/other_user}","gists_url":"https://api.github.com/users/tidepool-org/gists{/gist_id}","starred_url":"https://api.github.com/users/tidepool-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tidepool-org/subscriptions","organizations_url":"https://api.github.com/users/tidepool-org/orgs","repos_url":"https://api.github.com/users/tidepool-org/repos","events_url":"https://api.github.com/users/tidepool-org/events{/privacy}","received_events_url":"https://api.github.com/users/tidepool-org/received_events","type":"Organization","site_admin":false},"repo":{"id":107721398,"node_id":"MDEwOlJlcG9zaXRvcnkxMDc3MjEzOTg=","name":"data-analytics","full_name":"tidepool-org/data-analytics","owner":{"login":"tidepool-org","id":4390820,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQzOTA4MjA=","avatar_url":"https://avatars1.githubusercontent.com/u/4390820?v=4","gravatar_id":"","url":"https://api.github.com/users/tidepool-org","html_url":"https://github.com/tidepool-org","followers_url":"https://api.github.com/users/tidepool-org/followers","following_url":"https://api.github.com/users/tidepool-org/following{/other_user}","gists_url":"https://api.github.com/users/tidepool-org/gists{/gist_id}","starred_url":"https://api.github.com/users/tidepool-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tidepool-org/subscriptions","organizations_url":"https://api.github.com/users/tidepool-org/orgs","repos_url":"https://api.github.com/users/tidepool-org/repos","events_url":"https://api.github.com/users/tidepool-org/events{/privacy}","received_events_url":"https://api.github.com/users/tidepool-org/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tidepool-org/data-analytics","description":"Home for code we use to analyze data for the Tidepool Big Data Donation project and similar.","fork":false,"url":"https://api.github.com/repos/tidepool-org/data-analytics","forks_url":"https://api.github.com/repos/tidepool-org/data-analytics/forks","keys_url":"https://api.github.com/repos/tidepool-org/data-analytics/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tidepool-org/data-analytics/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tidepool-org/data-analytics/teams","hooks_url":"https://api.github.com/repos/tidepool-org/data-analytics/hooks","issue_events_url":"https://api.github.com/repos/tidepool-org/data-analytics/issues/events{/number}","events_url":"https://api.github.com/repos/tidepool-org/data-analytics/events","assignees_url":"https://api.github.com/repos/tidepool-org/data-analytics/assignees{/user}","branches_url":"https://api.github.com/repos/tidepool-org/data-analytics/branches{/branch}","tags_url":"https://api.github.com/repos/tidepool-org/data-analytics/tags","blobs_url":"https://api.github.com/repos/tidepool-org/data-analytics/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tidepool-org/data-analytics/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tidepool-org/data-analytics/git/refs{/sha}","trees_url":"https://api.github.com/repos/tidepool-org/data-analytics/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tidepool-org/data-analytics/statuses/{sha}","languages_url":"https://api.github.com/repos/tidepool-org/data-analytics/languages","stargazers_url":"https://api.github.com/repos/tidepool-org/data-analytics/stargazers","contributors_url":"https://api.github.com/repos/tidepool-org/data-analytics/contributors","subscribers_url":"https://api.github.com/repos/tidepool-org/data-analytics/subscribers","subscription_url":"https://api.github.com/repos/tidepool-org/data-analytics/subscription","commits_url":"https://api.github.com/repos/tidepool-org/data-analytics/commits{/sha}","git_commits_url":"https://api.github.com/repos/tidepool-org/data-analytics/git/commits{/sha}","comments_url":"https://api.github.com/repos/tidepool-org/data-analytics/comments{/number}","issue_comment_url":"https://api.github.com/repos/tidepool-org/data-analytics/issues/comments{/number}","contents_url":"https://api.github.com/repos/tidepool-org/data-analytics/contents/{+path}","compare_url":"https://api.github.com/repos/tidepool-org/data-analytics/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tidepool-org/data-analytics/merges","archive_url":"https://api.github.com/repos/tidepool-org/data-analytics/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tidepool-org/data-analytics/downloads","issues_url":"https://api.github.com/repos/tidepool-org/data-analytics/issues{/number}","pulls_url":"https://api.github.com/repos/tidepool-org/data-analytics/pulls{/number}","milestones_url":"https://api.github.com/repos/tidepool-org/data-analytics/milestones{/number}","notifications_url":"https://api.github.com/repos/tidepool-org/data-analytics/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tidepool-org/data-analytics/labels{/name}","releases_url":"https://api.github.com/repos/tidepool-org/data-analytics/releases{/id}","deployments_url":"https://api.github.com/repos/tidepool-org/data-analytics/deployments","created_at":"2017-10-20T20:04:46Z","updated_at":"2018-08-29T10:57:58Z","pushed_at":"2018-09-05T12:30:18Z","git_url":"git://github.com/tidepool-org/data-analytics.git","ssh_url":"git@github.com:tidepool-org/data-analytics.git","clone_url":"https://github.com/tidepool-org/data-analytics.git","svn_url":"https://github.com/tidepool-org/data-analytics","homepage":null,"size":28507,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"bsd-2-clause","name":"BSD 2-Clause \"Simplified\" License","spdx_id":"BSD-2-Clause","url":"https://api.github.com/licenses/bsd-2-clause","node_id":"MDc6TGljZW5zZTQ="},"forks":5,"open_issues":4,"watchers":2,"default_branch":"master"}},"base":{"label":"tidepool-org:master","ref":"master","sha":"a6c34824ae2c0b8503a2539c11ab94641007ee52","user":{"login":"tidepool-org","id":4390820,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQzOTA4MjA=","avatar_url":"https://avatars1.githubusercontent.com/u/4390820?v=4","gravatar_id":"","url":"https://api.github.com/users/tidepool-org","html_url":"https://github.com/tidepool-org","followers_url":"https://api.github.com/users/tidepool-org/followers","following_url":"https://api.github.com/users/tidepool-org/following{/other_user}","gists_url":"https://api.github.com/users/tidepool-org/gists{/gist_id}","starred_url":"https://api.github.com/users/tidepool-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tidepool-org/subscriptions","organizations_url":"https://api.github.com/users/tidepool-org/orgs","repos_url":"https://api.github.com/users/tidepool-org/repos","events_url":"https://api.github.com/users/tidepool-org/events{/privacy}","received_events_url":"https://api.github.com/users/tidepool-org/received_events","type":"Organization","site_admin":false},"repo":{"id":107721398,"node_id":"MDEwOlJlcG9zaXRvcnkxMDc3MjEzOTg=","name":"data-analytics","full_name":"tidepool-org/data-analytics","owner":{"login":"tidepool-org","id":4390820,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQzOTA4MjA=","avatar_url":"https://avatars1.githubusercontent.com/u/4390820?v=4","gravatar_id":"","url":"https://api.github.com/users/tidepool-org","html_url":"https://github.com/tidepool-org","followers_url":"https://api.github.com/users/tidepool-org/followers","following_url":"https://api.github.com/users/tidepool-org/following{/other_user}","gists_url":"https://api.github.com/users/tidepool-org/gists{/gist_id}","starred_url":"https://api.github.com/users/tidepool-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tidepool-org/subscriptions","organizations_url":"https://api.github.com/users/tidepool-org/orgs","repos_url":"https://api.github.com/users/tidepool-org/repos","events_url":"https://api.github.com/users/tidepool-org/events{/privacy}","received_events_url":"https://api.github.com/users/tidepool-org/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tidepool-org/data-analytics","description":"Home for code we use to analyze data for the Tidepool Big Data Donation project and similar.","fork":false,"url":"https://api.github.com/repos/tidepool-org/data-analytics","forks_url":"https://api.github.com/repos/tidepool-org/data-analytics/forks","keys_url":"https://api.github.com/repos/tidepool-org/data-analytics/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tidepool-org/data-analytics/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tidepool-org/data-analytics/teams","hooks_url":"https://api.github.com/repos/tidepool-org/data-analytics/hooks","issue_events_url":"https://api.github.com/repos/tidepool-org/data-analytics/issues/events{/number}","events_url":"https://api.github.com/repos/tidepool-org/data-analytics/events","assignees_url":"https://api.github.com/repos/tidepool-org/data-analytics/assignees{/user}","branches_url":"https://api.github.com/repos/tidepool-org/data-analytics/branches{/branch}","tags_url":"https://api.github.com/repos/tidepool-org/data-analytics/tags","blobs_url":"https://api.github.com/repos/tidepool-org/data-analytics/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tidepool-org/data-analytics/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tidepool-org/data-analytics/git/refs{/sha}","trees_url":"https://api.github.com/repos/tidepool-org/data-analytics/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tidepool-org/data-analytics/statuses/{sha}","languages_url":"https://api.github.com/repos/tidepool-org/data-analytics/languages","stargazers_url":"https://api.github.com/repos/tidepool-org/data-analytics/stargazers","contributors_url":"https://api.github.com/repos/tidepool-org/data-analytics/contributors","subscribers_url":"https://api.github.com/repos/tidepool-org/data-analytics/subscribers","subscription_url":"https://api.github.com/repos/tidepool-org/data-analytics/subscription","commits_url":"https://api.github.com/repos/tidepool-org/data-analytics/commits{/sha}","git_commits_url":"https://api.github.com/repos/tidepool-org/data-analytics/git/commits{/sha}","comments_url":"https://api.github.com/repos/tidepool-org/data-analytics/comments{/number}","issue_comment_url":"https://api.github.com/repos/tidepool-org/data-analytics/issues/comments{/number}","contents_url":"https://api.github.com/repos/tidepool-org/data-analytics/contents/{+path}","compare_url":"https://api.github.com/repos/tidepool-org/data-analytics/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tidepool-org/data-analytics/merges","archive_url":"https://api.github.com/repos/tidepool-org/data-analytics/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tidepool-org/data-analytics/downloads","issues_url":"https://api.github.com/repos/tidepool-org/data-analytics/issues{/number}","pulls_url":"https://api.github.com/repos/tidepool-org/data-analytics/pulls{/number}","milestones_url":"https://api.github.com/repos/tidepool-org/data-analytics/milestones{/number}","notifications_url":"https://api.github.com/repos/tidepool-org/data-analytics/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tidepool-org/data-analytics/labels{/name}","releases_url":"https://api.github.com/repos/tidepool-org/data-analytics/releases{/id}","deployments_url":"https://api.github.com/repos/tidepool-org/data-analytics/deployments","created_at":"2017-10-20T20:04:46Z","updated_at":"2018-08-29T10:57:58Z","pushed_at":"2018-09-05T12:30:18Z","git_url":"git://github.com/tidepool-org/data-analytics.git","ssh_url":"git@github.com:tidepool-org/data-analytics.git","clone_url":"https://github.com/tidepool-org/data-analytics.git","svn_url":"https://github.com/tidepool-org/data-analytics","homepage":null,"size":28507,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"bsd-2-clause","name":"BSD 2-Clause \"Simplified\" License","spdx_id":"BSD-2-Clause","url":"https://api.github.com/licenses/bsd-2-clause","node_id":"MDc6TGljZW5zZTQ="},"forks":5,"open_issues":4,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tidepool-org/data-analytics/pulls/20"},"html":{"href":"https://github.com/tidepool-org/data-analytics/pull/20"},"issue":{"href":"https://api.github.com/repos/tidepool-org/data-analytics/issues/20"},"comments":{"href":"https://api.github.com/repos/tidepool-org/data-analytics/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/tidepool-org/data-analytics/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/tidepool-org/data-analytics/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tidepool-org/data-analytics/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/tidepool-org/data-analytics/statuses/32d83096b7bd316a54e0c94a4ea4431a6040353b"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"ed-nykaza"}}