Skip to content

Instantly share code, notes, and snippets.

View ldemaz's full-sized avatar

Lyndon Estes ldemaz

  • Clark University
  • Worcester, MA
View GitHub Profile
@ldemaz
ldemaz / plot_coords_tolatlong.R
Created March 22, 2019 10:59
Converting plot to lat-long coordinates
library(tidyverse)
library(sf)
library(raster)
# set up dummy dataset
# start with raster having 0, 0 origin
r <- raster(extent(0, 1, 0, 1), res = 0.02)
set.seed(1)
r[sample(1:ncell(r), 10)] <- 1:10
plot(r, xaxs = "r")
@ldemaz
ldemaz / phd-ad.md
Created November 27, 2017 03:07
Looking for PhD students

The Agricultural Impacts Research Group at Clark University's Graduate School of Geography is looking for PhD candidates interested in studying the drivers and impacts of tropical agricultural change (particularly within sub-Saharan Africa's savanna range countries). Our projects relate to food security, land use planning, climate variability, trade and economic policy, biodiversity impacts, and the development and application of next-generation Earth Observation methods (e.g. environmental sensing networks, crowdsourcing, UAS, computer vision/machine learning) for measuring and monitoring agricultural systems. Candidates should have a background in a relevant discipline (e.g. geography, geosciences, computer science, engineering, quantitative ecology or social science) and experience in programming and geospatial analysis. Funding to support the position is available for three years (TA and/or RA duties assigned) with the potential for additional support thereafter. Interested candidates may contact Lyndon E

@ldemaz
ldemaz / cong-dist-figs.R
Last active May 6, 2017 20:13
Congressional district maps
# LA Times figures
library(rgdal)
library(RColorBrewer)
library(raster)
library(viridis)
# sources for spatial datasets
# congressional districts:
# https://www.census.gov/geo/maps-data/data/tiger-line.html