Skip to content

Commit

Permalink
Update datasets table in gallery
Browse files Browse the repository at this point in the history
Close #5
  • Loading branch information
larnsce committed Aug 3, 2023
1 parent 00f9200 commit 165e6af
Show file tree
Hide file tree
Showing 7 changed files with 376 additions and 9 deletions.
4 changes: 2 additions & 2 deletions _freeze/pages/gallery/data/index/execute-results/html.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"hash": "b4ac290b96731cfe879ad2ccd17ff855",
"hash": "5e6240f4b7b5581f4b1413ec87bb9381",
"result": {
"markdown": "---\npagetitle: \"Data\"\ndescription: |\n A table of datasets that have been published through the openwashdata \n community or are currently in development. \neditor_options: \n chunk_output_type: console\nexecute: \n echo: false\n warning: false\n---\n\n\n## Data\n\nThe table on this pages shows data that is published following our R data package workflow. Each data set comes with its own website and rich documentation to increase reusability. \n\n\n::: {.cell}\n\n:::\n\n::: {.cell}\n::: {.cell-output-display}\n| id|name |status |description |published |website |\n|--:|:---------|:-----------|:---------------------------------------------------------------------------------|:---------|:-------------------------------------------|\n| 1|[fsmglobal](<https://github.com/openwashdata/fsmglobal>)|published |Populations of 175 countries requiring different faecal sludge emptying services. |NA |<https://openwashdata.github.io/fsmglobal/> |\n| 2|[NA](NA) |in-progress |NA |NA |NA |\n| 3|[NA](NA) |backlog |NA |NA |NA |\n:::\n:::\n",
"markdown": "---\npagetitle: \"Data\"\ndescription: |\n A table of datasets that have been published through the openwashdata \n community or are currently in development. \neditor_options: \n chunk_output_type: console\nexecute: \n echo: false\n warning: false\n---\n\n::: {.cell}\n\n:::\n\n\n\n## Data\n\nThe table on this pages shows data that is published following our R data package workflow. Each data set comes with its own website and rich documentation to increase reusability. \n\n\n::: {.cell}\n\n:::\n\n\n:::{.column-page}\n\n::: {.cell}\n::: {.cell-output-display}\n| id|name |status |description |published |website |\n|--:|:----------------------|:----------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:--------------|:---------------------------------------------------|\n| 1|wasteskipsblantyre |published |Data on locations of the publicly accessible waste skips in Blantyre, Malawi collected in 2021. |02. August 2023|<https://openwashdata.github.io/wasteskipsblantyre/>|\n| 2|fsmglobal |published |Populations of 175 countries requiring different faecal sludge emptying services. |02. August 2023|<https://openwashdata.github.io/fsmglobal/> |\n| 3|cbssuitabilityhaiti |[in-progress](<https://github.com/openwashdata/cbssuitabilityhaiti>)|Spatial data to support an analysis of suitability of container-based sanitation in flood prone areas of Haiti. | | |\n| 4|dryingfaecal |[in-progress](<https://github.com/openwashdata/dryingfaecal>)|Engineering experiments related to drying of faecal sludge from on-site sanitation facilities and fresh faeces. | | |\n| 5|climatevulnerabilitykhm|[in-progress](<https://github.com/openwashdata/climatevulnerabilitykhm>)|Data on Effects of Climate Vulnerability on Sanitation Access, Sanitation Infrastructure Functionality and Households’ Fecal Sludge Management Practices in Rural Cambodia.| | |\n:::\n:::\n\n\n:::\n\n\n\n",
"supporting": [],
"filters": [
"rmarkdown/pagebreak.lua"
Expand Down
8 changes: 8 additions & 0 deletions _freeze/site_libs/kePrint-0.0.1/kePrint.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
$(document).ready(function(){
if (typeof $('[data-toggle="tooltip"]').tooltip === 'function') {
$('[data-toggle="tooltip"]').tooltip();
}
if ($('[data-toggle="popover"]').popover === 'function') {
$('[data-toggle="popover"]').popover();
}
});
272 changes: 272 additions & 0 deletions _freeze/site_libs/lightable-0.0.1/lightable.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,272 @@
/*!
* lightable v0.0.1
* Copyright 2020 Hao Zhu
* Licensed under MIT (https://github.com/haozhu233/kableExtra/blob/master/LICENSE)
*/

.lightable-minimal {
border-collapse: separate;
border-spacing: 16px 1px;
width: 100%;
margin-bottom: 10px;
}

.lightable-minimal td {
margin-left: 5px;
margin-right: 5px;
}

.lightable-minimal th {
margin-left: 5px;
margin-right: 5px;
}

.lightable-minimal thead tr:last-child th {
border-bottom: 2px solid #00000050;
empty-cells: hide;

}

.lightable-minimal tbody tr:first-child td {
padding-top: 0.5em;
}

.lightable-minimal.lightable-hover tbody tr:hover {
background-color: #f5f5f5;
}

.lightable-minimal.lightable-striped tbody tr:nth-child(even) {
background-color: #f5f5f5;
}

.lightable-classic {
border-top: 0.16em solid #111111;
border-bottom: 0.16em solid #111111;
width: 100%;
margin-bottom: 10px;
margin: 10px 5px;
}

.lightable-classic tfoot tr td {
border: 0;
}

.lightable-classic tfoot tr:first-child td {
border-top: 0.14em solid #111111;
}

.lightable-classic caption {
color: #222222;
}

.lightable-classic td {
padding-left: 5px;
padding-right: 5px;
color: #222222;
}

.lightable-classic th {
padding-left: 5px;
padding-right: 5px;
font-weight: normal;
color: #222222;
}

.lightable-classic thead tr:last-child th {
border-bottom: 0.10em solid #111111;
}

.lightable-classic.lightable-hover tbody tr:hover {
background-color: #F9EEC1;
}

.lightable-classic.lightable-striped tbody tr:nth-child(even) {
background-color: #f5f5f5;
}

.lightable-classic-2 {
border-top: 3px double #111111;
border-bottom: 3px double #111111;
width: 100%;
margin-bottom: 10px;
}

.lightable-classic-2 tfoot tr td {
border: 0;
}

.lightable-classic-2 tfoot tr:first-child td {
border-top: 3px double #111111;
}

.lightable-classic-2 caption {
color: #222222;
}

.lightable-classic-2 td {
padding-left: 5px;
padding-right: 5px;
color: #222222;
}

.lightable-classic-2 th {
padding-left: 5px;
padding-right: 5px;
font-weight: normal;
color: #222222;
}

.lightable-classic-2 tbody tr:last-child td {
border-bottom: 3px double #111111;
}

.lightable-classic-2 thead tr:last-child th {
border-bottom: 1px solid #111111;
}

.lightable-classic-2.lightable-hover tbody tr:hover {
background-color: #F9EEC1;
}

.lightable-classic-2.lightable-striped tbody tr:nth-child(even) {
background-color: #f5f5f5;
}

.lightable-material {
min-width: 100%;
white-space: nowrap;
table-layout: fixed;
font-family: Roboto, sans-serif;
border: 1px solid #EEE;
border-collapse: collapse;
margin-bottom: 10px;
}

.lightable-material tfoot tr td {
border: 0;
}

.lightable-material tfoot tr:first-child td {
border-top: 1px solid #EEE;
}

.lightable-material th {
height: 56px;
padding-left: 16px;
padding-right: 16px;
}

.lightable-material td {
height: 52px;
padding-left: 16px;
padding-right: 16px;
border-top: 1px solid #eeeeee;
}

.lightable-material.lightable-hover tbody tr:hover {
background-color: #f5f5f5;
}

.lightable-material.lightable-striped tbody tr:nth-child(even) {
background-color: #f5f5f5;
}

.lightable-material.lightable-striped tbody td {
border: 0;
}

.lightable-material.lightable-striped thead tr:last-child th {
border-bottom: 1px solid #ddd;
}

.lightable-material-dark {
min-width: 100%;
white-space: nowrap;
table-layout: fixed;
font-family: Roboto, sans-serif;
border: 1px solid #FFFFFF12;
border-collapse: collapse;
margin-bottom: 10px;
background-color: #363640;
}

.lightable-material-dark tfoot tr td {
border: 0;
}

.lightable-material-dark tfoot tr:first-child td {
border-top: 1px solid #FFFFFF12;
}

.lightable-material-dark th {
height: 56px;
padding-left: 16px;
padding-right: 16px;
color: #FFFFFF60;
}

.lightable-material-dark td {
height: 52px;
padding-left: 16px;
padding-right: 16px;
color: #FFFFFF;
border-top: 1px solid #FFFFFF12;
}

.lightable-material-dark.lightable-hover tbody tr:hover {
background-color: #FFFFFF12;
}

.lightable-material-dark.lightable-striped tbody tr:nth-child(even) {
background-color: #FFFFFF12;
}

.lightable-material-dark.lightable-striped tbody td {
border: 0;
}

.lightable-material-dark.lightable-striped thead tr:last-child th {
border-bottom: 1px solid #FFFFFF12;
}

.lightable-paper {
width: 100%;
margin-bottom: 10px;
color: #444;
}

.lightable-paper tfoot tr td {
border: 0;
}

.lightable-paper tfoot tr:first-child td {
border-top: 1px solid #00000020;
}

.lightable-paper thead tr:last-child th {
color: #666;
vertical-align: bottom;
border-bottom: 1px solid #00000020;
line-height: 1.15em;
padding: 10px 5px;
}

.lightable-paper td {
vertical-align: middle;
border-bottom: 1px solid #00000010;
line-height: 1.15em;
padding: 7px 5px;
}

.lightable-paper.lightable-hover tbody tr:hover {
background-color: #F9EEC1;
}

.lightable-paper.lightable-striped tbody tr:nth-child(even) {
background-color: #00000008;
}

.lightable-paper.lightable-striped tbody td {
border: 0;
}

42 changes: 42 additions & 0 deletions _freeze/site_libs/tabwid-1.1.3/tabwid.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
.tabwid {
font-size: initial;
padding-bottom: 1em;
}

.tabwid table{
border-spacing:0px !important;
border-collapse:collapse;
line-height:1;
margin-left:auto;
margin-right:auto;
border-width: 0;
border-color: transparent;
caption-side: top;
}
.tabwid-caption-bottom table{
caption-side: bottom;
}
.tabwid_left table{
margin-left:0;
}
.tabwid_right table{
margin-right:0;
}
.tabwid td, .tabwid th {
padding: 0;
}
.tabwid a {
text-decoration: none;
}
.tabwid thead {
background-color: transparent;
}
.tabwid tfoot {
background-color: transparent;
}
.tabwid table tr {
background-color: transparent;
}
.katex-display {
margin: 0 0 !important;
}
20 changes: 20 additions & 0 deletions _freeze/site_libs/tabwid-1.1.3/tabwid.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
document.addEventListener("DOMContentLoaded", function(event) {
var els = document.querySelectorAll(".tabwid");
var tabwid_link = document.querySelector('link[href*="tabwid.css"]')
if (tabwid_link === null) {
const tabwid_styles = document.evaluate("//style[contains(., 'tabwid')]", document, null, XPathResult.ANY_TYPE, null );
tabwid_link = tabwid_styles.iterateNext();
}

Array.prototype.forEach.call(els, function(template) {
const dest = document.createElement("div");
template.parentNode.insertBefore(dest, template.nextSibling)
dest.setAttribute("class", "flextable-shadow-host");
const fantome = dest.attachShadow({mode: 'open'});
fantome.appendChild(template);
if (tabwid_link !== null) {
fantome.appendChild(tabwid_link.cloneNode(true));
}
});
});

8 changes: 5 additions & 3 deletions pages/gallery/data/data_data/tbl-01-openwashdata-datasets.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
id,pkg_name,maintainer,source,difficulty,status,description,date_published,link_github,link_pkg_website
1,fsmglobal,larnsce,academic,low,published,Populations of 175 countries requiring different faecal sludge emptying services.,NA,<https://github.com/openwashdata/fsmglobal>,<https://openwashdata.github.io/fsmglobal/>
2,NA,NA,NA,NA,in-progress,NA,NA,NA,NA
3,NA,NA,NA,NA,backlog,NA,NA,NA,NA
1,wasteskipsblantyre,sebastian-loos,academic,low,published,"Data on locations of the publicly accessible waste skips in Blantyre, Malawi collected in 2021.",2023-08-02T00:00:00Z,<https://github.com/openwashdata/cbssuitabilityhaiti>,<https://openwashdata.github.io/wasteskipsblantyre/>
2,fsmglobal,larnsce,academic,low,published,Populations of 175 countries requiring different faecal sludge emptying services.,2023-08-02T00:00:00Z,<https://github.com/openwashdata/fsmglobal>,<https://openwashdata.github.io/fsmglobal/>
3,cbssuitabilityhaiti,sebastian-loos,ngo,low,in-progress,Spatial data to support an analysis of suitability of container-based sanitation in flood prone areas of Haiti.,NA,<https://github.com/openwashdata/cbssuitabilityhaiti>,https://openwashdata.github.io/cbssuitabilityhaiti/
4,dryingfaecal,mianzg,academic,high,in-progress,Engineering experiments related to drying of faecal sludge from on-site sanitation facilities and fresh faeces.,NA,<https://github.com/openwashdata/dryingfaecal>,<https://openwashdata.github.io/dryingfaecal/>
5,climatevulnerabilitykhm,mianzg,academic,low,in-progress,"Data on Effects of Climate Vulnerability on Sanitation Access, Sanitation Infrastructure Functionality and Households’ Fecal Sludge Management Practices in Rural Cambodia.",NA,<https://github.com/openwashdata/climatevulnerabilitykhm>,<https://openwashdata.github.io/climatevulnerabilitykhm/>
Loading

0 comments on commit 165e6af

Please sign in to comment.