-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·169 lines (134 loc) · 9.04 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width">
<link rel="icon" type="image/png" href="favicon.ico">
<style>
body {
padding-top: 60px;
padding-bottom: 40px;
}
</style>
<link href="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.1.1/css/bootstrap.no-responsive.no-icons.min.css" rel="stylesheet">
<!-- <link rel="stylesheet" href="/css/bootstrap.min.css"> -->
<link rel="stylesheet"
href="http://netdna.bootstrapcdn.com/font-awesome/2.0/css/font-awesome.css">
<link rel="stylesheet" href="libraries/frameworks/bootstrap/css/bootstrap-responsive.min.css">
<link rel="stylesheet" href="libraries/frameworks/bootstrap/css/main.css">
<link rel="stylesheet" href="libraries/highlighters/highlight.js/css/solarized_light.css" />
<script src="libraries/frameworks/bootstrap/js/vendor/modernizr-2.6.1-respond-1.1.0.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="libraries/frameworks/bootstrap/js/vendor/jquery-1.8.2.min.js"><\/script>')</script>
<link rel=stylesheet href="libraries/widgets/nvd3/css/nv.d3.css"></link>
<link rel=stylesheet href="libraries/widgets/nvd3/css/rNVD3.css"></link>
<link rel=stylesheet href="libraries/widgets/morris/css/morris.css"></link>
<link rel=stylesheet href="./assets/css/app.css"></link>
<link rel=stylesheet href="./assets/css/gh-buttons.css"></link>
<link rel=stylesheet href="./assets/css/ribbons.css"></link>
<script src="libraries/widgets/nvd3/js/jquery-1.8.2.min.js"></script>
<script src="libraries/widgets/nvd3/js/d3.v3.min.js"></script>
<script src="libraries/widgets/nvd3/js/nv.d3.min-new.js"></script>
<script src="libraries/widgets/nvd3/js/fisheye.js"></script>
<script src="libraries/widgets/morris/js/raphael-2.1.0.min.js"></script>
<script src="libraries/widgets/morris/js/morris.min.js"></script>
<script src="libraries/widgets/highcharts/js/jquery-1.9.1.min.js"></script>
<script src="libraries/widgets/highcharts/js/highcharts.js"></script>
<script src="libraries/widgets/highcharts/js/highcharts-more.js"></script>
<script src="libraries/widgets/highcharts/js/exporting.js"></script>
</head>
<body>
<!--[if lt IE 7]>
<p class="chromeframe">You are using an outdated browser.
<a href="http://browsehappy.com/">Upgrade your browser today</a> or
<a href="http://www.google.com/chromeframe/?redirect=true">
install Google Chrome Frame
</a> to better experience this site.
</p>
<![endif]-->
<!-- Ref: http://twitter.github.com/bootstrap/examples/hero.html -->
<div class="container">
<p><p style="border:3px; padding: 1em;"></p>
<h2>Notes on Thomas Piketty's Capital</h2>
<p><br></p>
<h3>by Patrick Toche, 2015</h3>
<p><br></p>
<p>This page contains material related to <b>Thomas Piketty</b>, <u>Capital in the 21st Century</u> (Harvard University Press, 2014). </p>
<p>The html slides may be viewed here: <strong><a href="http://ptoche.github.io/">http://ptoche.github.io/</a></strong></p>
<p>The whole project may be downloaded from: <strong><a href="https://github.com/ptoche/piketty">https://github.com/ptoche/piketty</a></strong></p>
<p>The project contains html5 slides with text and figures (directory named 'slidify') and basic pdf slides with figures only (directory named 'knitr'). Figures are available in pdf, png, and html format. </p>
<p>The project is <i>Open Source</i>. </p>
<p>This project was started in January 2015 and completed in May 2015. </p>
<h3>Content</h3>
<p><br><a href="lectures/Chapter%2000/index.html">Chapter 00: Introduction</a>
<br><a href="lectures/Chapter%2001/index.html">Chapter 01: Income and Output</a>
<br><a href="lectures/Chapter%2002/index.html">Chapter 02: Growth: Illusions and Realities</a>
<br><a href="lectures/Chapter%2003/index.html">Chapter 03: The Metamorphoses of Capital</a>
<br><a href="lectures/Chapter%2004/index.html">Chapter 04: From Old Europe to the New World</a>
<br><a href="lectures/Chapter%2005/index.html">Chapter 05: The Capital/Income Ratio Over the Long Run</a>
<br><a href="lectures/Chapter%2006/index.html">Chapter 06: The Capital-Labor Split in the Twenty-First Century</a>
<br><a href="lectures/Chapter%2007/index.html">Chapter 07: Inequality and Concentration: Preliminary Bearings</a>
<br><a href="lectures/Chapter%2008/index.html">Chapter 08: Two Worlds</a>
<br><a href="lectures/Chapter%2009/index.html">Chapter 09: Inequality of Labor Income</a>
<br><a href="lectures/Chapter%2010/index.html">Chapter 10: Inequality of Capital Ownership</a>
<br><a href="lectures/Chapter%2011/index.html">Chapter 11: Merit and Inheritance in the Long Run</a>
<br><a href="lectures/Chapter%2012/index.html">Chapter 12: Global Inequality of Wealth in the Twenty-First Century</a>
<br><a href="lectures/Chapter%2013/index.html">Chapter 13: A Social State for the Twenty-First Century</a>
<br><a href="lectures/Chapter%2014/index.html">Chapter 14: Rethinking the Progressive Income Tax</a>
<br><a href="lectures/Chapter%2015/index.html">Chapter 15: A Global Tax on Capital</a>
<br><a href="lectures/Chapter%2016/index.html">Chapter 16: The Question of the Public Debt</a></p>
<h3>Test Your Knowledge</h3>
<ol>
<li><a href="exercises/index.html">Exercises</a><br></li>
<li><a href="tests/index.html">Quizzes</a></li>
</ol>
<h3>Reproduce the Slides</h3>
<p>This website is based on the slidify framework (author: Ramnath Vaidyanathan). The source files are hosted on github and you may download the whole project as a zip file or fork it to a github repository in your account. To compile this website from source, configure the <code>site.yml</code> and run <code>slidify('index.Rmd')</code>. </p>
<p>You will need the <code>slidify</code>, <code>slidifyLibraries</code> and <code>rCharts</code>, packages.</p>
<pre><code>install.packages("devtools")
devtools::install_github(c("slidify", "slidifyLibraries", "rCharts"),
"ramnathv", ref = "dev")
</code></pre>
<p>In addition, I often use the following packages: <code>ggplot2</code>, <code>scales</code>, <code>reshape2</code>, <code>plyr</code> (author: Hadley Wickham). I am also using packages <code>grid</code> and <code>png</code> to insert images and control their size. See the source code for a full list of packages used. Make sure these packages are installed in your <code>R</code> system, e.g. run this for each package:</p>
<pre><code>install.packages("ggplot2")
</code></pre>
<p>Write a short slide deck and publish it to <a href="http://www.github.com">Github</a> with a few clicks using <a href="http://www.rstudio.com">RStudio</a>, with a single line of code?
<a class="btn" href="start.html">Learn More »</a></p>
<h3>Layout of the Repository</h3>
<p>The <code>lectures</code> folder holds the lecture slides, one subfolder per lecture. The site's architecture looks like this:</p>
<pre><code>assets -> custom img/js/css/layout assets
data -> Piketty's data used for the tables and figures
figures -> png figures built with ggplot2 library
images -> other images used to illustrate the slides
lectures -> folder containing lectures
Chapter 01
Chapter 02
Chapter 03, etc.
libraries -> frameworks, highlighters and widgets
shared -> custom setup across all lectures, e.g. knitr chunks
tables -> png tables copied from the book
tests -> short questions to test students of the book
index.Rmd -> Rmd source for home page
site.yml -> Site related configuration
slidify.R -> Several useful commands to compile the files
</code></pre>
<p>Occasional updates have been made since May 2015.</p>
<p>A related project is available here <a href="https://github.com/jtleek/capitalIn21stCenturyinR">https://github.com/jtleek/capitalIn21stCenturyinR</a>.</p>
<p></p></p>
</div>
</body>
<script src="libraries/frameworks/bootstrap/js/vendor/bootstrap.min.js"></script>
<script src="libraries/frameworks/bootstrap/js/plugins.js"></script>
<script src="libraries/frameworks/bootstrap/js/main.js"></script>
<!-- Load Javascripts for Widgets -->
<!-- LOAD HIGHLIGHTER JS FILES -->
<script src="libraries/highlighters/highlight.js/highlight.pack.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
<!-- DONE LOADING HIGHLIGHTER JS FILES -->
</html>