←
Zev Ross3,730 posts
Zev Ross avatar

Zev Ross

@zevross

Web applications, Data Science, Spatial Analysis, R Programmer & Instructor, Python, Data Viz, Public Health.

◷ Joined September 2013▧ 569 Photos and videos
Zev Ross avatar
Zev Ross@zevross·4 Feb 2020

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: https://t.co/rSzPTt6VBk, #rstats, #rspatial, #gischat

Post attachment
Rust Belt Kid avatar
⟳ Zev Ross retweeted
Rust Belt Kid@rustbeltkid1·9 Jan 2025

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)

Post attachment
Zev Ross avatar
Zev Ross@zevross·25 Jan 2024

Any chance one of you has a tip for this shiny-bslib-related issue? Seems like a simple one (just the navbar background color!) but I haven't come up with a solution, #rstats: community.rstudio.com/t/boot…

Zev Ross avatar
Zev Ross@zevross·16 Jan 2024

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")

Zev Ross avatar
Zev Ross@zevross·15 Jan 2024

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

Zev Ross avatar
Zev Ross@zevross·11 Jan 2024

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

Post attachment
Zev Ross avatar
Zev Ross@zevross·9 Nov 2023

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

Post attachment
Zev Ross avatar
Zev Ross@zevross·27 Oct 2023

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)

Zev Ross avatar
Zev Ross@zevross·11 Oct 2023

Useful! The pak #rstats package has a handy function for showing the dependency tree of a package -- pkg_deps_tree()

Post attachment
The {gt}/great_tables Packages avatar
⟳ Zev Ross retweeted
The {gt}/great_tables Packages@gt_package·7 Oct 2023

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/releas….

Kyle Walker avatar
⟳ Zev Ross retweeted
Kyle Walker@kyle_e_walker·26 Sep 2023

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/72298569868… #rstats #rspatial