Deploying content
Not strictly “Data Visualization and Exploration”, but some of what goes in to it and some of where it goes after.
You may be interested in sharing “content” so others can view it.
GitHub is a website and interface to Git.
Git is a “version control system”, it (among many other things)
It is an alternative to "Final_paper_draft_final_final_done (copy).pdf".
Unlike typical cloud storage (e.g., Dropbox, Google Drive, OneDrive), which
A big difference is that cloud software runs in the background, git requires interaction.
You work on something in your office. Then you,
Dropbox
GitHub
Allows for collaboration and user-contributed suggestions.
For example, suppose you were interested in an R package I was developing (but I was afraid you might break it), you might
Now you are a contributor. Maybe I invite you to help manage and give you more trust and responsibility.
While built for hosting versioned copies of source code, GitHub now
It changes often. New, useful features are regularly added, along with their documentation.
Exploring this fully is a class, task, or hobby of its own.
Everything that follows (for a while at least) is voluntary, but recommended.
Some of these steps are tedious to figure out on your own, though documentation and support continues to improve.
If you are interested, feel free to work along. If not, feel free to use class time to work on your final project.
If you care to, create an account at GitHub.
Think carefully about your username
<username>.github,io), butThe simplest path seems to be described here.
There is quite a bit of effort to get started (hence trying it together with the support of others), but after that, things generally work smoothly.
Visit quarto.org (Getting started) and install Quarto CLI (Command Line Interface).
After this we will need to use the “Terminal” program (either “Terminal” in Mac, the “Command Prompt” in Windows, or “Terminal” window in RStudio). For simplicity let’s try the RStudio terminal window. A few commands are useful.
| Command | Use/Notes |
|---|---|
| pwd | Present Working Directory (shows where you are on the computer) |
| cd | Change Directory (to the “home” directory) |
| cd .. | Change Directory (to one level “up”) |
| cd folder/subfolder | Change Directory (to a folder called “folder” and a named “subfolder”) |
| ls | List (list directory contents) |
quartoVisit quarto.org (GitHub Pages).
Key steps:
_quarto.yml filerender and push to GitHub (now that it has been connected)publishThese steps are done back and forth between your Terminal window and the corresponding GitHub page in your browser.
You may be familiar with pie charts or donut charts.