Homework 2 in STAT400: Computational Statistics @ CSU
The City of Fort Collins maintains a web portal to host data sets that are available to the public in a format that citizens can easily search, filter, and utilize (https://www.fcgov.com/opendata/). In particular, they have released the earnings of city employees from 2010-2018.
Each of these data sets are included in this repo under the
data/
folder.
R
(i.e. “data/[year]_Fort_Collins_City_Employee_Earnings.csv”, see
paste()
).Job Title
, Department
and
Earnings
columns.job_title
,
department
, and earnings
.job_title
and department
values lower
case (see tolower()
and mutate_at()
).year
with the appropriate
year.rbind
for binding rows of data frames together).Turn in in a pdf of your homework to canvas. Your .Rmd file on the server will also be used in grading, so be sure they are identical and reproducible.
Be sure to share your server project with the instructor and grader:
Open your hw-1 project on liberator.stat.colostate.edu
Click the drop down on the project (top right side) > Share Project…
Click the drop down and add “stat400instructors” to your project.
This is how you receive points for reproducibility on your homework!