Skip to content

Instantly share code, notes, and snippets.

View JordynMarcellus's full-sized avatar

Jordyn Marcellus JordynMarcellus

View GitHub Profile
@JordynMarcellus
JordynMarcellus / ab-unemployment-oil.csv
Created August 21, 2015 00:42
Prices of Western Canadian Select (WCS), West Texas Intermediate (WTI) compared to Alberta unemployment rates
When Oil Price, WTI ($US/bbl) Oil Price, WCS ($US/bbl) Alberta Unemployment
1/1/2009 41.71 29.97 4.9
2/1/2009 39.09 31.71 5.4
3/1/2009 47.94 40.76 5.9
4/1/2009 49.65 43.76 6.1
5/1/2009 59.03 51.64 7
6/1/2009 69.64 61.18 6.8
7/1/2009 64.15 54.45 7.1
8/1/2009 71.05 60.57 7.3
9/1/2009 69.41 59.52 6.8
@JordynMarcellus
JordynMarcellus / ab-employment-oil.csv
Created August 21, 2015 01:29
WTI and WCS prices with Alberta employment and unemployment data
When Oil Price, WTI ($US/bbl) Oil Price, WCS ($US/bbl) Alberta Unemployment Employment (part-time) Employment (full-time) Employment (all)
1/1/2009 41.71 29.97 4.9 356800 1702700 2059500
2/1/2009 39.09 31.71 5.4 363400 1678800 2042200
3/1/2009 47.94 40.76 5.9 360200 1676600 2036800
4/1/2009 49.65 43.76 6.1 370500 1666300 2036800
5/1/2009 59.03 51.64 7 367100 1659200 2026300
6/1/2009 69.64 61.18 6.8 364600 1660000 2024600
7/1/2009 64.15 54.45 7.1 361900 1660300 2022200
8/1/2009 71.05 60.57 7.3 373800 1641100 2014900
9/1/2009 69.41 59.52 6.8 357500 1668700 2026200
@JordynMarcellus
JordynMarcellus / ab-employment-oil.csv
Last active August 28, 2015 03:12
Module 2: CSVs and SVGs
1/1/2009 41.71 29.97 4.9 356800 1702700 2059500
2/1/2009 39.09 31.71 5.4 363400 1678800 2042200
3/1/2009 47.94 40.76 5.9 360200 1676600 2036800
4/1/2009 49.65 43.76 6.1 370500 1666300 2036800
5/1/2009 59.03 51.64 7 367100 1659200 2026300
6/1/2009 69.64 61.18 6.8 364600 1660000 2024600
7/1/2009 64.15 54.45 7.1 361900 1660300 2022200
8/1/2009 71.05 60.57 7.3 373800 1641100 2014900
9/1/2009 69.41 59.52 6.8 357500 1668700 2026200
@JordynMarcellus
JordynMarcellus / index.html
Last active September 4, 2015 00:49
Third week coursework!
<!DOCTYPE html>
<head>
<title>Alberta employment and oil prices in WTI and WCS</title>
</head>
<body>
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.6/d3.min.js" charset="utf-8"></script>
<script type="text/javascript">
var svg = d3.select("body")
@JordynMarcellus
JordynMarcellus / index.html
Last active September 4, 2015 00:52
third week coursework
<!DOCTYPE html>
<head>
<title>Alberta employment and oil prices in WTI and WCS</title>
</head>
<body>
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.6/d3.min.js" charset="utf-8"></script>
<script type="text/javascript">
var svg = d3.select("body")
@JordynMarcellus
JordynMarcellus / index.html
Created September 4, 2015 01:15
third week coursework
<!DOCTYPE html>
<head>
<title>Alberta employment and oil prices in WTI and WCS</title>
</head>
<body>
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.6/d3.min.js" charset="utf-8"></script>
<script type="text/javascript">
var svg = d3.select("body")
@JordynMarcellus
JordynMarcellus / index.html
Created September 11, 2015 01:42
~~~fourth week coursework~~~
<!DOCTYPE html>
<head>
<title>Alberta employment and oil prices in WTI and WCS</title>
<style>
rect {
fill: #8e44ad
}
rect:hover {
fill: #2ecc71
}
@JordynMarcellus
JordynMarcellus / alberta-unemp.csv
Created September 18, 2015 01:31
week five coursework
date wti_oil_price wcs_oil_price alberta_unemployment part_time_employment full_time_employment all_employment
1/1/2009 41.71 29.97 4.9 356800 1702700 2059500
2/1/2009 39.09 31.71 5.4 363400 1678800 2042200
3/1/2009 47.94 40.76 5.9 360200 1676600 2036800
4/1/2009 49.65 43.76 6.1 370500 1666300 2036800
5/1/2009 59.03 51.64 7 367100 1659200 2026300
6/1/2009 69.64 61.18 6.8 364600 1660000 2024600
7/1/2009 64.15 54.45 7.1 361900 1660300 2022200
8/1/2009 71.05 60.57 7.3 373800 1641100 2014900
9/1/2009 69.41 59.52 6.8 357500 1668700 2026200
@JordynMarcellus
JordynMarcellus / webpack.config.js
Created June 15, 2017 11:14
webpack config file for stylus and postcss
var webpack = require('webpack');
var ExtractTextPlugin = require('extract-text-webpack-plugin');
var UglifyJsPlugin = webpack.optimize.UglifyJsPlugin;
var plugins = [new ExtractTextPlugin('bundle.css')]; // set the output destination for the bundled css file
if (process.env.NODE_ENV === 'production') { // when set the env to 'production', the 'bundle.js' file will be minified
plugins.push(new UglifyJsPlugin({
minimize: true,
compress: {
@JordynMarcellus
JordynMarcellus / webpack.config.js
Created June 15, 2017 11:14
webpack config file for stylus and postcss
var webpack = require('webpack');
var ExtractTextPlugin = require('extract-text-webpack-plugin');
var UglifyJsPlugin = webpack.optimize.UglifyJsPlugin;
var plugins = [new ExtractTextPlugin('bundle.css')]; // set the output destination for the bundled css file
if (process.env.NODE_ENV === 'production') { // when set the env to 'production', the 'bundle.js' file will be minified
plugins.push(new UglifyJsPlugin({
minimize: true,
compress: {