Dewey Dunnington
Dewey Dunnington
Home
Posts
Publications
Posts
Prototyping an Apache Arrow representation of geometry
After spending a few kiddo nap times experimenting with low-level Apache Arrow representations of vectors in R, I remembered a lively GitHub discussion of Arrow representations of geometry in R. The arrow R package can already round-trip sf objects to and from feather and parquet formats, and the sfarrow package does so as well with a slightly different encoding.
Sep 13, 2021
7 min read
wk version 0.5.0!
A new version of wk is fresh on CRAN! Version 0.5 introduces some new features to the framework, incorporates most of the functionality that was previously in the wkutils package, and fixes a number of bugs that popped up in the development of s2 and geos.
Jul 12, 2021
14 min read
Stream networks using R and GEOS
Almost exactly a year ago I wrote a post on using R and sf to work with stream networks. The post was about low-level analysis with the Nova Scotia stream network to find upstream networks of various lakes so that I could approximate the catchments without a province-wide DEM analysis.
Apr 1, 2021
11 min read
wk version 0.4.0!
About the time the COVID-19 pandemic began, I started getting interested in some low-level geometry programming in R. Around that time the vctrs package was starting to mature and dplyr version 1.
Mar 2, 2021
12 min read
Using R's cross-platform iconv wrapper from cpp11
In some recent adventures parsing text embedded within binary files, I came across the need to correctly interpret input bytes from a file representing a character string. As a developer, you want to write software that protects users from ever having to deal with an encoding issue!
Feb 7, 2021
5 min read
Hacking Seabird HEX files using R and the tidyverse
Avid readers of this blog, if there are any, would have figured out that I really love low-level data IO and hacking proprietary file formats so that I can use the data in the open-source (mostly) software that I know and love.
Dec 5, 2020
15 min read
New article: The distribution and transport of Pb in northeastern North America
Today the pivotal and final chapter of my Ph.D. thesis was published in Science of the Total Environment! I’ve been excited about Pb deposition ever since my honours thesis, when I measured Pb (and other elements) in two lakes near the Nova Scotia-New Brunswick border.
Last updated on Jun 22, 2020
4 min read
Getting started with Zotero, Better BibTeX, and RMarkdown
I have to start with saying that there’s a lot of ways to write scientific articles with all of these tools. In particular, there’s some great guides from rOpenSci, packages with LaTeX templates for major publishers, and R packages to help with reproducible documents.
Last updated on May 9, 2020
5 min read
The forthcoming {wk} package preview!
This is a preview of the wk package for R, which is currently undergoing the CRAN submission process. I’m just so excited about it that I can’t wait to start talking about what it can do!
Last updated on May 6, 2020
10 min read
Calculating lake outlets using R
If you can’t tell from my last two posts, I’m trying to delineate watersheds for about 650 lakes. We’ve gotten to the point where we can calculate an approximate catchment using the upstream network, and call the QGIS processing algorithms we need to delineate the catchment from the outlet.
Last updated on Apr 22, 2020
4 min read
«
»
Cite
×