A&S500/Lin517
Home
About
Syllabus
Schedule
Open Blocks
Class Notes
Categories
All
(29)
Block 1
(3)
Block 2
(2)
Onboarding
(4)
R basics
(1)
`ggplot2`
(1)
data-viz
(2)
in-class
(1)
Class Notes
Making a Quarto Site
The first thing to do is to set up a github repository with your quarto project in it. You can do this 1 of two ways:
Apr 24, 2023
Josef Fruehwald
Quarto Finesse
Giving Quarto some polish
Apr 18, 2023
Josef Fruehwald, Josef Fruehwald
Survey Responses
Source: ottlex.org
Apr 13, 2023
Josef Fruehwald
Classifying documents,
quanteda
While
tidytext
is part of the larger “tidytext” universe, there is also another -verse of packages for analyzing text in R, the
quanteda
-verse.
Apr 11, 2023
Josef Fruehwald
Important Words
Words to just exclude from the analysis.
Apr 6, 2023
Josef Fruehwald
Sentiment and Other Content Analyses
Length of each chapter in lines
Apr 3, 2023
Josef Fruehwald
More Text
{tidytext}
’s tokenizers don’t operate
between
rows…
Mar 30, 2023
Josef Fruehwald
Starting with Text
String operations are going to be things like “split a string into substrings”
Mar 28, 2023
Josef Fruehwald
Thematic Maps
Seems to have a number of defaults set to be more pleasant for maps.
Mar 23, 2023
Josef Fruehwald
Raster data
Digital elevation model from https://kyfromabove.ky.gov/, specifically the tile that includes POT.
Mar 21, 2023
Josef Fruehwald
Getting Data
New for today
Mar 9, 2023
Josef Fruehwald
Spatial Operations
Useful info:
Mar 2, 2023
Josef Fruehwald
Starting with Maps
sf seems to be the most tightly integrated package into the tidyverse workflow we’ve been using.
Feb 28, 2023
Josef Fruehwald
Strings
str_detect()
Feb 21, 2023
Josef Fruehwald
Census Data
In order to load this data, you’ll have to download it yourself from the Lexington data hub.
Feb 16, 2023
Josef Fruehwald
Separating and Joining
The actual paper on the topic is worth reading:
Wickham (2014)
. There are three rules to tidy data:
Feb 14, 2023
Josef Fruehwald
Recoding and Joining
More working with babynames
Feb 8, 2023
Josef Fruehwald
Dataframing
There are alot of interesting datasets out there that we
could
make plots with, but not without some pre-processing.
Feb 7, 2023
Josef Fruehwald
ggplot2 extensions
There are a lot of ggplot2 extensions. You can browse some of them here:
Feb 2, 2023
Josef Fruehwald
ggplot2 theming
We can configure the size of figures and other aspects of their appearance in a quarto document by setting certain quarto chunk options.
Jan 31, 2023
Josef Fruehwald
Text and Labels
(not “criticism”)
Jan 25, 2023
Josef Fruehwald
Continuing ggplot2
This packages lets us grab
Jan 24, 2023
Josef Fruehwald
Starting ggplot2
in-class
Block 2
ggplot2
data-viz
The plots here look different from what we actually got in class because of settings I’ve set up at the website level!
Jan 19, 2023
Josef Fruehwald
Data Viz notes
Block 2
data-viz
Here’s a classic example called Anscomb’s quartet.
Jan 18, 2023
Josef Fruehwald
Navigating the R Ecosystem
Onboarding
This is a flowchart of my most frequent workflow for finding information about an R package.
Jan 17, 2023
Josef Fruehwald
Basics of R Syntax
R basics
To run R code in a Quarto notebook, you need to insert a “code chunk”. In visual editor mode, you can do that by typing the forward slash (
/
) and start typing in “R Code Chunk”. In the source…
Jan 17, 2023
Josef Fruehwald
Github Onboarding with RStudio
Block 1
Onboarding
Instruction boxes with
should be done on github, and instruction boxes with
should be done in RStudio.
Jan 12, 2023
Josef Fruehwald
Plan for Onboarding Day
Block 1
Onboarding
General RStudio Project Creation
Jan 12, 2023
Josef Fruehwald
Welcome Day
Block 1
Onboarding
Today, we talked about R vs RStudio Vs Quarto, which I illustrated like so:
Jan 10, 2023
Josef Fruehwald
No matching items