This homework will assess your ability to use GitHub, organize projects, and apply tidy data principles, and represents content covered in lectures 4 and 5.
15 points
Make a GitHub account and populate your bio by including your research interests, place of work, location, professional webpage (or science-focused twitter account!). Here’s an example github.com/trvrb.
Include the link to your GitHub profile here.
15 points
This question assesses your ability to track a project using Git.
Download the course files with the following link: github.com/fredhutchio/tfcb_2020/archive/master.zip. Copy the contents of homeworks/homework02/messy-project-directory/
to a new directory on your computer named tfcb-homework02
.
Open GitHub Desktop and make a “New repository” with name tfcb-homework02
. Set “Local Path” to the location in your computer where your tfcb-homework02
directory can be found.
Create an initial commit that adds all the local files in tfcb-homework02
:
Survey Data.xlsx
get Species_list.py
You do not need to submit anything for this problem; your success will be evaluated in the next problem.
15 points
This question assesses your ability to publish projects to GitHub.
Publish tfcb-homework02
to GitHub using GitHub Desktop. Make sure to set this to be a “public” repository. The resulting repository can now be accessed at github.com/{your_name}/tfcb-homework02. If necessary, you can make this repository public by going to “Settings” from this page.
Include the link to your tfcb-homework02
GitHub repository here.
15 points
This question assesses your ability to organize files and directories associated with research projects.
Organize files into a more consistent structure. Group images into a images/
directory. Separate source code and data. Rename files to remove spaces and improve consistency. Commit changes and publish to your public GitHub repository.
Include the link to your tfcb-homework02
GitHub repository here.
20 points
This question assesses your ability to write a README with Markdown formatting.
Create a file called README.md
and populate with Markdown. Demonstrate headers, lists, links, embedded images (by linking to images contained in the directory) and tables in this readme.
Commit this file and publish to your public GitHub repository.
Include the link to your README.md
here.
20 points
This question assesses your understanding of tidy data principles.
Clean up the file that was originally named Survey Data.xlsx
. Some points to remember: aim for a single tidy data frame in a single tab, don’t use formatting as data, use preferred date format, properly record null values.
Export this as a tab-delimited .tsv
text file with Unix line endings.
Commit the modified .xlsx
file and the .tsv
file and publish to your public GitHub repository.
Include the link to your .tsv
file on GitHub here.