{"action":"created","issue":{"url":"https://api.github.com/repos/ropensci/prism/issues/34","labels_url":"https://api.github.com/repos/ropensci/prism/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/ropensci/prism/issues/34/comments","events_url":"https://api.github.com/repos/ropensci/prism/issues/34/events","html_url":"https://github.com/ropensci/prism/issues/34","id":83010149,"number":34,"title":"Code needs to be more modular","user":{"login":"emhart","id":1039395,"avatar_url":"https://avatars.githubusercontent.com/u/1039395?v=3","gravatar_id":"","url":"https://api.github.com/users/emhart","html_url":"https://github.com/emhart","followers_url":"https://api.github.com/users/emhart/followers","following_url":"https://api.github.com/users/emhart/following{/other_user}","gists_url":"https://api.github.com/users/emhart/gists{/gist_id}","starred_url":"https://api.github.com/users/emhart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emhart/subscriptions","organizations_url":"https://api.github.com/users/emhart/orgs","repos_url":"https://api.github.com/users/emhart/repos","events_url":"https://api.github.com/users/emhart/events{/privacy}","received_events_url":"https://api.github.com/users/emhart/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ropensci/prism/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-31T05:45:02Z","updated_at":"2015-05-31T06:01:21Z","closed_at":"2015-05-31T06:01:21Z","body":"At this point the code is really bloated for what the package is.  It needs to be more modular.  Instead of the same loops repeated over and over in each `get_` fxn I should have a single fxn that downloads data."},"comment":{"url":"https://api.github.com/repos/ropensci/prism/issues/comments/107131631","html_url":"https://github.com/ropensci/prism/issues/34#issuecomment-107131631","issue_url":"https://api.github.com/repos/ropensci/prism/issues/34","id":107131631,"user":{"login":"emhart","id":1039395,"avatar_url":"https://avatars.githubusercontent.com/u/1039395?v=3","gravatar_id":"","url":"https://api.github.com/users/emhart","html_url":"https://github.com/emhart","followers_url":"https://api.github.com/users/emhart/followers","following_url":"https://api.github.com/users/emhart/following{/other_user}","gists_url":"https://api.github.com/users/emhart/gists{/gist_id}","starred_url":"https://api.github.com/users/emhart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emhart/subscriptions","organizations_url":"https://api.github.com/users/emhart/orgs","repos_url":"https://api.github.com/users/emhart/repos","events_url":"https://api.github.com/users/emhart/events{/privacy}","received_events_url":"https://api.github.com/users/emhart/received_events","type":"User","site_admin":false},"created_at":"2015-05-31T06:01:21Z","updated_at":"2015-05-31T06:01:21Z","body":"Upon further inspection the URL schemes are a bit too time scale specific to make rewriting it worthwhile (and I doubt any speed improvements will be gained)"}}