-
Notifications
You must be signed in to change notification settings - Fork 0
/
data-packages.html
116 lines (112 loc) · 6.3 KB
/
data-packages.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Data packages - SDG data build documentation</title>
<script defer src="https://use.fontawesome.com/releases/v5.15.1/js/all.js"></script>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/open-sdg/open-sdg-table@0.4.0/open-sdg-table.min.css">
<style>
.btn-primary {
background-color: #00703c;
padding: 8px 10px 7px;
border: 2px solid transparent;
border-radius: 0;
color: #fff;
box-shadow: 0 2px 0 #002d18;
text-decoration: none;
}
.btn-primary:visited {
color: #fff;
}
.btn-primary:hover, .btn-primary:not(:disabled):not(.disabled):active {
background-color: #005a30;
text-decoration: none;
border: 2px solid transparent;
}
.btn-primary:focus:not(:active):not(:hover) {
border-color: #fd0;
color: #0b0c0c;
background-color: #fd0;
box-shadow: 0 2px 0 #0b0c0c;
}
a {
color: #1D70B8;
text-decoration: underline;
}
a:hover {
color: #003078;
}
a:visited {
color: #4c2c92;
}
.download-info {
margin-left: 12px;
}
.table-striped tbody tr:nth-of-type(2n+1) {
background-color: #f3f2f1;
}
#skiplink {
position: absolute;
top: 0;
left: 50%;
z-index: 10000;
width: 250px;
margin-left: -125px;
padding: 10px;
background: white;
text-align: center;
border: 1px solid #0b0c0c;
color: #0b0c0c;
display: block;
}
.sr-only-focusable:not(:focus):not(:focus-within) {
position: absolute !important;
width: 1px !important;
height: 1px !important;
padding: 0 !important;
margin: -1px !important;
overflow: hidden !important;
clip: rect(0, 0, 0, 0) !important;
white-space: nowrap !important;
border: 0 !important;
}
</style>
</head>
<body>
<a class="sr-only-focusable" id="skiplink" href="#main-content" tabindex="0">Skip to main content</a>
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<div class="container">
<a class="navbar-brand" href="index.html">SDG data build documentation</a>
</div>
</nav>
<main id="main-content" role="main">
<div class="container">
<h1 style="margin:20px 0">Data packages</h1>
<div>
<p>This output produces <a href="https://specs.frictionlessdata.io/data-package/">
data packages</a> for each indicator. Examples are below:<p><ul><li>5-a-1:<ul><li><a href="en/data-packages/5-a-1/datapackage.json">en/data-packages/5-a-1/datapackage.json</a></li><li><a href="en/data-packages/5-a-1/data.csv">en/data-packages/5-a-1/data.csv</a></li></ul></li><li>8-3-1:<ul><li><a href="en/data-packages/8-3-1/datapackage.json">en/data-packages/8-3-1/datapackage.json</a></li><li><a href="en/data-packages/8-3-1/data.csv">en/data-packages/8-3-1/data.csv</a></li></ul></li><li>All indicators: <a href="en/data-packages/all.json">en/data-packages/all.json</a></li><li>5-a-1:<ul><li><a href="is/data-packages/5-a-1/datapackage.json">is/data-packages/5-a-1/datapackage.json</a></li><li><a href="is/data-packages/5-a-1/data.csv">is/data-packages/5-a-1/data.csv</a></li></ul></li><li>8-3-1:<ul><li><a href="is/data-packages/8-3-1/datapackage.json">is/data-packages/8-3-1/datapackage.json</a></li><li><a href="is/data-packages/8-3-1/data.csv">is/data-packages/8-3-1/data.csv</a></li></ul></li><li>All indicators: <a href="is/data-packages/all.json">is/data-packages/all.json</a></li><li>etc...</li></ul>
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
<script src="https://cdn.datatables.net/1.10.23/js/jquery.dataTables.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/open-sdg/open-sdg-table@0.4.0/open-sdg-table.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous"></script>
<script>
if (typeof sdgBuild !== 'undefined' && sdgBuild.tables) {
var tableIds = Object.keys(sdgBuild.tables);
for (var i = 0; i < tableIds.length; i++) {
var tableId = tableIds[i];
$('#' + tableId).openSdgTable(sdgBuild.tables[tableId]).find('td').each(function() {
if (!isNaN($(this).text())) {
$(this).css('text-align', 'right');
}
})
}
}
</script>
</html>