Dewey Dunnington
Dewey Dunnington
Home
Posts
Publications
R
How to look up timezones for 8,000 locations in R
If you have ever worked with dates and times over a wide geographical area, you will know that timezone math is tedious but important. In the forthcoming update of the rclimateca package, the list of climate locations provided in the package will contain the UTC offsets for what Environment Canada calls “local standard time”.
Last updated on Jan 8, 2018
7 min read
Abbreviating journal titles using BibTex & R
It seems that the tools for writing papers in R/RStudio keep getting better and better, to the point where it is rare that I have something I need to do to write a paper that happens outside of RStudio.
Last updated on Nov 4, 2017
6 min read
R data structures for Chemical Modeling
In the past few months I’ve done some work on PHREEQC modeling in R, as well as a whole lot of XRF data work that required converting what seemed like an ungodly number of molecular concentrations (e.
Last updated on Aug 25, 2017
5 min read
Using the tidyverse to wrangle core data
The paleolimnological data I work with most days is voluminous and difficult to wrangle. There are a lot of cores, a lot of variables, and a lot of parameters thanks to the multi-element analysis of the X-Ray Fluorescence spectrometer we’ve used recently on our sediment samples.
Last updated on Aug 24, 2017
12 min read
Line-by-line, row-by-row...
The NatChem database from Environment Canada contains the best long-term atmospheric monitoring data that exists for Canada, similar to the National Atmospheric Deposition Program (NADP) in the US. Unlike the NADP, the distribution format associated with NatChem data is a hideous export format that looks like it was used by SAS at one point.
Last updated on Mar 27, 2017
11 min read
The Mineralogical Paragram
Matt Hall from Agile Geoscience recently wrote a post on the problem of finding the shortest possible pangram (sentence containing all letters in the alphabet) using only mineral names. The post goes into the details on the set cover problem, of which assembling a pangram from a list of minerals is one example.
Last updated on Mar 19, 2017
7 min read
«
Cite
×