EDH 7916: Contemporary Research in Higher Education

Spring 2023

A course in quantitative research workflow for students in the higher education administration program at the University of Florida

Overview
Course information
Meeting location
Software
Schedule
Lessons
Assignments
Questions
Past courses
About

Assignment 2

  

Creating a new directory

  1. Create a new top-level subdirectory in your course directory (i.e., the same level as scripts, data, and figures) called tables.
  2. Create a Markdown file called README.md and place it in your new tables directory. In the tables/README.md file, add a header line that looks like the following, and save.
    # Tables
       
    

Creating your first script

Using template.R (and organizing.R for help), create a script that does the following tasks — be sure your script is well organized:

  1. Make a copy of template.R and rename it to <lastname>_assignment_2.R. Make sure it is in your scripts folder if its not already there.
  2. Fill in all relevant header information about the script.
  3. Load the tidyverse library
  4. Create objects/macros with the paths to the following directories:
    • data
    • figures
    • tables
  5. Include the old_to_new_score_ratio macro, but change it to a new value.
  6. Include the old_to_new_score() function from class as is (just cut and paste).
  7. Read in the data set, test_scores.RDS.
  8. Create a new column called test_scores_new_2 that converts the original test scores to updated values using your new ratio and the old_to_new_score() function.
  9. Save the updated data file in your data directory with a new name. You should now have three files: the original, the updated one from the organizing lesson, and the one you just made.

NOTE When all is said and done, your new script should look much like the organizing.R script, but with your changes.

Submission details