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
var welcome_message = "<div class=\"message-header\">Welcome</div>" + | |
"<br />" + | |
"<h2>Welcome to the Research IT Resources Guide.</h2>" + | |
"<p>What do you need more information on?</p>"; | |
var data_acquisition_message = "<div class=\"message-header\">Data Acquisition</div>" + | |
"<br />" + | |
"<h2>Data can be captured or resides in many formats.</h2>" + | |
"<p>Does the data you need already exist?</p>"; |
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
### Keybase proof | |
I hereby claim: | |
* I am langsdlc on github. | |
* I am lclfox (https://keybase.io/lclfox) on keybase. | |
* I have a public key ASBYy43nTiArY5yk9opLJ-7DAFmWFQahS1ZjJIM8rNCJNgo | |
To claim this, I am signing this object: |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
xquery version "3.1"; | |
declare namespace ead = "urn:isbn:1-931666-22-9"; | |
declare namespace http = "http://expath.org/ns/http-client"; | |
let $texts := fn:doc("https://raw.githubusercontent.com/HeardLibrary/finding-aids/master/rosenzweig.xml")//ead:item/text() | |
for $text in $texts | |
let $json := map { | |
"content" : fn:normalize-space($text), | |
"genre" : "social-media" |
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
LOAD CSV WITH HEADERS FROM "https://gist.githubusercontent.com/CliffordAnderson/148c63407ce61c2ecabd456f3e1d15b4/raw/fb50b0b1e02e076df0387ccffb343b4acd0dc74a/Test_Network-cleaned-rows.csv" AS csvLine | |
MATCH (from :Place { name: toInt(csvLine.FromPoint)}), | |
(to :Place { name: toInt(csvLine.ToPoint)}) | |
MERGE (from)-[:Path | |
{ distance: toFloat(csvLine.DistanceFt), | |
entrance: toInt(csvLine.Entrance), | |
surface: toInt(csvLine.Surface), | |
path_type: toInt(csvLine.Path_Type), | |
stairs: toInt(csvLine.Stairs) } | |
]->(to) |
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
LOAD CSV WITH HEADERS FROM "https://gist.githubusercontent.com/langsdlc/a0f802f26a8f05c4823823f0a981c49b/raw/cc12bed799f054015263974369e359ae3b778814/Test_PointsDEC.csv" AS csvLine | |
CREATE (waypoint :Place {name: toInt(csvLine.Id), building: csvLine.Building, entrance: toInt(csvLine.Entrance), long: toFloat(csvLine.XDEC), lat: toFloat(csvLine.YDEC) }) | |
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
start n=node(1779), p=node(1645) | |
match s=shortestpath((n)-[r]-(p)) | |
return n,r,p | |
start n=node(1779), p=node(1645) | |
match s=shortestpath((n)-[r]-(p)) | |
return reduce(totalDistance = 0, n in relationships(s) | totalDistance + n.distance) as feet |
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
LOAD CSV WITH HEADERS FROM "https://gist.githubusercontent.com/CliffordAnderson/148c63407ce61c2ecabd456f3e1d15b4/raw/fb50b0b1e02e076df0387ccffb343b4acd0dc74a/Test_Network-cleaned-rows.csv" AS csvLine | |
MATCH (from:Waypoint { name: toInt(csvLine.FromPoint)}), (to:Place { name: toInt(csvLine.ToPoint)}) | |
MERGE (from)-[:Path { distance: toFloat(csvLine.DistanceFt), entrance: toINT(csvLine.Entrance), surface: toINT(csvLine.Surface), path_type: toINT(csvLine.Path_Type), stairs: toINT(csvLine.Stairs), description: STR(csvLine.Description)}]->(to) |
NewerOlder