R and Google Visualization API: Fish harvests

I recently gathered fish harvest data from the U.S. National Oceanic and Atmospheric Administarion (NOAA), which I downloaded from Infochimps. The data is fish harvest by weight and value, by species for 21 years, from 1985 to 2005. Here is a link to a google document of the data I used below. I had to do some minor pocessing in Excel first; thus the link to this data. https://spreadsheets.google.com/ccc?key=0Aq6aW8n11tS_dFRySXQzYkppLXFaU2F5aC04d19ZS0E&hl=en Get the original data from Infochimps here http://infochimps.com/datasets/domestic-fish-and-shellfish-catch-value-and-price-by-species-198 ...

January 17, 2011 · 1 min · Scott Chamberlain

Just for fun: Recovery.gov data snooping

Okay, so this isn’t ecology related at all, but I like exploring data sets. So here goes… Propublica has some awesome data sets available at their website: http://www.propublica.org/tools/ I played around with their data set on Recovery.gov (see hyperlink below in code). Here’s some figures: Mean award amount, ranked by mean amount, and also categorized by number of grants received (“nfund”) by state (by size and color of point). Yes, there are 56 “states”, which includes things like Northern Marian Islands (MP). Notice that California got the largest number of awards, but the mean award size was relatively small. ...

January 11, 2011 · 2 min · Scott Chamberlain

Phylogenetic meta-analysis in R using Phylometa

Here is some code to run Phylometa from R. Phylometa is a program that conducts phylogenetic meta-analyses. The great advantage of the approach below is that you can easily run Phylometa from R, and manipulate the output from Phylometa in R. Phylometa was created by Marc Lajeunesse at University of South Florida, and is described in his 2009 AmNat paper. Phylometa can be downloaded free here. Save phylometa_fxn.R (get here) to your working directory. Then use the block of code below to call the functions within phylometa_fxn.R. ...

December 28, 2010 · 3 min · Scott Chamberlain