Comments (3)
I like the idea, smells like a pydantic specification to me ;)
Jokes aside though, I think having one file in definitions/
called general.yaml
is a good idea. As long as it does not get exceedingly big, I'd stay clear of having individual files for each dimension. It should be easier to have all the DataStructureDefinition configuration in a single spot.
One question regarding:
If region -> country == True, add all country names and ISO3-codes from the pycountry package to the RegionCodeList.
Would that be an at-runtime thing or written into the yaml files?
from nomenclature.
I would fill that at run-time - for the list of countries, this might still be possible (but duplicating) to create a yaml from the pycountry package. But for datetime-validation, writing a yaml would be pretty much pointless...
from nomenclature.
Right, makes sense to me.
from nomenclature.
Related Issues (20)
- to_yaml does not indent lists HOT 1
- Variable codelists generated by nomenclature do not comply with json schema HOT 1
- Validate "countries" attribute against ISO3 codes HOT 2
- Get list of regions by hierarchy level HOT 2
- RegionProcessor.apply drops meta data HOT 2
- Is CodeList.name needed? HOT 1
- Default-attributes are exported to yaml HOT 2
- Filter CodeLists by any attribute HOT 4
- Pandas 2.0 breaks test_check_aggregate.expected_fail_return
- MetaCode brainstorming HOT 6
- Align Processor structure HOT 2
- Use different name for ISO3-code attribute
- Improve required data output
- pydantic 2.0 breaks nomenclature
- Enable using model mappings from external repository
- Implement MetaCodeList-validation using pandera
- Get relative path fails if file is not part of current working directory
- nomenclature install from GitHub fails exclude tests HOT 1
- Refactor and extend RequiredDataValidator HOT 2
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 nomenclature.