Making Tables

network load_file("./data/ohio.network")
node load_attrs("./data/attrs/{_NAME}.toml")
network clip()
# ^Ind => =(+ (st+num 'INDEX) 1)
<Node ID => {_NAME}
<Title => {_description:case(title):repl(Ky,KY):repl(In,IN):repl(Wv,WV):repl(Oh,OH)?}
>Latitude => {lat:f(4)}
>Longitude => {lon:f(4)}

Results:

Node IDTitleLatitudeLongitude
smithlandOHio River at Smithland Dam Smithland KY37.1584-88.4262
golcondaOHio River at Dam 51 at Golconda, Il37.3578-88.4825
old-shawneetownOHio River at Old Shawneetown, Il-KY37.6919-88.1333
mountcarmelWabash River at Mt. Carmel, Il38.3983-87.7564
jt-myersOHio River at Uniontown Dam, KY37.7972-87.9983
evansvilleOHio River at Evansville, IN37.9723-87.5764
calhounGreen River at Lock 2 at Calhoun, KY37.5339-87.2639
newburghNewburgh37.9309-87.3722
canneltonOHio River at Cannelton Dam at Cannelton, IN37.8995-86.7055
shepherdsvilleSalt River at Shepherdsville, KY37.9851-85.7175
mcalpineOHio River at Louisville, KY38.2803-85.7991
lockportKentucky River at Lock 2 at Lockport, KY38.4390-84.9633
marklandOHio River at Markland Dam Near Warsaw, KY38.7748-84.9644
milfordLittle Miami River at Milford OH39.1714-84.2980
catawbaLicking River at Catawba, KY38.7103-84.3108
hamiltonGreat Miami River at Hamilton OH39.3912-84.5722
perintownEast Fork Little Miami River at Perintown OH39.1370-84.2380
brookvilleWhitewater River at Brookville, IN39.4075-85.0129
meldahlMeldahl38.7972-84.1705
higbyScioto River at Higby OH39.2123-82.8638
greenupGreenup38.6468-82.8608
graysonLittle Sandy River at Grayson, KY38.3301-82.9393
ashlandOHio River at Ashland, KY38.4812-82.6365
branchlandGuyandotte River at Branchland, WV38.2209-82.2026
rc-byrdRc-Byrd38.6816-82.1883
charlestonKanawha River at Charleston, WV38.3715-81.7021
racineOHio River at Racine Dam, WV38.9167-81.9121
bellevilleOHio River at Belleville Dam, WV39.1190-81.7424
mcconnelsvilleMuskingum River at McConnelsville OH39.6451-81.8499
athensHocking River at Athens OH39.3290-82.0876
elizabethLittle Kanawha River at Palestine, WV39.0590-81.3896
willow-islandWillow-Island39.3605-81.3204
hannibalHannibal39.6671-80.8653
pike-islandOHio River at Martins Ferry, OH40.1051-80.7084
new-cumberlandNew-Cumberland40.5277-80.6276
montgomeryMontgomery40.6486-80.3855
beaverfallsBeaver River at Beaver Falls, PA40.7634-80.3151
dashieldsOHio River at Sewickley, PA40.5492-80.2056
emsworthEmsworth40.5043-80.0889
natronaAllegheny River at Natrona, PA40.6153-79.7184
elizabeth2Monongahela River at Elizabeth, PA40.2623-79.9012
sutersvilleYoughiogheny River at Sutersville, PA40.2402-79.8067

Nadi style table with network information:

network load_file("./data/ohio.network")
node load_attrs("./data/attrs/{_NAME}.toml")
network clip()
network echo("../output/ohio-table.svg")
# ^Ind => =(+ (st+num 'INDEX) 1)
<Node ID => {_NAME}
<Title => {_description:case(title):repl(Ky,KY):repl(In,IN):repl(Wv,WV):repl(Oh,OH)?}
>Latitude => {lat:f(4)}
>Longitude => {lon:f(4)}

Results: