-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
88 lines (73 loc) · 10.5 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
<!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>Lebanon Factbook</title>
<meta name="author" content="Derek Eder">
<meta content="Factbook about the response in Lebanon" />
<!-- Bootstrap core CSS -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/dataTables.bootstrap.css" rel="stylesheet">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container-fluid">
<br>
<img src="images\Interagency_logo.png" width="15%" ALIGN="right"/>
<h1><b>Lebanon | Factbook</b></h1>
<h4>Facts and figures about the Syria Refugee Response in Lebanon</h4>
<h5>Visit the <a href="http://data.unhcr.org/lebanon">Lebanon Information Hub</a> for more information</h5>
<h5>Contact <a href="mailto:[email protected]?Subject=Factbook%20submission" target="_top">[email protected]</a> to contribute facts</h5>
<div id="table-container"><div id="table-container-table_wrapper" class="dataTables_wrapper form-inline dt-bootstrap no-footer"><div class="row"><div class="col-sm-6"><div class="dataTables_length" id="table-container-table_length"><label>Show <select name="table-container-table_length" aria-controls="table-container-table" class="form-control input-sm"><option value="10">10</option><option value="25">25</option><option value="50">50</option><option value="100">100</option></select> entries</label></div></div><div class="col-sm-6"><div id="table-container-table_filter" class="dataTables_filter"><label>Search:<input type="search" class="form-control input-sm" placeholder="" aria-controls="table-container-table"></label></div></div></div><div class="row"><div class="col-sm-12"><table class="table table-striped table-condensed table-hover dataTable no-footer" id="table-container-table" role="grid" aria-describedby="table-container-table_info"><thead><tr role="row"><th class="sorting_asc" tabindex="0" aria-controls="table-container-table" rowspan="1" colspan="1" aria-sort="ascending" aria-label="SECTOR: activate to sort column descending" style="width: 79px;">SECTOR</th><th class="sorting" tabindex="0" aria-controls="table-container-table" rowspan="1" colspan="1" aria-label="DATE: activate to sort column ascending" style="width: 55px;">DATE</th><th class="sorting" tabindex="0" aria-controls="table-container-table" rowspan="1" colspan="1" aria-label="FACT: activate to sort column ascending" style="width: 122px;">FACT</th><th class="sorting" tabindex="0" aria-controls="table-container-table" rowspan="1" colspan="1" aria-label="Value reached: activate to sort column ascending" style="width: 82px;">Value reached</th><th class="sorting" tabindex="0" aria-controls="table-container-table" rowspan="1" colspan="1" aria-label=" Location: activate to sort column ascending" style="width: 58px;"> Location</th><th class="sorting" tabindex="0" aria-controls="table-container-table" rowspan="1" colspan="1" aria-label="SOURCE: activate to sort column ascending" style="width: 138px;">SOURCE</th><th class="sorting" tabindex="0" aria-controls="table-container-table" rowspan="1" colspan="1" aria-label="TAGS: activate to sort column ascending" style="width: 116px;">TAGS</th><th class="sorting" tabindex="0" aria-controls="table-container-table" rowspan="1" colspan="1" aria-label="Link: activate to sort column ascending" style="width: 1850px;">Link</th></tr></thead><tbody><tr role="row" class="odd"><td class="sorting_1">Basic Assistance</td><td>2016</td><td>Median debt among Syrian refugees in Lebanon</td><td>$600 </td><td><a href="National" target="_blank">National</a></td><td>VASYR 2016</td><td>Debt; borrowing</td><td>http://data.unhcr.org/syrianrefugees/download.php?id=12482</td></tr><tr role="row" class="even"><td class="sorting_1">Basic Assistance</td><td>2015</td><td>Median debt among Syrian refugees in Lebanon</td><td>$500 </td><td><a href="National" target="_blank">National</a></td><td>VASYR 2015</td><td>Debt; borrowing</td><td>http://data.unhcr.org/syrianrefugees/download.php?id=10006</td></tr><tr role="row" class="odd"><td class="sorting_1">Basic Assistance</td><td>2016</td><td>Syrian Refugee Households living below survival minimum expenditure basket (SMEB)</td><td>53%</td><td><a href="National" target="_blank">National</a></td><td>VASYR 2016</td><td>Economic Vulnerability, Expenditure, poverty line</td><td>http://data.unhcr.org/syrianrefugees/download.php?id=12482</td></tr><tr role="row" class="even"><td class="sorting_1">Basic Assistance</td><td>2016</td><td>Syrian Refugee Households living below minimum expenditure basket (MEB)</td><td>71%</td><td><a href="National" target="_blank">National</a></td><td>VASYR 2016</td><td>Economic Vulnerability, Expenditure, poverty line</td><td>http://data.unhcr.org/syrianrefugees/download.php?id=12482</td></tr><tr role="row" class="odd"><td class="sorting_1">Basic Assistance</td><td>2015</td><td>Syrian Refugee Households living below survival minimum expenditure basket (SMEB)</td><td>52%</td><td><a href="National" target="_blank">National</a></td><td>VASYR 2015</td><td>Economic Vulnerability, Expenditure, poverty line</td><td>http://data.unhcr.org/syrianrefugees/download.php?id=10006</td></tr><tr role="row" class="even"><td class="sorting_1">Basic Assistance</td><td>2015</td><td>Syrian Refugee Households living below minimum expenditure basket (MEB)</td><td>69%</td><td><a href="National" target="_blank">National</a></td><td>VASYR 2015</td><td>Economic Vulnerability, Expenditure, poverty line</td><td>http://data.unhcr.org/syrianrefugees/download.php?id=10006</td></tr><tr role="row" class="odd"><td class="sorting_1">Basic Assistance</td><td>2016</td><td>Average (Mean) Debt Mean of Syrian Refugee Households in USD</td><td>$857 </td><td><a href="National" target="_blank">National</a></td><td>VASYR 2016</td><td>Debt</td><td>http://data.unhcr.org/syrianrefugees/download.php?id=12482</td></tr><tr role="row" class="even"><td class="sorting_1">Basic Assistance</td><td>2015</td><td>Average (Mean) Debt Mean of Syrian Refugee Households in USD</td><td>$842 </td><td><a href="National" target="_blank">National</a></td><td>VASYR 2015</td><td>Debt</td><td>http://data.unhcr.org/syrianrefugees/download.php?id=10006</td></tr><tr role="row" class="odd"><td class="sorting_1">Basic Assistance</td><td>2016</td><td>Percentage refugee households borrowed money in last 3 months</td><td>90%</td><td><a href="National" target="_blank">National</a></td><td>VASYR 2016</td><td>Debt</td><td>http://data.unhcr.org/syrianrefugees/download.php?id=12482</td></tr><tr role="row" class="even"><td class="sorting_1">Basic Assistance</td><td>2016</td><td>Mean Per capita expenditures </td><td>$104 </td><td><a href="National" target="_blank">National</a></td><td>VASYR 2016</td><td>Expenditure per capita</td><td>http://data.unhcr.org/syrianrefugees/download.php?id=12482</td></tr></tbody></table></div></div><div class="row"><div class="col-sm-5"><div class="dataTables_info" id="table-container-table_info" role="status" aria-live="polite">Showing 1 to 10 of 989 entries</div></div><div class="col-sm-7"><div class="dataTables_paginate paging_simple_numbers" id="table-container-table_paginate"><ul class="pagination"><li class="paginate_button previous disabled" aria-controls="table-container-table" tabindex="0" id="table-container-table_previous"><a href="#">Previous</a></li><li class="paginate_button active" aria-controls="table-container-table" tabindex="0"><a href="#">1</a></li><li class="paginate_button " aria-controls="table-container-table" tabindex="0"><a href="#">2</a></li><li class="paginate_button " aria-controls="table-container-table" tabindex="0"><a href="#">3</a></li><li class="paginate_button " aria-controls="table-container-table" tabindex="0"><a href="#">4</a></li><li class="paginate_button " aria-controls="table-container-table" tabindex="0"><a href="#">5</a></li><li class="paginate_button disabled" aria-controls="table-container-table" tabindex="0" id="table-container-table_ellipsis"><a href="#">…</a></li><li class="paginate_button " aria-controls="table-container-table" tabindex="0"><a href="#">99</a></li><li class="paginate_button next" aria-controls="table-container-table" tabindex="0" id="table-container-table_next"><a href="#">Next</a></li></ul></div></div></div></div><p><a class="btn btn-info" href="data/Factbook.csv"><i class="glyphicon glyphicon-download"></i> Download as CSV</a></p></div>
<footer class="footer">
<div class="container-fluid">
<hr>
</div>
</footer>
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/jquery.csv.min.js"></script>
<script src="js/jquery.dataTables.min.js"></script>
<script src="js/dataTables.bootstrap.js"></script>
<script src='js/csv_to_html_table.js'></script>
<script>
function format_link(link){
if (link)
return "<a href='" + link + "' target='_blank'>link</a>";
else
return "";
}
CsvToHtmlTable.init({
csv_path: 'https://docs.google.com/spreadsheets/d/e/2PACX-1vTXaR75pTJJBtvIbQX4gQRTIEbuH75SwjjYpyJ7QQfw8h0lqz7nn6sI_-xBEHaMNBriKCP_nW7ntJsr/pub?output=csv',
// The above is getting the CSV from a good spreadsheet. Replace by data/Factbook.csv to read from the CSV file in directory data
element: 'table-container',
allow_download: true,
csv_options: {separator: ',', delimiter: '"'},
datatables_options: {"columnDefs": [ // hide TimeStamp Column
{
"targets": [ 8 ],
"visible": false
} ]
} ,
custom_formatting: [[7, format_link]]
});
</script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-87729891-1', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>