How are you getting along in Fundies?
(Or--looking back, how do you feel about Fundies?)
What's working in the class for you?
What's alienating, difficult, or frustrating?
Programming Language Family Trees
Why do you choose a language?
Reading R Code
Why R? It's widely used in humanities and social sciences
Reading Racket code:
Functions evaluate from the inside out.
(* 3 (- 1 (/ 2 (+ 1 7 ) ) ) )
Reading (tidy) R code:
The pipe operator (
%>%) runs from left to right.
sum(1,7) %>% divide_by(2) %>% subtract(1) %>% multiply_by(3)
Advice on re-using code.
The Data Frame is the basic data type that keeps R around. It's like the data displayed in a spreadsheet.
data_frame(candidates = c("Clinton","Trump","Johnson"), polling = c(45,40,5), party = c("D","R","I") )
Only problem: text looks like this:
UNDER the shadow of Boston State House, turning its back on the house of John Hancock, the little passage called Hancock Avenue runs, or ran, from Beacon Street, skirting the State House grounds, to Mount Vernon Street, on the summit of Beacon Hill; and there, in the third house below Mount Vernon Place, February 16, 1838, a child was born, and christened later by his uncle, the minister of the First Church after the tenets of Boston Unitarianism, as Henry Brooks Adams.
Bag of words in R;
Named entity extraction finds places or people in unstructured text.
Topic Modeling assumes that documents are composed of a few underlying topics,