edquant / edh7916

Course materials and website for EDH7916: Contemporary Research in Higher Education
https://edquant.github.io/edh7916/
3 stars 1 forks source link

.RDS file on remote student repository #43

Closed onmorales23 closed 1 year ago

onmorales23 commented 2 years ago

After completing the push to my remote repository for Assignment 2, I found that the new .RDS file created from the script appears on my local repo but not the remote one. Should this file appear on the remote repo as well?

btskinner commented 2 years ago

Good question.

TL;DR

No, any data that ends up in your data directory will not push to the GitHub repo. All that I care to see for an assignment is what I specifically ask for (e.g., the R script or a Markdown file).

Longer explanation

I've set up your repo to ignore most files in the data directory on purpose using the .gitignore file. Specifically, it's this line:

# ignore all files in /data except those at bottom
data/*

and then later in the script:

# ------------------
# Exceptions
# ------------------

!data/README.md
!data/test_scores.RDS
!data/hsls_small.csv
!data/hsls_small.dta
!data/sch_test
!data/hd2007.csv
!data/ic2007mission.csv
!data/ufl_class_times.csv
!data/els_plans.dta

These are the only files (for now) that will push/pull to the GitHub repo. You don't have them all yet, but will as the course progresses.