Donald
stata-sankey
Donald | stata-sankey | |
---|---|---|
4 | 1 | |
165 | 19 | |
- | - | |
5.6 | 6.1 | |
about 1 month ago | about 1 month ago | |
F# | Stata | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Donald
-
No pure fsharp orm?
There’s Donald too https://github.com/pimbrouwers/Donald
- Best practices F# API?
-
Data Access in Fsharp
They are slightly different and depending on your background one might feel more confortable than the other Feel free to choose the one you like the best, in my case I will continue the rest of the post with the Expression based one given that we already have some expression based code from Dapper.FSharp. Previously we added some authors, let'ts try to add Posts to those authors with Donald.
-
Recommended libraries / frameworks for web services
I'm mostly looking for a few things: - web framework (when will Giraffe 5.0 get officially released ? What about Falco ?) - data access (I've seen Npgsql.Fsharp, any experience with it ? Donald ? Does Dapper play well with F# ?) - Json Serialization (I think one between Fsharp.Data and System.Text.Json will work)
stata-sankey
-
Anyone know how I can make a similar figure to this? basically describes the temporal trends for pt's with a certain heart condition over three timepoints.
/* run once: net install sankey, from("https://raw.githubusercontent.com/asjadnaqvi/stata-sankey/main/installation/") replace ssc install palettes, replace ssc install colrspace, replace ado update, update // example dataset, if interested: use "https://github.com/asjadnaqvi/stata-sankey/blob/main/data/sankey2.dta?raw=true", clear */ clear all input str20 source str20 destination layer value // layer 1, the number moving from 1st node to 2nd "D. Severe" "D. Severe" 1 0 "D. Severe" "C. Moderate" 1 3 "D. Severe" "B. Mild" 1 2 "D. Severe" "A. None/Trivial" 1 1 "C. Moderate" "D. Severe" 1 0 "C. Moderate" "C. Moderate" 1 7 "C. Moderate" "B. Mild" 1 6 "C. Moderate" "A. None/Trivial" 1 11 "B. Mild" "D. Severe" 1 0 "B. Mild" "C. Moderate" 1 0 "B. Mild" "B. Mild" 1 0 "B. Mild" "A. None/Trivial" 1 0 "A. None/Trivial" "D. Severe" 1 0 "A. None/Trivial" "C. Moderate" 1 0 "A. None/Trivial" "B. Mild" 1 0 "A. None/Trivial" "A. None/Trivial" 1 0 // layer 2, the number moving from 2nd node to 3rd "D. Severe" "D. Severe" 2 0 "D. Severe" "C. Moderate" 2 0 "D. Severe" "B. Mild" 2 0 "D. Severe" "A. None/Trivial" 2 0 "C. Moderate" "D. Severe" 2 2 "C. Moderate" "C. Moderate" 2 1 "C. Moderate" "B. Mild" 2 5 "C. Moderate" "A. None/Trivial" 2 2 "B. Mild" "D. Severe" 2 4 "B. Mild" "C. Moderate" 2 1 "B. Mild" "B. Mild" 2 3 "B. Mild" "A. None/Trivial" 2 0 "A. None/Trivial" "D. Severe" 2 1 "A. None/Trivial" "C. Moderate" 2 1 "A. None/Trivial" "B. Mild" 2 5 "A. None/Trivial" "A. None/Trivial" 2 5 end drop if value==0 sankey value, from(source) to(destination) by(layer) /// sortby(name) showtotal colorby(level) labangle(0)
What are some alternatives?
FSharp.Data.Npgsql - F# type providers to support statically typed access to input parameters and result set of sql statement in idiomatic F# way. Data modifications via statically typed tables.
stata-alluvial - A Stata package for alluvial plots
Mondocks - An alternative way to interact with MongoDB databases from F# that allows you to use mongo-idiomatic constructs
FlatFiles - Reads and writes CSV, fixed-length and other flat file formats with a focus on schema definition, configuration and speed.
Falco - A toolkit for building fast and functional-first web applications using F#.
ftools - Fast Stata commands for large datasets
Dapper.FSharp - Lightweight F# extension for StackOverflow Dapper with support for MSSQL, MySQL, PostgreSQL, and SQLite
floweaver - View flow data as Sankey diagrams
SqlHydra - SqlHydra is a suite of NuGet packages for working with databases in F# including code generation tools and query expressions.
timeline-sankey - A project to visualize time range series data using the Sankey diagram.
VisualFSharp - The F# compiler, F# core library, F# language service, and F# tooling integration for Visual Studio
sankeydiagram.net - sankeydiagram.net is an easy-to-use webapp for generating Sankey Diagrams to visualize flows and budgets.