• Introduction to Computational and Data Sciences
  • Frontmatter
    • R session information
  • I Toolbox
  • 1 Introduction
  • 2 Slack
    • 2.1 Getting started
      • 2.1.1 Creating a Slack account
      • 2.1.2 Slack policies
    • 2.2 How to use Slack
      • 2.2.1 Channels
      • 2.2.2 Direct messages
      • 2.2.3 How to ask (good) questions on Slack
  • 3 GitHub
    • 3.1 Getting started
      • 3.1.1 Account sign-up
    • 3.2 Navigating the GitHub site
      • 3.2.1 Main dashboard
      • 3.2.2 Profile page
      • 3.2.3 Settings
      • 3.2.4 Class organization page
    • 3.3 Repositories
    • 3.4 Additional topics
      • 3.4.1 How to create a repository
      • 3.4.2 How to import a repository
  • 4 RStudio Server
    • 4.1 Big picture overview of RStudio Server
      • 4.1.1 RStudio
      • 4.1.2 RStudio Server
      • 4.1.3 Reference
    • 4.2 A guided tour of RStudio Server’s default interface
      • 4.2.1 RStudio Server sub-windows
      • 4.2.2 File tab
      • 4.2.3 Edit tab
      • 4.2.4 Code tab
      • 4.2.5 View tab
      • 4.2.6 Plots tab
      • 4.2.7 Session tab
      • 4.2.8 Build tab
      • 4.2.9 Debug tab
      • 4.2.10 Proflie tab
      • 4.2.11 Tools tab
      • 4.2.12 Help tab
      • 4.2.13 References
    • 4.3 Help and documentation for R and RStudio Server
    • 4.4 Initial Set-up
      • 4.4.1 Change Global Options
      • 4.4.2 Connecting RStudio to Github
    • 4.5 Installing and updating R packages on RStudio Server
      • 4.5.1 Option - 1 (Without commands)
      • 4.5.2 Option - 2 (With commands)
    • 4.6 Interacting with your files on RStudio Server
      • 4.6.1 Setting path for the working directory
      • 4.6.2 Creating a folder
      • 4.6.3 Uploading a file
      • 4.6.4 Deleting or renaming a file
      • 4.6.5 Viewing a file
    • 4.7 Creating a new file on RStudio Server
    • 4.8 Using RStudio Server to clone a Github Repo as a new project
      • 4.8.1 Step - 1
      • 4.8.2 Step - 2
      • 4.8.3 Step - 3
      • 4.8.4 Step - 4
      • 4.8.5 Step - 5
      • 4.8.6 Step - 6
      • 4.8.7 Step - 7
    • 4.9 How to stage, commit, and push to Github using RStudio Server
      • 4.9.1 Step - 1
      • 4.9.2 Step - 2
      • 4.9.3 Step - 3
      • 4.9.4 Step - 4
      • 4.9.5 Step - 5
      • 4.9.6 Step - 6
    • 4.10 Switching between Github repos in RStudio Server
      • 4.10.1 Step - 1
      • 4.10.2 Step - 2
    • 4.11 Other common questions about RStudio Server
      • 4.11.1 What happens if you close the browser tab?
      • 4.11.2 I clicked “import dataset,” but I can’t find the file I downloaded, where is it?
  • II R Programming
  • 5 Overview
  • 6 R basics
    • 6.1 Data
      • 6.1.1 Numbers
    • 6.2 Variables
    • 6.3 More Complicated Data
    • 6.4 Functions
  • III Readings
  • 7 Describing numerical data
  • 8 Representing distributions
    • 8.1 Probability mass functions
      • 8.1.1 Example dataset
      • 8.1.2 PMFs
      • 8.1.3 Plotting PMFs
    • 8.2 Cumulative distribution functions
      • 8.2.1 The limits of probability mass functions
      • 8.2.2 Percentiles
      • 8.2.3 CDFs
      • 8.2.4 Representing CDFs
      • 8.2.5 Comparing CDFs
    • 8.3 Credits
  • 9 Statistical inference with infer
    • 9.1 Case study: Comparing work travel times
      • 9.1.1 Work travel times in Iowa and Nebraska
      • 9.1.2 Defining the hypothesis test
      • 9.1.3 Building the null distribution
      • 9.1.4 Computing the two-sided p-value
      • 9.1.5 Computing the 95% confidence interval
  • References
  • Published with bookdown

Introduction to Computational and Data Sciences

3.2 Navigating the GitHub site

For your convenience, the course website contains links taking you directly to course content stored on GitHub. However, you may prefer to access your existing content by navigating the GitHub site itself, so let’s take a short tour of the GitHub interface.

3.2.1 Main dashboard

When you will login into GitHub for the first time you will see the main dashboard for the website.

At the top of the dashboard there are several buttons, boxes, and icons that you can click in order to navigate the site. Starting from the left,

  • GitHub icon: This is similar to the “Home” or “Main” buttons found on other websites. Clicking this icon brings you back to your currently active dashboard, which is what we’re already viewing.

  • Search bar: Used to look for content on the GitHub site, such as repositories and user accounts, just click it and start typing.

  • Pull requests, Issues, Marketplace, and Explore: Of these links, the only one you might use for the course is “Pull requests”, however we’ll save the discussion about Pull requests for another time.

  • Bell icon: This displays your account notifications, such as when someone tags your username.

  • Plus icon: Used for creating content, such as creating a new repository.

The last icon on the right is your profile picture, and clicking it opens up another menu containing some additional links.

From this menu you can reach your profile, account settings, the help section, and a couple other of other pages. Let’s take a quick look to see what the profile and settings pages look like.

3.2.2 Profile page

Clicking Your profile will take you to your account’s profile page.

Since you most likely have a new account, there won’t be much here right now. If you click the Repositories tab at the top of your profile, it will display a list of repositories associated with your account, however keep in mind that it will not have any content you work on for the class. This is because the repositories you create for the class assignments are created under the class organization rather than associated with you. This is important to keep in mind when you are looking for your files - see below for how to find your class assignment repositories.

3.2.3 Settings

Clicking Settings takes you to the account settings page where you can inspect and update your account settings. Use the menu on the left to choose the setting you would like to change.

For now you may want to upload a profile picture or add a short bio under the Profile setting. You can also change how the site sends you email updates and notification alerts under the Emails and Notifications settings.

3.2.4 Class organization page

Returning to the main dashboard, after you’ve complete a few of the assignments for the class, your dashboard will begin to look more like this.

As we learned while looking at the profile page, your classwork will not be visible there. Instead, you will need to navigate to the class organization in order to find your files for the class, so let’s do that now.

Your section’s organization (for CDS 101) will be at a URL like this:

  • https://github.com/mason-sp20-cds101-001
  • https://github.com/mason-sp20-cds101-002
  • https://github.com/mason-sp20-cds101-dl1
  • https://github.com/mason-sp20-cds101-dl2

In these examples, sp20 stands for the Spring 2020 semester, and the last three digits are the number of your section.

When you navigate to your appropriate class organization page, you should see a page similar to this:

The dashboard is similar to the dashboard we saw earlier, but it will only contain content associated with the class. On the left you will see a list of some of your class repositories, which you can filter by typing in the Find a repository… search box. If you don’t see any repositories there, don’t worry, we will get around to creating them soon enough!

To see a full list of your class repositories, similar to the repositories tab on your profile page, click the View organization button on the upper right of the page.

Here you should be able to find all of the repositories that you’ve used during the class.

Keep in mind

If you click the GitHub icon while you are accessing content in the class organization, it will bring you back to the class organization dashboard, not the main dashboard we saw earlier. To get back to the main dashboard, click the gray icon with the class organization name and then click your username in the dropdown menu.