Skip to content

Commit

Permalink
Add html files
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Deschamps committed May 7, 2017
1 parent ff7d87d commit 296751d
Show file tree
Hide file tree
Showing 309 changed files with 46,745 additions and 19 deletions.
46 changes: 27 additions & 19 deletions descriptor/create_graphs_in_R.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": 1,
"metadata": {
"collapsed": true
},
Expand All @@ -46,7 +46,7 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": 2,
"metadata": {
"collapsed": true
},
Expand All @@ -73,18 +73,16 @@
},
{
"cell_type": "code",
"execution_count": 12,
"execution_count": 3,
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"Warning message in (function (..., deparse.level = 1) :\n",
"“number of columns of result is not a multiple of vector length (arg 1)”Warning message:\n",
"“closing unused connection 4 (/data/links/ALBERTA_humanities_computing-links.txt)”Warning message in (function (..., deparse.level = 1) :\n",
"“number of columns of result is not a multiple of vector length (arg 1)”Warning message:\n",
"“closing unused connection 5 (/data/links/ALBERTA_lfrancophonie_de_louest_canadien-links.txt)”"
"Warning message:\n",
"“closing unused connection 4 (/data/links/ALBERTA_ottawa_shooting_october_2014-links.txt)”Warning message in (function (..., deparse.level = 1) :\n",
"“number of columns of result is not a multiple of vector length (arg 1)”"
]
}
],
Expand All @@ -93,12 +91,13 @@
"# Grab the data files\n",
"filepath = '/data/links/'\n",
"\n",
"\n",
"# Change the following file to the \n",
"file = 'ALBERTA_humanities_computing'\n",
"file = 'ALBERTA_ottawa_shooting_october_2014'\n",
"# ^^^^^^^^^^^^^^^^^^^^^^^^^^ <- Change to the file name you want. Leave out \"-links.txt\"\n",
"\n",
"suffix = '-links.txt'\n",
"file2 = 'ALBERTA_lfrancophonie_de_louest_canadien'\n",
"file2 = 'ALBERTA_prairie_provinces'\n",
"# ^^^^^^^^^^^^^^^^^^^^^^^^^^ <- Change to the file name you want. Leave out \"-links.txt\"\n",
"\n",
"\n",
Expand Down Expand Up @@ -141,16 +140,24 @@
"execution_count": null,
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"Warning message:\n",
"“closing unused connection 5 (/data/links/ALBERTA_prairie_provinces-links.txt)”"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"[1] \"Average In-degree: 1.04456476468138\"\n",
"[1] \"Average Out-degree: 1.04456476468138\"\n",
"[1] \"Average Degree: 2.08912952936277\"\n",
"[1] \"Average In-degree: 1.53545088836742\"\n",
"[1] \"Average Out-degree: 1.53545088836742\"\n",
"[1] \"Average Degree: 3.07090177673483\"\n"
"[1] \"Average In-degree: 1.63265306122449\"\n",
"[1] \"Average Out-degree: 1.63265306122449\"\n",
"[1] \"Average Degree: 3.26530612244898\"\n",
"[1] \"Average In-degree: 1.49132964544699\"\n",
"[1] \"Average Out-degree: 1.49132964544699\"\n",
"[1] \"Average Degree: 2.98265929089398\"\n"
]
}
],
Expand Down Expand Up @@ -264,7 +271,7 @@
},
{
"cell_type": "code",
"execution_count": 7,
"execution_count": 14,
"metadata": {
"scrolled": true
},
Expand All @@ -274,6 +281,7 @@
"output_type": "stream",
"text": [
"Warning message in vattrs[[name]][index] <- value:\n",
"“number of items to replace is not a multiple of replacement length”Warning message in vattrs[[name]][index] <- value:\n",
"“number of items to replace is not a multiple of replacement length”"
]
}
Expand Down Expand Up @@ -331,7 +339,7 @@
},
{
"cell_type": "code",
"execution_count": 8,
"execution_count": 15,
"metadata": {
"collapsed": true
},
Expand Down Expand Up @@ -362,7 +370,7 @@
},
{
"cell_type": "code",
"execution_count": 9,
"execution_count": 16,
"metadata": {
"collapsed": true
},
Expand Down
19 changes: 19 additions & 0 deletions descriptor/data/html/ALBERTA_alberta_education_curriculum.html

Large diffs are not rendered by default.

Loading

0 comments on commit 296751d

Please sign in to comment.