adriens / schemacrawler-plugin-dashboard Goto Github PK
View Code? Open in Web Editor NEWSchemacrawler plugin that exports lint reports as csv
Schemacrawler plugin that exports lint reports as csv
Add a section dedicated to runtime infos (date utc and local, time, database url,...)...and job uniqueId
It could be interesting to produce a csv that contains them rather than hardcode it in the Rmd
grab following properties :
numRows
tableNode.setProperty("nbColumns", table.getColumns().size());
tableNode.setProperty("definition", table.getDefinition());
tableNode.setProperty("lookupKey", table.getLookupKey());
tableNode.setProperty("name", table.getName());
tableNode.setProperty("remarks", table.getRemarks());
tableNode.setProperty("schemaName", table.getSchema().getName());
tableNode.setProperty("fullName", table.getFullName());
tableNode.setProperty("tableType", table.getTableType().toString());
table-> column -> lint (severity as color)
severity ->table
an other idea welcome ;(p
Add an "About" section to the markdown report
Implement a Rmarkdown report on the csv output of the lint, using ggplot2 lib for graphs so we can get a dashboard.
NB : If additional datas are required in the csv, please tell and i'll implement it, but the goal would to push all this stuff on the R side
Definition Of Done :
You run the lint command, then, through a command line, you get a pdf, html. For now, we'll manually document the command line...but in a second step it would be possible :
to create a nice to use makefile
an ant make file (think about windows users...)
embed the Rmarkdown inside the jar and trigger (at least try) the Rmarkdown build.
This feature should be easily : installable in the debian package...deployable on Travis
generate csv with tableFullName as first column will be used to make reports between columns csv and table csv
and all other available available datas :
columnNode.setProperty("columnOrdinalPosition", column.getOrdinalPosition());
columnNode.setProperty("columnDataType", column.getColumnDataType().toString());
columnNode.setProperty("name", column.getName());
columnNode.setProperty("fullName", column.getFullName());
if (column.getDefaultValue() != null) {
columnNode.setProperty("defaultValue", column.getDefaultValue());
}
if (column.getLookupKey() != null) {
columnNode.setProperty("lookupKey", column.getLookupKey());
}
if (column.getRemarks() != null) {
columnNode.setProperty("remarks", column.getRemarks());
}
if (column.getShortName() != null) {
columnNode.setProperty("shortName", column.getShortName());
}
columnNode.setProperty("size", column.getSize());
columnNode.setProperty("width", column.getWidth());
Got error during html compilation :
➜ dashboard ./dashboard_rscript.R
Error in loadNamespace(name) : there is no package called ‘rmarkdown’
Calls: :: ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
Execution halted
➜ dashboard
on
X -> table
Y -> lint
f(x,y) : nbHits
http://www.htmlwidgets.org/showcase_d3heatmap.html
BONUS : Find the best sort on axis to show emerging communities
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.