Skip to content

Commit

Permalink
completing lesson
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonJWilliamsNY committed May 21, 2016
1 parent 2d733ce commit 0ebd00e
Show file tree
Hide file tree
Showing 135 changed files with 1,592,494 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
source 'http://rubygems.org'
gem 'github-pages'
146 changes: 146 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,146 @@
GEM
remote: http://rubygems.org/
specs:
RedCloth (4.2.9)
activesupport (4.2.5)
i18n (~> 0.7)
json (~> 1.7, >= 1.7.7)
minitest (~> 5.1)
thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1)
addressable (2.3.8)
blankslate (2.1.2.4)
classifier-reborn (2.0.4)
fast-stemmer (~> 1.0)
coffee-script (2.4.1)
coffee-script-source
execjs
coffee-script-source (1.10.0)
colorator (0.1)
ethon (0.8.1)
ffi (>= 1.3.0)
execjs (2.6.0)
faraday (0.9.2)
multipart-post (>= 1.2, < 3)
fast-stemmer (1.0.2)
ffi (1.9.10)
gemoji (2.1.0)
github-pages (43)
RedCloth (= 4.2.9)
github-pages-health-check (= 0.6.0)
jekyll (= 2.4.0)
jekyll-coffeescript (= 1.0.1)
jekyll-feed (= 0.3.1)
jekyll-gist (= 1.4.0)
jekyll-mentions (= 0.2.1)
jekyll-paginate (= 1.1.0)
jekyll-redirect-from (= 0.9.1)
jekyll-sass-converter (= 1.3.0)
jekyll-seo-tag (= 0.1.4)
jekyll-sitemap (= 0.9.0)
jemoji (= 0.5.0)
kramdown (= 1.9.0)
liquid (= 2.6.2)
maruku (= 0.7.0)
mercenary (~> 0.3)
pygments.rb (= 0.6.3)
rdiscount (= 2.1.8)
redcarpet (= 3.3.3)
terminal-table (~> 1.4)
github-pages-health-check (0.6.0)
addressable (~> 2.3)
net-dns (~> 0.8)
public_suffix (~> 1.4)
typhoeus (~> 0.7)
html-pipeline (1.9.0)
activesupport (>= 2)
nokogiri (~> 1.4)
i18n (0.7.0)
jekyll (2.4.0)
classifier-reborn (~> 2.0)
colorator (~> 0.1)
jekyll-coffeescript (~> 1.0)
jekyll-gist (~> 1.0)
jekyll-paginate (~> 1.0)
jekyll-sass-converter (~> 1.0)
jekyll-watch (~> 1.1)
kramdown (~> 1.3)
liquid (~> 2.6.1)
mercenary (~> 0.3.3)
pygments.rb (~> 0.6.0)
redcarpet (~> 3.1)
safe_yaml (~> 1.0)
toml (~> 0.1.0)
jekyll-coffeescript (1.0.1)
coffee-script (~> 2.2)
jekyll-feed (0.3.1)
jekyll-gist (1.4.0)
octokit (~> 4.2)
jekyll-mentions (0.2.1)
html-pipeline (~> 1.9.0)
jekyll (~> 2.0)
jekyll-paginate (1.1.0)
jekyll-redirect-from (0.9.1)
jekyll (>= 2.0)
jekyll-sass-converter (1.3.0)
sass (~> 3.2)
jekyll-seo-tag (0.1.4)
jekyll (>= 2.0)
jekyll-sitemap (0.9.0)
jekyll-watch (1.3.1)
listen (~> 3.0)
jemoji (0.5.0)
gemoji (~> 2.0)
html-pipeline (~> 1.9)
jekyll (>= 2.0)
json (1.8.3)
kramdown (1.9.0)
liquid (2.6.2)
listen (3.0.5)
rb-fsevent (>= 0.9.3)
rb-inotify (>= 0.9)
maruku (0.7.0)
mercenary (0.3.5)
mini_portile2 (2.0.0)
minitest (5.8.3)
multipart-post (2.0.0)
net-dns (0.8.0)
nokogiri (1.6.7.2)
mini_portile2 (~> 2.0.0.rc2)
octokit (4.2.0)
sawyer (~> 0.6.0, >= 0.5.3)
parslet (1.5.0)
blankslate (~> 2.0)
posix-spawn (0.3.11)
public_suffix (1.5.3)
pygments.rb (0.6.3)
posix-spawn (~> 0.3.6)
yajl-ruby (~> 1.2.0)
rb-fsevent (0.9.7)
rb-inotify (0.9.5)
ffi (>= 0.5.0)
rdiscount (2.1.8)
redcarpet (3.3.3)
safe_yaml (1.0.4)
sass (3.4.21)
sawyer (0.6.0)
addressable (~> 2.3.5)
faraday (~> 0.8, < 0.10)
terminal-table (1.5.2)
thread_safe (0.3.5)
toml (0.1.2)
parslet (~> 1.5.0)
typhoeus (0.8.0)
ethon (>= 0.8.0)
tzinfo (1.2.2)
thread_safe (~> 0.1)
yajl-ruby (1.2.1)

PLATFORMS
ruby

DEPENDENCIES
github-pages

BUNDLED WITH
1.11.2
Empty file modified LICENSE.md
100644 → 100755
Empty file.
32 changes: 32 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@

all: pages handout-script.R

skeleton-%.R: %.Rmd
Rscript -e "knitr::purl('$<', output='$@', documentation=0L)"

%.html: %.Rmd
Rscript -e "rmarkdown::render('$<', output_format=rmarkdown::html_document(toc=TRUE, highlight='tango'))"

index.html: index.md
pandoc -o $@ $^

motivation.html: motivation.md
pandoc -o $@ $^

handout-script.R: skeleton-00-before-we-start.R skeleton-01-intro-to-R.R skeleton-02-starting-with-data.R skeleton-03-data-frames.R skeleton-04-dplyr.R
for f in $^; do cat $$f; echo "\n"; done > $@
make clean-skeleton

pages: index.html motivation.html 00-before-we-start.html 01-intro-to-R.html 02-starting-with-data.html 03-data-frames.html 04-dplyr.html 05-visualisation-ggplot2.html 06-r-and-sql.html
make clean-md

clean-skeleton:
-rm skeleton-*-*.R

clean-md:
-rm *-*.md

clean-html:
-rm *.html

clean: clean-skeleton clean-html clean-md
Empty file modified README.md
100644 → 100755
Empty file.
3 changes: 3 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
markdown: redcarpet
redcarpet:
extensions: ["tables"]
7 changes: 7 additions & 0 deletions _data/info.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
- lastupdated: April 16, 2015
contributors: ["First Last", "First Last", "Pls Add Others"]
maintainers: ["First Last", "First Last"]
domain: Domain Name
topic: Topic
dataurl:
status: Under Development
5 changes: 5 additions & 0 deletions _data/lessons.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
- url: 00-lesson-00-name.html
name: Lesson 00 Name

- url: 01-lesson-01-name.html
name: Lesson 01 Name
52 changes: 52 additions & 0 deletions _includes/anySetup.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@

<div id="any">

<h3>Setting Up</h3>

<p>
This workshop may require some software installation, and details will be included here.

</p>


<div class="col-md-4">
<h4 id="windows">Windows</h4>
<ol>
<li>
Download and install
</li>
<li>

</li>
</ol>
</div>


<div class="col-md-4">
<h4 id="macosx">Mac OS X</h4>
<ol>
<li>
Download and install
</li>
<li>

</li>
</ol>
</div>



<div class="col-md-4">
<h4 id="linux">Linux</h4>
<ol>
<li>
Download and install
</li>
<li>

</li>
</ol>
</div>


</div>
104 changes: 104 additions & 0 deletions _includes/anySetup.html~
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@

<div id="python"> <!-- Start of 'Python' section. Remove the third paragraph if
the workshop will teach Python using something other than
the IPython notebook.
Details at http://ipython.org/ipython-doc/2/install/install.html#browser-compatibility -->
<h3>Setting Up Python</h3>

<p>
<a href="http://python.org">Python</a> is a popular language for
scientific computing, and great for general-purpose programming as
well. Installing all of its scientific packages individually can be
a bit difficult, so we recommend an all-in-one installer.
</p>

<p>
Regardless of how you choose to install it,
<strong>please make sure you install Python version 2.x and not version 3.x</strong>
(e.g., 2.7 is fine but not 3.4).
Python 3 introduced changes that will break some of the code we teach during the workshop.
</p>

<p>
We will teach Python using the IPython notebook, a programming environment
that runs in a web browser. For this to work you will need a reasonably
up-to-date browser. The current versions of the Chrome, Safari and
Firefox browsers are all <a
href='http://ipython.org/ipython-doc/2/install/install.html#browser-compatibility'>supported</a>
(some older browsers, including Internet Explorer version 9
and below, are not).
</p>


<div class="col-md-4">
<h4 id="python-windows">Windows</h4>
<ul>
<li>
Download and
install <a href="https://store.continuum.io/cshop/anaconda/">Anaconda</a>.
</li>
<li>
Download the default Python 2 installer (do not follow the link to version 3).
Use all of the defaults for installation
<em>except</em> make sure to check
<b>Make Anaconda the default Python</b>.
</li>
</ul>
</div>



<div class="col-md-4">
<h4 id="python-macosx">Mac OS X</h4>
<ul>
<li>
Download and
install <a href="https://store.continuum.io/cshop/anaconda/">Anaconda</a>.
</li>
<li>
Download the default Python 2 installer (do not follow the link to version 3).
Use all of the defaults for installation.
</li>
</ul>
</div>



<div class="col-md-4">
<h4 id="python-linux">Linux</h4>
<p>
We recommend the all-in-one scientific Python installer
<a href="http://continuum.io/downloads.html">Anaconda</a>.
(Installation requires using the shell and if you aren't
comfortable doing the installation yourself just
download the installer and we'll help you at the boot
camp.)
</p>
<ol>
<li>
Download the installer that matches your operating
system and save it in your home folder.
Download the default Python 2 installer (do not follow the link to version 3).
</li>
<li>
Open a terminal window.
</li>
<li>
Type <pre>bash Anaconda-</pre> and then press
tab. The name of the file you just downloaded should
appear.
</li>
<li>
Press enter. You will follow the text-only prompts. When
there is a colon at the bottom of the screen press the down
arrow to move down through the text. Type <code>yes</code> and
press enter to approve the license. Press enter to approve the
default location for the files. Type <code>yes</code> and
press enter to prepend Anaconda to your <code>PATH</code>
(this makes the Anaconda distribution the default Python).
</li>
</ol>
</div>


</div>
5 changes: 5 additions & 0 deletions _includes/banner.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<div class="banner">
<a href="http://datacarpentry.org" title="Data Carpentry">
<img alt="Data Carpentry banner" src="{{page.root}}/img/DC1_logo_small.png" height="50px" />
</a>
</div>
8 changes: 8 additions & 0 deletions _includes/footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<div class="footer">
<a class="label swc-blue-bg" href="{{site.facebook_url}}">Facebook</a>
<a class="label swc-blue-bg" href="{{site.google_plus_url}}">Google+</a>
<a class="label swc-blue-bg" href="{{site.twitter_url}}">Twitter</a>
<a class="label swc-blue-bg" href="{{site.github_url}}">GitHub</a>
<a class="label swc-blue-bg" href="{{page.root}}/LICENSE.html">License</a>
<a class="bugreport label swc-blue-bg" href="mailto:{{site.contact}}?subject=bug%20in%20{{page.path}}">Bug Report</a>
</div>
12 changes: 12 additions & 0 deletions _includes/header.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<link rel="shortcut icon" type="image/x-icon" href="{{page.root}}/favicon.ico" />
<link href="{{page.root}}/css/bootstrap/bootstrap.css" rel="stylesheet" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link href="{{page.root}}/css/bootstrap/bootstrap-responsive.css" rel="stylesheet" />
<link rel="stylesheet" type="text/css" href="{{page.root}}/css/swc.css" />
<link rel="stylesheet" type="text/css" href="{{page.root}}/css/swc-bootstrap.css" />
<meta charset="UTF-8" />
<meta http-equiv="last-modified" content="{{site.timestamp}}" />
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
5 changes: 5 additions & 0 deletions _includes/javascript.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<!-- Le javascript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="{{page.root}}/js/jquery-1.9.1.min.js"></script>
<script src="{{page.root}}/js/bootstrap/bootstrap.min.js"></script>
4 changes: 4 additions & 0 deletions _includes/lesson-index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
* [Lesson 00 Name](./00-lesson-00-name.html)
* [Lesson 01 Name](./01-lesson-01-name.html)
* [Lesson 02 Name](./02-lesson-02-name.html)
* [Lesson 03 Name](./03-lesson-03-name.html)
Loading

0 comments on commit 0ebd00e

Please sign in to comment.