{"action":"opened","number":3,"pull_request":{"url":"https://api.github.com/repos/Obamanation/PurpleAmerica/pulls/3","id":69181590,"html_url":"https://github.com/Obamanation/PurpleAmerica/pull/3","diff_url":"https://github.com/Obamanation/PurpleAmerica/pull/3.diff","patch_url":"https://github.com/Obamanation/PurpleAmerica/pull/3.patch","issue_url":"https://api.github.com/repos/Obamanation/PurpleAmerica/issues/3","number":3,"state":"open","locked":false,"title":"The Election Data is Read in","user":{"login":"LaDawnaM","id":18354458,"avatar_url":"https://avatars.githubusercontent.com/u/18354458?v=3","gravatar_id":"","url":"https://api.github.com/users/LaDawnaM","html_url":"https://github.com/LaDawnaM","followers_url":"https://api.github.com/users/LaDawnaM/followers","following_url":"https://api.github.com/users/LaDawnaM/following{/other_user}","gists_url":"https://api.github.com/users/LaDawnaM/gists{/gist_id}","starred_url":"https://api.github.com/users/LaDawnaM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LaDawnaM/subscriptions","organizations_url":"https://api.github.com/users/LaDawnaM/orgs","repos_url":"https://api.github.com/users/LaDawnaM/repos","events_url":"https://api.github.com/users/LaDawnaM/events{/privacy}","received_events_url":"https://api.github.com/users/LaDawnaM/received_events","type":"User","site_admin":false},"body":"WHAT:\r\nEverything within the slashed lines.\r\nThe program now reads in the election data for the various countries. It discerns between the different parties names, and saves the numbers gathered from the data as separate, aptly named ints.\r\n\r\nIMPORTANCE:\r\nIn order to accurately make the map purple, or any color at all, we need the election stats. Now that the program reads in the stats, we can use them to calculate a number.\r\n\r\nWHY I DID IT THE WAY I DID IT:\r\nThe file reads in a a line of code, with no spaces to separate. The only thing that consistently separates the numbers is commas, so I used every comma as a space. Whenever the code comes across a comma, one of the if/else if/else conditionals are initiated, and that is categorized as either democratic, republican, or independent, based on their position in the String. If that county isn't recorded, then it is skipped.\r\n\r\nNOTE: The program currently does not do anything with this data.\r\nNOTE: Not all of the states (i.e. DC) has election data for every county.\r\nNOTE: It is assumed all of the data sets are similar, and the election results are read in: republican --> democratic --> independent.\r\nSLIGHTLY LESS IMPORTANT NOTE: It also doesn't read anything on the first line of the project.","created_at":"2016-05-06T17:14:25Z","updated_at":"2016-05-06T17:14:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Obamanation/PurpleAmerica/pulls/3/commits","review_comments_url":"https://api.github.com/repos/Obamanation/PurpleAmerica/pulls/3/comments","review_comment_url":"https://api.github.com/repos/Obamanation/PurpleAmerica/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Obamanation/PurpleAmerica/issues/3/comments","statuses_url":"https://api.github.com/repos/Obamanation/PurpleAmerica/statuses/a64a967a516c1fbf939f310ab8fa08a0736a4fc4","head":{"label":"LaDawnaM:master","ref":"master","sha":"a64a967a516c1fbf939f310ab8fa08a0736a4fc4","user":{"login":"LaDawnaM","id":18354458,"avatar_url":"https://avatars.githubusercontent.com/u/18354458?v=3","gravatar_id":"","url":"https://api.github.com/users/LaDawnaM","html_url":"https://github.com/LaDawnaM","followers_url":"https://api.github.com/users/LaDawnaM/followers","following_url":"https://api.github.com/users/LaDawnaM/following{/other_user}","gists_url":"https://api.github.com/users/LaDawnaM/gists{/gist_id}","starred_url":"https://api.github.com/users/LaDawnaM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LaDawnaM/subscriptions","organizations_url":"https://api.github.com/users/LaDawnaM/orgs","repos_url":"https://api.github.com/users/LaDawnaM/repos","events_url":"https://api.github.com/users/LaDawnaM/events{/privacy}","received_events_url":"https://api.github.com/users/LaDawnaM/received_events","type":"User","site_admin":false},"repo":{"id":56700877,"name":"PurpleAmerica","full_name":"LaDawnaM/PurpleAmerica","owner":{"login":"LaDawnaM","id":18354458,"avatar_url":"https://avatars.githubusercontent.com/u/18354458?v=3","gravatar_id":"","url":"https://api.github.com/users/LaDawnaM","html_url":"https://github.com/LaDawnaM","followers_url":"https://api.github.com/users/LaDawnaM/followers","following_url":"https://api.github.com/users/LaDawnaM/following{/other_user}","gists_url":"https://api.github.com/users/LaDawnaM/gists{/gist_id}","starred_url":"https://api.github.com/users/LaDawnaM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LaDawnaM/subscriptions","organizations_url":"https://api.github.com/users/LaDawnaM/orgs","repos_url":"https://api.github.com/users/LaDawnaM/repos","events_url":"https://api.github.com/users/LaDawnaM/events{/privacy}","received_events_url":"https://api.github.com/users/LaDawnaM/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/LaDawnaM/PurpleAmerica","description":"Purple America Map Project","fork":true,"url":"https://api.github.com/repos/LaDawnaM/PurpleAmerica","forks_url":"https://api.github.com/repos/LaDawnaM/PurpleAmerica/forks","keys_url":"https://api.github.com/repos/LaDawnaM/PurpleAmerica/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LaDawnaM/PurpleAmerica/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LaDawnaM/PurpleAmerica/teams","hooks_url":"https://api.github.com/repos/LaDawnaM/PurpleAmerica/hooks","issue_events_url":"https://api.github.com/repos/LaDawnaM/PurpleAmerica/issues/events{/number}","events_url":"https://api.github.com/repos/LaDawnaM/PurpleAmerica/events","assignees_url":"https://api.github.com/repos/LaDawnaM/PurpleAmerica/assignees{/user}","branches_url":"https://api.github.com/repos/LaDawnaM/PurpleAmerica/branches{/branch}","tags_url":"https://api.github.com/repos/LaDawnaM/PurpleAmerica/tags","blobs_url":"https://api.github.com/repos/LaDawnaM/PurpleAmerica/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LaDawnaM/PurpleAmerica/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LaDawnaM/PurpleAmerica/git/refs{/sha}","trees_url":"https://api.github.com/repos/LaDawnaM/PurpleAmerica/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LaDawnaM/PurpleAmerica/statuses/{sha}","languages_url":"https://api.github.com/repos/LaDawnaM/PurpleAmerica/languages","stargazers_url":"https://api.github.com/repos/LaDawnaM/PurpleAmerica/stargazers","contributors_url":"https://api.github.com/repos/LaDawnaM/PurpleAmerica/contributors","subscribers_url":"https://api.github.com/repos/LaDawnaM/PurpleAmerica/subscribers","subscription_url":"https://api.github.com/repos/LaDawnaM/PurpleAmerica/subscription","commits_url":"https://api.github.com/repos/LaDawnaM/PurpleAmerica/commits{/sha}","git_commits_url":"https://api.github.com/repos/LaDawnaM/PurpleAmerica/git/commits{/sha}","comments_url":"https://api.github.com/repos/LaDawnaM/PurpleAmerica/comments{/number}","issue_comment_url":"https://api.github.com/repos/LaDawnaM/PurpleAmerica/issues/comments{/number}","contents_url":"https://api.github.com/repos/LaDawnaM/PurpleAmerica/contents/{+path}","compare_url":"https://api.github.com/repos/LaDawnaM/PurpleAmerica/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LaDawnaM/PurpleAmerica/merges","archive_url":"https://api.github.com/repos/LaDawnaM/PurpleAmerica/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LaDawnaM/PurpleAmerica/downloads","issues_url":"https://api.github.com/repos/LaDawnaM/PurpleAmerica/issues{/number}","pulls_url":"https://api.github.com/repos/LaDawnaM/PurpleAmerica/pulls{/number}","milestones_url":"https://api.github.com/repos/LaDawnaM/PurpleAmerica/milestones{/number}","notifications_url":"https://api.github.com/repos/LaDawnaM/PurpleAmerica/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LaDawnaM/PurpleAmerica/labels{/name}","releases_url":"https://api.github.com/repos/LaDawnaM/PurpleAmerica/releases{/id}","deployments_url":"https://api.github.com/repos/LaDawnaM/PurpleAmerica/deployments","created_at":"2016-04-20T15:56:44Z","updated_at":"2016-04-20T15:56:50Z","pushed_at":"2016-05-06T17:09:02Z","git_url":"git://github.com/LaDawnaM/PurpleAmerica.git","ssh_url":"git@github.com:LaDawnaM/PurpleAmerica.git","clone_url":"https://github.com/LaDawnaM/PurpleAmerica.git","svn_url":"https://github.com/LaDawnaM/PurpleAmerica","homepage":null,"size":5825,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Obamanation:master","ref":"master","sha":"61c5a98c5e9ab71fa954a4f0398e80ba824689fa","user":{"login":"Obamanation","id":18538119,"avatar_url":"https://avatars.githubusercontent.com/u/18538119?v=3","gravatar_id":"","url":"https://api.github.com/users/Obamanation","html_url":"https://github.com/Obamanation","followers_url":"https://api.github.com/users/Obamanation/followers","following_url":"https://api.github.com/users/Obamanation/following{/other_user}","gists_url":"https://api.github.com/users/Obamanation/gists{/gist_id}","starred_url":"https://api.github.com/users/Obamanation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Obamanation/subscriptions","organizations_url":"https://api.github.com/users/Obamanation/orgs","repos_url":"https://api.github.com/users/Obamanation/repos","events_url":"https://api.github.com/users/Obamanation/events{/privacy}","received_events_url":"https://api.github.com/users/Obamanation/received_events","type":"Organization","site_admin":false},"repo":{"id":56700011,"name":"PurpleAmerica","full_name":"Obamanation/PurpleAmerica","owner":{"login":"Obamanation","id":18538119,"avatar_url":"https://avatars.githubusercontent.com/u/18538119?v=3","gravatar_id":"","url":"https://api.github.com/users/Obamanation","html_url":"https://github.com/Obamanation","followers_url":"https://api.github.com/users/Obamanation/followers","following_url":"https://api.github.com/users/Obamanation/following{/other_user}","gists_url":"https://api.github.com/users/Obamanation/gists{/gist_id}","starred_url":"https://api.github.com/users/Obamanation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Obamanation/subscriptions","organizations_url":"https://api.github.com/users/Obamanation/orgs","repos_url":"https://api.github.com/users/Obamanation/repos","events_url":"https://api.github.com/users/Obamanation/events{/privacy}","received_events_url":"https://api.github.com/users/Obamanation/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Obamanation/PurpleAmerica","description":"Purple America Map Project","fork":true,"url":"https://api.github.com/repos/Obamanation/PurpleAmerica","forks_url":"https://api.github.com/repos/Obamanation/PurpleAmerica/forks","keys_url":"https://api.github.com/repos/Obamanation/PurpleAmerica/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Obamanation/PurpleAmerica/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Obamanation/PurpleAmerica/teams","hooks_url":"https://api.github.com/repos/Obamanation/PurpleAmerica/hooks","issue_events_url":"https://api.github.com/repos/Obamanation/PurpleAmerica/issues/events{/number}","events_url":"https://api.github.com/repos/Obamanation/PurpleAmerica/events","assignees_url":"https://api.github.com/repos/Obamanation/PurpleAmerica/assignees{/user}","branches_url":"https://api.github.com/repos/Obamanation/PurpleAmerica/branches{/branch}","tags_url":"https://api.github.com/repos/Obamanation/PurpleAmerica/tags","blobs_url":"https://api.github.com/repos/Obamanation/PurpleAmerica/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Obamanation/PurpleAmerica/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Obamanation/PurpleAmerica/git/refs{/sha}","trees_url":"https://api.github.com/repos/Obamanation/PurpleAmerica/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Obamanation/PurpleAmerica/statuses/{sha}","languages_url":"https://api.github.com/repos/Obamanation/PurpleAmerica/languages","stargazers_url":"https://api.github.com/repos/Obamanation/PurpleAmerica/stargazers","contributors_url":"https://api.github.com/repos/Obamanation/PurpleAmerica/contributors","subscribers_url":"https://api.github.com/repos/Obamanation/PurpleAmerica/subscribers","subscription_url":"https://api.github.com/repos/Obamanation/PurpleAmerica/subscription","commits_url":"https://api.github.com/repos/Obamanation/PurpleAmerica/commits{/sha}","git_commits_url":"https://api.github.com/repos/Obamanation/PurpleAmerica/git/commits{/sha}","comments_url":"https://api.github.com/repos/Obamanation/PurpleAmerica/comments{/number}","issue_comment_url":"https://api.github.com/repos/Obamanation/PurpleAmerica/issues/comments{/number}","contents_url":"https://api.github.com/repos/Obamanation/PurpleAmerica/contents/{+path}","compare_url":"https://api.github.com/repos/Obamanation/PurpleAmerica/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Obamanation/PurpleAmerica/merges","archive_url":"https://api.github.com/repos/Obamanation/PurpleAmerica/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Obamanation/PurpleAmerica/downloads","issues_url":"https://api.github.com/repos/Obamanation/PurpleAmerica/issues{/number}","pulls_url":"https://api.github.com/repos/Obamanation/PurpleAmerica/pulls{/number}","milestones_url":"https://api.github.com/repos/Obamanation/PurpleAmerica/milestones{/number}","notifications_url":"https://api.github.com/repos/Obamanation/PurpleAmerica/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Obamanation/PurpleAmerica/labels{/name}","releases_url":"https://api.github.com/repos/Obamanation/PurpleAmerica/releases{/id}","deployments_url":"https://api.github.com/repos/Obamanation/PurpleAmerica/deployments","created_at":"2016-04-20T15:44:29Z","updated_at":"2016-04-29T19:23:38Z","pushed_at":"2016-05-02T18:46:52Z","git_url":"git://github.com/Obamanation/PurpleAmerica.git","ssh_url":"git@github.com:Obamanation/PurpleAmerica.git","clone_url":"https://github.com/Obamanation/PurpleAmerica.git","svn_url":"https://github.com/Obamanation/PurpleAmerica","homepage":null,"size":5824,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Obamanation/PurpleAmerica/pulls/3"},"html":{"href":"https://github.com/Obamanation/PurpleAmerica/pull/3"},"issue":{"href":"https://api.github.com/repos/Obamanation/PurpleAmerica/issues/3"},"comments":{"href":"https://api.github.com/repos/Obamanation/PurpleAmerica/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/Obamanation/PurpleAmerica/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/Obamanation/PurpleAmerica/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Obamanation/PurpleAmerica/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/Obamanation/PurpleAmerica/statuses/a64a967a516c1fbf939f310ab8fa08a0736a4fc4"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":5,"additions":110,"deletions":1,"changed_files":1}}