This repository has been archived by the owner on Aug 30, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathStudent_projects.Rmd
202 lines (172 loc) · 7.02 KB
/
Student_projects.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
---
title: "Virtual Poster Session"
output:
html_document:
toc: false
---
This course uses a combination of lecture and hands-on exercises to provide a gentle introduction to programming in R with a focus on spatial data processing. The [final project](Project.html) in the course is the construction of a reproducible research workflow.
Each student wrote a script (using the [R](https://www.r-project.org/) programming language) to perform these steps and generate a website showcasing their analysis. The focus of the course is on the design and implementation of the complete data processing research workflow itself (not any particular statistics/methods/models). The challenge is to string all the steps together in a _coherent, reproducible flow from raw data to final outputs_.
## Student Project Gallery
You are invited to explore the student projects below (click on a title to visit their website). Each projects includes the embedded code in addition to their narrative and graphical stories. If you find something interesting, you are free to download and re-run the script to reproduce the entire analysis (including generating the tables/figures and even the webpage itself).
## 2020
```{r,echo=F, warning=F, message=F, eval=T}
library(tidyverse)
library(knitr)
library(rvest)
library(fontawesome)
update=F
if(update){
d=data.frame(url=
paste0("https://geo511-2020.github.io/",c(
"geo511-2020-project-btkunz",
"geo511-2020-project-smnotaro",
"geo511-2020-project-erikwoyc",
"geo511-2020-project-tingtchang",
"geo511-2020-project-hsare",
"geo511-2020-project-lazin-buff",
"geo511-2020-project-Zixuan0127",
"geo511-2020-project-ZaqueEvans",
"geo511-2020-project-BoweiZhao",
"geo511-2020-project-shruti8297",
"geo511-2020-project-BhavanaPoladi",
"geo511-2020-project-coconn41",
"geo511-2020-project-WeishanBai",
"geo511-2020-project-mahmoodkaiser",
"geo511-2020-project-betsymccall"
)),
group=c(rep(1,6),rep(2,9)),
stringsAsFactors = F)
d=d%>%mutate(user=sub("/","",
sub("https://geo511-2020.github.io/geo511-2020-project-","",url,
ignore.case = T)),
github=paste0("https://github.com/geo511-2019/2019-geo511-project-",
user))
for(i in 1:nrow(d)) {
# print(i)
d$title[i] <- ifelse(
is.na(tryCatch(read_html(d$url[i], verbose=T),
error = function(e){NA})),
NA,
read_html(d$url[i]) %>% html_nodes("h1")%>%html_text()%>%first()
)
}
save(d,file="2020_Student_projects_data.Rdata")
}
```
```{r, echo=F, message=F, results='hide', eval=T}
load("2020_Student_projects_data.Rdata")
```
```{r,asis=T, echo=F, eval=T}
d%>%
arrange(group,user)%>%
mutate(Title=paste0("[",title,"](",url,")")) %>%
# GitHub=paste("<a href=",github,"><i>",fa('github',fill ="#2780E3"),"</i></a>"))%>%
dplyr::select(Student=user,Title, group)%>%
kable()
```
## 2019
```{r,echo=F, warning=F, message=F, eval=T, results="hide"}
update=F
if(update){
d=data.frame(url=
paste0("https://geo511-2019.github.io/",c(
"2019-geo511-project-AJKlisavage",
"2019-geo511-project-anuwatpe",
"2019-geo511-project-austin3087",
"2019-geo511-project-davidjtor",
"2019-geo511-project-jpreg",
"2019-geo511-project-gbream",
"2019-geo511-project-katlynse",
"2019-geo511-project-hsare",
"2019-geo511-project-kli57",
"2019-geo511-project-mitchhitch-1",
"2019-geo511-project-moiraone",
"2019-geo511-project-mimonzil",
"2019-geo511-project-oliviadelos2",
"2019-geo511-project-Stella-Liao",
"2019-geo511-project-zolal-ayazpour",
"2019-geo511-project-yliu282"
)),
group=c(rep(1,7),rep(2,9)),
stringsAsFactors = F)
d=d%>%mutate(user=sub("/","",
sub("https://geo511-2019.github.io/2019-geo511-project-","",url,
ignore.case = T)),
github=paste0("https://github.com/geo511-2019/2019-geo511-project-",
user))
for(i in 1:nrow(d)) {
print(i)
d$title[i] <- ifelse(
is.na(tryCatch(read_html(d$url[i], verbose=T),
error = function(e){NA})),
NA,
read_html(d$url[i]) %>% html_nodes("h1")%>%html_text()%>%first()
)
}
save(d,file="2019_Student_projects_data.Rdata")
}
```
```{r, echo=F, message=F, results='hide', eval=T}
load("2019_Student_projects_data.Rdata")
```
```{r,asis=T, echo=F, eval=T}
d%>%
arrange(user)%>%
# filter(group==1)%>%
mutate(Title=paste0("[",title,"](",url,")")) %>%
# GitHub=paste("<a href=",github,"><i>",fa('github',fill ="#2780E3"),"</i></a>"))%>%
dplyr::select(Student=user,Title, group)%>%
kable()
```
## 2018
```{r,echo=F, warning=F, message=F, eval=T, results="hide"}
if(update){
d_2018=data.frame(url=c(
# "https://adamwilsonlabedu.github.io/geo503-2018-finalproject-dnkarp/",
"https://adamwilsonlabedu.github.io/geo503-2018-finalproject-YingLuGit/",
# "https://adamwilsonlabedu.github.io/geo503-2018-finalproject-EllieGaiser",
"https://adamwilsonlabedu.github.io/geo503-2018-finalproject-Jim-King/",
"https://adamwilsonlabedu.github.io/geo503-2018-finalproject-nathandubinin/",
"https://adamwilsonlabedu.github.io/geo503-2018-finalproject-matthewamoia/",
"https://adamwilsonlabedu.github.io/geo503-2018-finalproject-seankono/",
"https://adamwilsonlabedu.github.io/geo503-2018-finalproject-acerpovicz/",
"https://adamwilsonlabedu.github.io/geo503-2018-finalproject-JonathanMLynch/",
"https://adamwilsonlabedu.github.io/geo503-2018-finalproject-Katie-M-Walsh",
"https://adamwilsonlabedu.github.io/geo503-2018-finalproject-zero12r",
"https://adamwilsonlabedu.github.io/geo503-2018-finalproject-Nino-Martinez/",
"https://adamwilsonlabedu.github.io/geo503-2018-finalproject-allisonleet",
"https://adamwilsonlabedu.github.io/geo503-2018-finalproject-jiyuanzh",
"https://adamwilsonlabedu.github.io/geo503-2018-finalproject-sunjiazh",
"https://adamwilsonlabedu.github.io/geo503-2018-finalproject-zhang224",
"https://adamwilsonlabedu.github.io/geo503-2018-finalproject-hkhorasani",
"https://adamwilsonlabedu.github.io/geo503-2018-finalproject-Henryxie1003",
"https://adamwilsonlabedu.github.io/geo503-2018-finalproject-Canacelqr",
"https://adamwilsonlabedu.github.io/geo503-2018-finalproject-talentstuder",
"https://adamwilsonlabedu.github.io/geo503-2018-finalproject-wwang52",
"https://adamwilsonlabedu.github.io/geo503-2018-finalproject-HamedGhodsi90"
),
stringsAsFactors = F)
d_2018=d_2018%>%mutate(user=sub("/","",
sub("https://adamwilsonlabedu.github.io/geo503-2018-finalproject-","",url,
ignore.case = T)))
for(i in 1:nrow(d_2018)) {
print(i)
d_2018$title[i] <- ifelse(
is.na(tryCatch(read_html(d_2018$url[i], verbose=T),
error = function(e){NA})),
NA,
read_html(d_2018$url[i]) %>% html_nodes("h1")%>%html_text()%>%first()
)
}
save(d_2018,file="2018_Student_projects_data.Rdata")
}
```
```{r,asis=T, echo=F, eval=T}
load("2018_Student_projects_data.Rdata")
d_2018%>%
arrange(user)%>%
# filter(group==1)%>%
mutate(Title=paste0("[",title,"](",url,")"))%>%
dplyr::select(Student=user,Title)%>%
kable()
```