Comments (5)
Relevant section of the schema guide: https://linkml.io/linkml/schemas/advanced.html#rules
(note there is no way to say column N+1, but a specific slot can be named)
from dataharmonizer.
This seems orthogonal to the multi-view interface I've been working on for NMDC.
I think DataHarmonizer could pick up the rules
metamodel slot in its validation procedure, and it wouldn't be too terribly hard to do.
from dataharmonizer.
Yes, we'd like to get rule-based validation - and dynamically required fields - happening right inside DH. Patrick, what does "multi-view interface" mean? Were you approaching this via custom field-change hooks? One thing is that not only should all the rule behaviour happen as people are editing content, but also on loading of a dataset or when user presses "Validate".
from dataharmonizer.
what does "multi-view interface" mean?
I'm working on an interface for the NMDC project where we're going to allow a user to switch between different templates via a sort of tab-like interface. It's not really related to what we're talking about here.
Were you approaching this via custom field-change hooks? One thing is that not only should all the rule behaviour happen as people are editing content, but also on loading of a dataset or when user presses "Validate".
Just to be clear, I have not started working on implementing this at all. I assumed it would be added to the getInvalidCells
method.
from dataharmonizer.
Understood. A heads-up that early this spring we will have another programmer resource dedicated to DH work so no worries if you have commitments elsewhere.
from dataharmonizer.
Related Issues (20)
- Allow `getDataObjects` to export invalid data HOT 1
- Add method for loading data as array of objects
- "Jump To..." stops working after switching templates
- DH export tab popping error HOT 10
- DataHarmonizer should honor LinkML unique_key assertions, for multiple columns with uniqueness constraint HOT 3
- Does DH provide a way of storing attributes of a row/object but never displaying them? HOT 3
- Multivalued value formatting changes after validation HOT 2
- Loading a template modifies root slot definitions HOT 1
- Enumerations with a large number of elements are cut off when displaying the entire list HOT 3
- DH should materialize LinkML dynamic enumerations and display the permissible values with hierarchy preserved HOT 1
- When DH creates menus from LinkML enums, it requires the presence of the optional `text` property HOT 3
- Transform URLs in help popup into clickable links HOT 5
- "Dates" collected by DataHarmonizer are datetime objects HOT 7
- Document the fact that DH JSON is a bare list and not compatible with LinkML tools as is HOT 2
- Implement time and datetime datatypes HOT 2
- Add column help sidebar to core library HOT 2
- Can't install HOT 5
- `linkml.py` does not generate a `schema.js` as expected but a `schema.json` HOT 2
- Schema not loading in DataHarmonizer (only Chrome and Edge; Firefox working) HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dataharmonizer.