I use code as tool to solve quantitative problems in applied ecology and sometimes for a fun side project. I mostly use the coding language R.

Below are some examples. 

 

Screenshot 2018-03-06 at 9.11.36 AM.png

Population modelling

I have developed and coded population models for several research projects including:

  • How to effectively management an endangered species considering its interaction with its main predator (Stringham & Robinson 2015)

  • Incorporating disease transmission into a population model for an endangered bat species (Malso et al. 2017)

GitHub for bat population model: https://github.com/ocstringham/indiana_bat_pva


web scraping

I developed custom web scrapers to survey online exotic pet stores for: species for sale, price, and retail size or age. I built the web scrapers in R using the package RSelenium and rvest (Stringham & Lockwood, in press). 

GitHub for web scraper code: https://github.com/ocstringham/pet_store_web_scrapers 

Screenshot 2018-03-07 at 3.15.02 PM.png

Screenshot 2018-03-07 at 2.26.09 PM.png

machine learning

I used the machine learning technique - boosted regressions trees - to analyze broad scale economic and biological patterns among released exotic pets. I used the R package gbm and dismo to perform these analyses. (Stringham & Lockwood, in press)

Code and data for model: https://github.com/ocstringham/stringham_lockwood_2018

Also can be found in the Dryad Repository (upon publication): https://doi.org/10.5061/dryad.j2n732c


Twitter bot

For a fun project, I created a twitter bot :) It's programmed to tweet two random lines from the Broadway musical Hamilton, twice a day. Most tweets are nonsense, but occasionally the random seed generator selects something fun. 

Visit the twitter page: @RandomHamilton_

GitHub page: https://github.com/ocstringham/random_hamilton_twitter/

**The twitter bot is currently offline.