{"action":"created","issue":{"url":"https://api.github.com/repos/datacarpentry/R-ecology/issues/9","labels_url":"https://api.github.com/repos/datacarpentry/R-ecology/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/datacarpentry/R-ecology/issues/9/comments","events_url":"https://api.github.com/repos/datacarpentry/R-ecology/issues/9/events","html_url":"https://github.com/datacarpentry/R-ecology/pull/9","id":86748747,"number":9,"title":"Use dplyr for subsetting and analysis","user":{"login":"karawoo","id":4452678,"avatar_url":"https://avatars.githubusercontent.com/u/4452678?v=3","gravatar_id":"","url":"https://api.github.com/users/karawoo","html_url":"https://github.com/karawoo","followers_url":"https://api.github.com/users/karawoo/followers","following_url":"https://api.github.com/users/karawoo/following{/other_user}","gists_url":"https://api.github.com/users/karawoo/gists{/gist_id}","starred_url":"https://api.github.com/users/karawoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karawoo/subscriptions","organizations_url":"https://api.github.com/users/karawoo/orgs","repos_url":"https://api.github.com/users/karawoo/repos","events_url":"https://api.github.com/users/karawoo/events{/privacy}","received_events_url":"https://api.github.com/users/karawoo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2015-06-09T21:59:56Z","updated_at":"2015-06-10T21:02:50Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/datacarpentry/R-ecology/pulls/9","html_url":"https://github.com/datacarpentry/R-ecology/pull/9","diff_url":"https://github.com/datacarpentry/R-ecology/pull/9.diff","patch_url":"https://github.com/datacarpentry/R-ecology/pull/9.patch"},"body":"At the recent WSU workshop I taught subsetting, data manipulation, and split-apply-combine-style data analysis using dplyr rather than base (we did cover bracket subsetting first). It went really well and @tracykteal and I talked about incorporating this material into the lessons. This pull request adds the dplyr lesson and removes `04-manipulating-data` and `05-analyzing-data`. The first few paragraphs of `04-manipulating-data` that deal with extracting columns from data frames by name is moved to `03-data-frames`.\r\n\r\nI generated updated HTML pages. It looks like currently the HTML and .Rmd files are not in sync, so some of the changes to the HTML files in this pull request are the result of previously merged changes to the .Rmd files.\r\n\r\nIn this workshop we used a joined version of the Portal data set that includes the info from `species.csv`, `surveys.csv`, and `plots.csv`. This file was the output of the previous day's OpenRefine and SQL lessons. I've included that data here so that the HTML files can be built from the .Rmd, but Tracy and I also talked about adding this data to Figshare at some point. The data has been cleaned up a little to remove the values in the `sex` column that are things like \"R\", \"P\", and \"Z\" and replace them with empty strings (which seems to be how missing data in this column is otherwise represented)."},"comment":{"url":"https://api.github.com/repos/datacarpentry/R-ecology/issues/comments/110912716","html_url":"https://github.com/datacarpentry/R-ecology/pull/9#issuecomment-110912716","issue_url":"https://api.github.com/repos/datacarpentry/R-ecology/issues/9","id":110912716,"user":{"login":"karawoo","id":4452678,"avatar_url":"https://avatars.githubusercontent.com/u/4452678?v=3","gravatar_id":"","url":"https://api.github.com/users/karawoo","html_url":"https://github.com/karawoo","followers_url":"https://api.github.com/users/karawoo/followers","following_url":"https://api.github.com/users/karawoo/following{/other_user}","gists_url":"https://api.github.com/users/karawoo/gists{/gist_id}","starred_url":"https://api.github.com/users/karawoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karawoo/subscriptions","organizations_url":"https://api.github.com/users/karawoo/orgs","repos_url":"https://api.github.com/users/karawoo/repos","events_url":"https://api.github.com/users/karawoo/events{/privacy}","received_events_url":"https://api.github.com/users/karawoo/received_events","type":"User","site_admin":false},"created_at":"2015-06-10T21:02:50Z","updated_at":"2015-06-10T21:02:50Z","body":"On the issue of the skeleton lessons, the makefile generates them so it's not *too* hard to keep them in sync. Learners at WSU seemed to have a hard time following along using commands pasted in the Etherpad even though one of the helpers was typing all the commands in pretty promptly. I ended up creating a link (I can't remember if it was a hard link or a soft link that worked in the end) from the script I was editing to my public Dropbox and I shared that link with them. Then I just needed to remember to save frequently, and the Dropbox version would automatically update so they could see what I had just added.\r\n\r\nIf the lessons are not currently set up to add all the code to the skeleton lessons file then maybe I should undo this for now and make it part of a separate PR if we decide we want this."}}