Template for Homeworks

Lancez-Vous. C'est gratuit
ou s'inscrire avec votre adresse e-mail
Template for Homeworks par Mind Map: Template for Homeworks

1. First GitHub Steps

1.1. 1. Go to your GitHub account

1.1.1. Create an organization

1.1.1.1. You will this ONCE

1.1.1.2. Go to "**Your organizations**"

1.1.1.2.1. Create an **organization**

1.2. 2. Create repo in your Github Organization for this course

1.2.1. You will create ONE repository

1.2.1.1. The dashboard will be modified **THREE TIMES** (one for each HW)

1.2.2. Create a **repository** in your organization

1.2.2.1. set it up

1.2.2.1.1. choose simple name

1.2.2.1.2. make sure it is public

1.2.2.1.3. always add a README

1.2.2.1.4. Do not deal with **gitignore**

1.2.2.1.5. Choose one license

1.3. 3. Clone the repo to your computer (make sure you have GitHub **desktop**)

1.3.1. You will do this **ONCE** (one for each HW)

1.3.2. Look for **CODE** in green

1.3.2.1. never clone inside another app's folder

1.3.2.1.1. never inside another repo

1.3.2.2. You can clone anywhere, choose a location easy to find

2. On ZOTERO (optional?)

2.1. Create Collection

2.1.1. name it **testVisual**

2.2. Add contents

2.2.1. https://doi.org/10.1017/9781108625425

2.2.2. https://pkgs.rstudio.com/flexdashboard/authors.html#citation

2.3. Download the collection into the repo

2.3.1. HERE IS FILE...if you do not create it

3. Draft your Homework

3.1. Data

3.1.1. put this data inside the repo

3.2. Code for visualizations inside the repo

4. Homework in Dashboard

4.1. Install inside RStudio

4.1.1. **FLEXDASHBOARD**

4.2. Dashboard codes

4.2.1. The codes should be in the local repo

4.2.2. choose an option

4.2.2.1. simplest code

4.2.2.2. tabs

4.2.2.3. pages

4.2.2.4. frames

5. Publishing for submitting

5.1. Knit your homework

5.1.1. rename the _html file_ generated as **index.html** (lowercase only)

5.1.1.1. This same file will be updated when you add more visualizations in the coming homeworks

5.2. Back to GitHub: check the desktop app

5.2.1. You will do this for every homework

5.2.1.1. commit

5.2.1.2. push

5.3. Go to your "Repo" on the GitHub cloud

5.3.1. easy way to find from the desktop app!

5.4. Go to "Settings"

5.4.1. use pages!

5.4.1.1. final steps

5.4.1.1.1. wait for link to appear!

5.4.2. you do **NOT** need to update the link after each homework