Skip to content

Commit

Permalink
Merge branch 'dev' into 01-reading-canlang
Browse files Browse the repository at this point in the history
  • Loading branch information
leem44 authored Dec 7, 2020
2 parents 83ca834 + b0f86fc commit ad52a6d
Show file tree
Hide file tree
Showing 31 changed files with 1,728 additions and 1,217 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/publish_image_to_dockerhub.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Publish Docker image on DockerHub
on:
push:
paths:
- 'Dockerfile'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/checkout@master
with:
fetch-depth: '0'
- name: Bump version and push tag
uses: anothrNick/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WITH_V: true
id: bump
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: ${{ steps.bump.outputs.new_tag }}
release_name: ${{ steps.bump.outputs.new_tag }}
body: |
Changes in this Release
- Rebuilt Docker image and published to DockerHub with new tag
draft: false
prerelease: false
- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: ubcdsci/intro-to-ds
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
tags: "latest,${{ steps.bump.outputs.new_tag }}"

10 changes: 5 additions & 5 deletions 03-viz.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ are external references that contain a wealth of additional information on the t
- Use `ggsave` to save visualizations in `.png` and `.svg` format

## Choosing the visualization
#### *Ask a question, and answer it* {-#my-section}
#### *Ask a question, and answer it*

The purpose of a visualization is to answer a question about a data set of interest. So naturally, the first thing to do **before** creating
a visualization is to formulate the question about the data that you are trying to answer.
Expand Down Expand Up @@ -68,7 +68,7 @@ again typically a better alternative.


## Refining the visualization
#### *Convey the message, minimize noise* {-#my-section}
#### *Convey the message, minimize noise*

Just being able to make a visualization in R with `ggplot2` (or any other tool for that matter) doesn't mean that it is effective at communicating
your message to others. Once you have selected a broad type of visualization to use, you will have to refine it to suit your particular need.
Expand Down Expand Up @@ -98,7 +98,7 @@ making it easier for them to quickly understand and remember your message.


## Creating visualizations with `ggplot2`
#### *Build the visualization iteratively* {-#my-section}
#### *Build the visualization iteratively*

This section will cover examples of how to choose and refine a visualization given a data set and a question that you want to answer,
and then how to create the visualization in R using `ggplot2`. To use the `ggplot2` library, we need to load the `tidyverse` metapackage.
Expand Down Expand Up @@ -379,7 +379,7 @@ admirable job given the technology available at the time period.


## Explaining the visualization
#### *Tell a story* {-#my-section}
#### *Tell a story*

Typically, your visualization will not be shown completely on its own, but rather it will be part of a larger presentation.
Further, visualizations can provide supporting information for any part of a presentation, from opening to conclusion.
Expand Down Expand Up @@ -425,7 +425,7 @@ worth further investigation into the differences between these experiments to se


## Saving the visualization
#### *Choose the right output format for your needs* {-#my-section}
#### *Choose the right output format for your needs*

Just as there are many ways to store data sets, there are many ways to store visualizations and images.
Which one you choose can depend on a number of factors, such as file size/type limitations
Expand Down
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Copyright (c) UBC-DSCI Development Team.
FROM rocker/verse:4.0.0

RUN apt-get update --fix-missing \
Expand Down
2 changes: 1 addition & 1 deletion data/can_lang.csv
Original file line number Diff line number Diff line change
Expand Up @@ -212,4 +212,4 @@ Non-Official & Non-Aboriginal languages,Wolof,3990,1385,10,8240
Aboriginal languages,Woods Cree,1840,800,75,2665
Non-Official & Non-Aboriginal languages,Wu (Shanghainese),12915,7650,105,16530
Non-Official & Non-Aboriginal languages,Yiddish,13555,7085,895,20985
Non-Official & Non-Aboriginal languages,Yoruba,9080,2615,15,22415
Non-Official & Non-Aboriginal languages,Yoruba,9080,2615,15,22415
2 changes: 1 addition & 1 deletion docs/GitHub.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<meta name="author" content="Melissa Lee" />


<meta name="date" content="2020-11-03" />
<meta name="date" content="2020-11-24" />

<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit ad52a6d

Please sign in to comment.