Zev Ross
@zevross
Web applications, Data Science, Spatial Analysis, R Programmer & Instructor, Python, Data Viz, Public Health.
I had the privilege of teaching a two-day workshop, Modern Geospatial Data Analysis with R, at the @rstudio conference with an amazing group of TAs and participants. I've made the slides available here: bit.ly/36WMUKe, #rstats, #rspatial, #gischat

Dear friends, we are looking for a talented front-end developer to help us build #dataviz and mapping platforms. Details: zevross.com/jobs/ Please share 🙂 #gischat #reactjs #typescript
New coolest map ever just dropped - Canopy Compass has put out a crop viability map that includes specialty crops. This is Mulberry viability (I'll do more below)
🌍 May 22-23, 2024🌎 I will teach a two-day online workshop about modern approaches to work on and visualize spatial data in R. Learn more at buff.ly/3UKQ9kF Email me if you have any questions! #rstats #rspatial #gischat
I didn't realize that the stringr R package had added a fixed() modifier like gsub's fixed = TRUE so that literal text is compared, #rstats. Example: library(stringr) str_replace("my (dog) has fleas", "(dog)", "dog") str_replace("my (dog) has fleas", fixed("(dog)"), "dog")
A handy git command -- this will give you the git commit where a line of text got removed: git log -S 'text that accidentally got removed' /path/to/file
For all the promise and controversy around Chat GPT it sure can minimize coding chores. Here I just wanted to separate R packages by commas and add quotations -- worked first try. #rstats

If you need to generate a CREATE TABLE statement for a table in #rstats the DBI::sqlCreateTable() function is a good place to start.

Boring but handy. Browse to a directory on your computer from #rstats with this command. I'm finding it useful when I create a temporary directory and want to review what's in there. tempdir_path <- tempdir() utils::browseURL(tempdir_path)
Useful! The pak #rstats package has a handy function for showing the dependency tree of a package -- pkg_deps_tree()

gt `0.10.0` is now out on CRAN. Here are some new features: - nanoplots, tiny interactive plots - add columns/rows to your table - units notation - the `from_column()` helper - `fmt_icon()` for adding icons! The full set of release notes available here: github.com/rstudio/gt/rel….
⚠️ rgdal, rgeos, and maptools won’t be available on CRAN after October 2023. ⚠️ What are the consequences of this change? What do you need to do as a user and as a developer? Read my blog post at buff.ly/3NbhLez #rstats #rspatial #gischat #geocompx
tidycensus 1.5 just hit CRAN! This major release includes support for new datasets (detailed DHC-A file, congressional districts in the 2020 Census), enhancements for ACS data, and more. Learn all about it in Thursday's free webinar: eventbrite.com/e/722985698687… #rstats #rspatial
Super-succinct post on how easy it is to query a remote file (without downloading the whole thing!) using parquet and DuckDB with #rstats r.iresmi.net/posts/2023/fas…
The National Land Cover Database (NLCD) 2021 is out 👇
📣 The @USGS and the Multi-Resolution Land Characteristics Consortium (MRLC) is pleased to announce the release of the latest epoch of the National Land Cover Database for the conterminous U.S. – #NLCD 2021. Read more here: ow.ly/htJ250Pp7tk
Join the "State of tmap 2023" workshop with Martijn Tennekes! 🗺️ Discover the latest major version (v4) and explore the codebase. July 27, 16:00-18:00 CEST (check your local time at buff.ly/3K6OoIB) Register now: buff.ly/46QwOSR #rstats #rspatial #maps
The tagQuery() function provides an effective way to query and modify HTML in #rstats, #rshiny. For example, say you want to add the "red-text" class to a textInput label:

I didn't realize that ggplot2 had a handy timer function called benchplot that includes build and draw time, #RStats

This is a useful comparison of Flask vs FastAPI for app development in #python imaginarycloud.com/blog/flask-vs-…