-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
87 changed files
with
20,448 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"hash": "fbefc41a669a986e491e49839d9c829c", | ||
"result": { | ||
"engine": "knitr", | ||
"markdown": "---\ntitle: \"Hackathon Outcomes and Opportunities\"\nformat: html\nlightbox: true\n---\n\n\n\n\n# From Hackathon to Impact\n\nOur hackathon is designed not only to address immediate public health challenges but also to inspire long-term innovation and collaboration. We hope that the groups formed during the event will continue their work, potentially refining their projects into impactful tools or ideas. One way to showcase your work further is by submitting to relevant conferences, sharing insights with the broader scientific and public health community.\n\nTo help, we’ve gathered a list of potential conferences where you could present your work. Explore the map below to see the locations of these conferences and learn more about them.\n\n## Conferences Map\n\n\n\n\n::: {.cell}\n::: {.cell-output-display}\n\n```{=html}\n<div class=\"leaflet html-widget html-fill-item\" id=\"htmlwidget-833dc9244006e90e131e\" style=\"width:100%;height:464px;\"></div>\n<script type=\"application/json\" data-for=\"htmlwidget-833dc9244006e90e131e\">{\"x\":{\"options\":{\"crs\":{\"crsClass\":\"L.CRS.EPSG3857\",\"code\":null,\"proj4def\":null,\"projectedBounds\":null,\"options\":{}}},\"calls\":[{\"method\":\"addTiles\",\"args\":[\"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png\",null,null,{\"minZoom\":0,\"maxZoom\":18,\"tileSize\":256,\"subdomains\":\"abc\",\"errorTileUrl\":\"\",\"tms\":false,\"noWrap\":false,\"zoomOffset\":0,\"zoomReverse\":false,\"opacity\":1,\"zIndex\":1,\"detectRetina\":false,\"attribution\":\"© <a href=\\\"https://openstreetmap.org/copyright/\\\">OpenStreetMap<\\/a>, <a href=\\\"https://opendatacommons.org/licenses/odbl/\\\">ODbL<\\/a>\"}]},{\"method\":\"addMarkers\",\"args\":[[-1.9544,-1.2267,35.0617,-1.2611,-1.2267,0.3326],[30.0927,36.8828,135.7831,36.804907,36.8828,32.5686],null,null,null,{\"interactive\":true,\"draggable\":false,\"keyboard\":true,\"title\":\"\",\"alt\":\"\",\"zIndexOffset\":0,\"opacity\":1,\"riseOnHover\":false,\"riseOffset\":250},[\"<b>Twelfth EDCTP Forum<\\/b><br>Dates: Jun-25<br>Location: Kigali Rwanda<br>Abstract Deadline: 2/23/2025<br><a href='https://www.edctp.org/news/save-the-date-15-20-june-2025-twelfth-edctp-forum/' target='_blank'>Conference Website<\\/a>\",\"<b>KEMRI KASH<\\/b><br>Dates: Feb-25<br>Location: Nairobi Kenya<br>Abstract Deadline: ASAP<br><a href='https://www.kemri.go.ke/kash-15/' target='_blank'>Conference Website<\\/a>\",\"<b>Vaccine Congress<\\/b><br>Dates: Sep-25<br>Location: Kyoto Japan<br>Abstract Deadline: 5/2/2025<br><a href='https://www.elsevier.com/events/conferences/all/vaccine-congress' target='_blank'>Conference Website<\\/a>\",\"<b>Africa Evidence Summit<\\/b><br>Dates: Jun-25<br>Location: Nairobi Kenya<br>Abstract Deadline: 2/13/2025<br><a href='https://cega.berkeley.edu/event/2025-africa-evidence-summit-2/' target='_blank'>Conference Website<\\/a>\",\"<b>Inaugural Evidence for Development (Evi4Dev) Conference<\\/b><br>Dates: May-25<br>Location: Nairobi Kenya<br>Abstract Deadline: 1/31/2025<br><a href='https://www.evi4devconference.org/' target='_blank'>Conference Website<\\/a>\",\"<b>African Research Universities Alliance 2025 Biennial International Conference<\\/b><br>Dates: Oct-25<br>Location: Kampala Uganda<br>Abstract Deadline: 2/28/2025<br><a href='https://arua.org/conferences/conference2025/' target='_blank'>Conference Website<\\/a>\"],null,null,null,null,{\"interactive\":false,\"permanent\":false,\"direction\":\"auto\",\"opacity\":1,\"offset\":[0,0],\"textsize\":\"10px\",\"textOnly\":false,\"className\":\"\",\"sticky\":true},null]}],\"limits\":{\"lat\":[-1.9544,35.0617],\"lng\":[30.0927,135.7831]}},\"evals\":[],\"jsHooks\":[]}</script>\n```\n\n:::\n:::\n\n\n\n\n## Submit Your Work\n\nWe encourage all teams to consider how their hackathon projects can have a lasting impact. Beyond presenting at conferences, think about collaborating with new partners, publishing in journals, or applying for funding to take your ideas further.\n\nStay tuned for more updates, and let us know if you have questions about submitting your work or applying for funding opportunities.\n\n## Thinking about other conferences?\n\nIf there are other meetings or conferences you are interested in, please let us know. And you can use your newly learnt Github skills to make a pull request to the `data/conferences.csv` to share it. \n", | ||
"supporting": [], | ||
"filters": [ | ||
"rmarkdown/pagebreak.lua" | ||
], | ||
"includes": { | ||
"include-in-header": [ | ||
"<link href=\"site_libs/htmltools-fill-0.5.8.1/fill.css\" rel=\"stylesheet\" />\n<script src=\"site_libs/htmlwidgets-1.6.4/htmlwidgets.js\"></script>\n<script src=\"site_libs/jquery-3.6.0/jquery-3.6.0.min.js\"></script>\n<link href=\"site_libs/leaflet-1.3.1/leaflet.css\" rel=\"stylesheet\" />\n<script src=\"site_libs/leaflet-1.3.1/leaflet.js\"></script>\n<link href=\"site_libs/leafletfix-1.0.0/leafletfix.css\" rel=\"stylesheet\" />\n<script src=\"site_libs/proj4-2.6.2/proj4.min.js\"></script>\n<script src=\"site_libs/Proj4Leaflet-1.0.1/proj4leaflet.js\"></script>\n<link href=\"site_libs/rstudio_leaflet-1.3.1/rstudio_leaflet.css\" rel=\"stylesheet\" />\n<script src=\"site_libs/leaflet-binding-2.2.0/leaflet.js\"></script>\n" | ||
] | ||
}, | ||
"engineDependencies": {}, | ||
"preserve": {}, | ||
"postProcess": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,272 @@ | ||
(function (factory) { | ||
var L, proj4; | ||
if (typeof define === 'function' && define.amd) { | ||
// AMD | ||
define(['leaflet', 'proj4'], factory); | ||
} else if (typeof module === 'object' && typeof module.exports === "object") { | ||
// Node/CommonJS | ||
L = require('leaflet'); | ||
proj4 = require('proj4'); | ||
module.exports = factory(L, proj4); | ||
} else { | ||
// Browser globals | ||
if (typeof window.L === 'undefined' || typeof window.proj4 === 'undefined') | ||
throw 'Leaflet and proj4 must be loaded first'; | ||
factory(window.L, window.proj4); | ||
} | ||
}(function (L, proj4) { | ||
if (proj4.__esModule && proj4.default) { | ||
// If proj4 was bundled as an ES6 module, unwrap it to get | ||
// to the actual main proj4 object. | ||
// See discussion in https://github.com/kartena/Proj4Leaflet/pull/147 | ||
proj4 = proj4.default; | ||
} | ||
|
||
L.Proj = {}; | ||
|
||
L.Proj._isProj4Obj = function(a) { | ||
return (typeof a.inverse !== 'undefined' && | ||
typeof a.forward !== 'undefined'); | ||
}; | ||
|
||
L.Proj.Projection = L.Class.extend({ | ||
initialize: function(code, def, bounds) { | ||
var isP4 = L.Proj._isProj4Obj(code); | ||
this._proj = isP4 ? code : this._projFromCodeDef(code, def); | ||
this.bounds = isP4 ? def : bounds; | ||
}, | ||
|
||
project: function (latlng) { | ||
var point = this._proj.forward([latlng.lng, latlng.lat]); | ||
return new L.Point(point[0], point[1]); | ||
}, | ||
|
||
unproject: function (point, unbounded) { | ||
var point2 = this._proj.inverse([point.x, point.y]); | ||
return new L.LatLng(point2[1], point2[0], unbounded); | ||
}, | ||
|
||
_projFromCodeDef: function(code, def) { | ||
if (def) { | ||
proj4.defs(code, def); | ||
} else if (proj4.defs[code] === undefined) { | ||
var urn = code.split(':'); | ||
if (urn.length > 3) { | ||
code = urn[urn.length - 3] + ':' + urn[urn.length - 1]; | ||
} | ||
if (proj4.defs[code] === undefined) { | ||
throw 'No projection definition for code ' + code; | ||
} | ||
} | ||
|
||
return proj4(code); | ||
} | ||
}); | ||
|
||
L.Proj.CRS = L.Class.extend({ | ||
includes: L.CRS, | ||
|
||
options: { | ||
transformation: new L.Transformation(1, 0, -1, 0) | ||
}, | ||
|
||
initialize: function(a, b, c) { | ||
var code, | ||
proj, | ||
def, | ||
options; | ||
|
||
if (L.Proj._isProj4Obj(a)) { | ||
proj = a; | ||
code = proj.srsCode; | ||
options = b || {}; | ||
|
||
this.projection = new L.Proj.Projection(proj, options.bounds); | ||
} else { | ||
code = a; | ||
def = b; | ||
options = c || {}; | ||
this.projection = new L.Proj.Projection(code, def, options.bounds); | ||
} | ||
|
||
L.Util.setOptions(this, options); | ||
this.code = code; | ||
this.transformation = this.options.transformation; | ||
|
||
if (this.options.origin) { | ||
this.transformation = | ||
new L.Transformation(1, -this.options.origin[0], | ||
-1, this.options.origin[1]); | ||
} | ||
|
||
if (this.options.scales) { | ||
this._scales = this.options.scales; | ||
} else if (this.options.resolutions) { | ||
this._scales = []; | ||
for (var i = this.options.resolutions.length - 1; i >= 0; i--) { | ||
if (this.options.resolutions[i]) { | ||
this._scales[i] = 1 / this.options.resolutions[i]; | ||
} | ||
} | ||
} | ||
|
||
this.infinite = !this.options.bounds; | ||
|
||
}, | ||
|
||
scale: function(zoom) { | ||
var iZoom = Math.floor(zoom), | ||
baseScale, | ||
nextScale, | ||
scaleDiff, | ||
zDiff; | ||
if (zoom === iZoom) { | ||
return this._scales[zoom]; | ||
} else { | ||
// Non-integer zoom, interpolate | ||
baseScale = this._scales[iZoom]; | ||
nextScale = this._scales[iZoom + 1]; | ||
scaleDiff = nextScale - baseScale; | ||
zDiff = (zoom - iZoom); | ||
return baseScale + scaleDiff * zDiff; | ||
} | ||
}, | ||
|
||
zoom: function(scale) { | ||
// Find closest number in this._scales, down | ||
var downScale = this._closestElement(this._scales, scale), | ||
downZoom = this._scales.indexOf(downScale), | ||
nextScale, | ||
nextZoom, | ||
scaleDiff; | ||
// Check if scale is downScale => return array index | ||
if (scale === downScale) { | ||
return downZoom; | ||
} | ||
if (downScale === undefined) { | ||
return -Infinity; | ||
} | ||
// Interpolate | ||
nextZoom = downZoom + 1; | ||
nextScale = this._scales[nextZoom]; | ||
if (nextScale === undefined) { | ||
return Infinity; | ||
} | ||
scaleDiff = nextScale - downScale; | ||
return (scale - downScale) / scaleDiff + downZoom; | ||
}, | ||
|
||
distance: L.CRS.Earth.distance, | ||
|
||
R: L.CRS.Earth.R, | ||
|
||
/* Get the closest lowest element in an array */ | ||
_closestElement: function(array, element) { | ||
var low; | ||
for (var i = array.length; i--;) { | ||
if (array[i] <= element && (low === undefined || low < array[i])) { | ||
low = array[i]; | ||
} | ||
} | ||
return low; | ||
} | ||
}); | ||
|
||
L.Proj.GeoJSON = L.GeoJSON.extend({ | ||
initialize: function(geojson, options) { | ||
this._callLevel = 0; | ||
L.GeoJSON.prototype.initialize.call(this, geojson, options); | ||
}, | ||
|
||
addData: function(geojson) { | ||
var crs; | ||
|
||
if (geojson) { | ||
if (geojson.crs && geojson.crs.type === 'name') { | ||
crs = new L.Proj.CRS(geojson.crs.properties.name); | ||
} else if (geojson.crs && geojson.crs.type) { | ||
crs = new L.Proj.CRS(geojson.crs.type + ':' + geojson.crs.properties.code); | ||
} | ||
|
||
if (crs !== undefined) { | ||
this.options.coordsToLatLng = function(coords) { | ||
var point = L.point(coords[0], coords[1]); | ||
return crs.projection.unproject(point); | ||
}; | ||
} | ||
} | ||
|
||
// Base class' addData might call us recursively, but | ||
// CRS shouldn't be cleared in that case, since CRS applies | ||
// to the whole GeoJSON, inluding sub-features. | ||
this._callLevel++; | ||
try { | ||
L.GeoJSON.prototype.addData.call(this, geojson); | ||
} finally { | ||
this._callLevel--; | ||
if (this._callLevel === 0) { | ||
delete this.options.coordsToLatLng; | ||
} | ||
} | ||
} | ||
}); | ||
|
||
L.Proj.geoJson = function(geojson, options) { | ||
return new L.Proj.GeoJSON(geojson, options); | ||
}; | ||
|
||
L.Proj.ImageOverlay = L.ImageOverlay.extend({ | ||
initialize: function (url, bounds, options) { | ||
L.ImageOverlay.prototype.initialize.call(this, url, null, options); | ||
this._projectedBounds = bounds; | ||
}, | ||
|
||
// Danger ahead: Overriding internal methods in Leaflet. | ||
// Decided to do this rather than making a copy of L.ImageOverlay | ||
// and doing very tiny modifications to it. | ||
// Future will tell if this was wise or not. | ||
_animateZoom: function (event) { | ||
var scale = this._map.getZoomScale(event.zoom); | ||
var northWest = L.point(this._projectedBounds.min.x, this._projectedBounds.max.y); | ||
var offset = this._projectedToNewLayerPoint(northWest, event.zoom, event.center); | ||
|
||
L.DomUtil.setTransform(this._image, offset, scale); | ||
}, | ||
|
||
_reset: function () { | ||
var zoom = this._map.getZoom(); | ||
var pixelOrigin = this._map.getPixelOrigin(); | ||
var bounds = L.bounds( | ||
this._transform(this._projectedBounds.min, zoom)._subtract(pixelOrigin), | ||
this._transform(this._projectedBounds.max, zoom)._subtract(pixelOrigin) | ||
); | ||
var size = bounds.getSize(); | ||
|
||
L.DomUtil.setPosition(this._image, bounds.min); | ||
this._image.style.width = size.x + 'px'; | ||
this._image.style.height = size.y + 'px'; | ||
}, | ||
|
||
_projectedToNewLayerPoint: function (point, zoom, center) { | ||
var viewHalf = this._map.getSize()._divideBy(2); | ||
var newTopLeft = this._map.project(center, zoom)._subtract(viewHalf)._round(); | ||
var topLeft = newTopLeft.add(this._map._getMapPanePos()); | ||
|
||
return this._transform(point, zoom)._subtract(topLeft); | ||
}, | ||
|
||
_transform: function (point, zoom) { | ||
var crs = this._map.options.crs; | ||
var transformation = crs.transformation; | ||
var scale = crs.scale(zoom); | ||
|
||
return transformation.transform(point, scale); | ||
} | ||
}); | ||
|
||
L.Proj.imageOverlay = function (url, bounds, options) { | ||
return new L.Proj.ImageOverlay(url, bounds, options); | ||
}; | ||
|
||
return L.Proj; | ||
})); |
Oops, something went wrong.