Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alexandre Bulté
validata-doc
Commits
0b8a5bdc
Commit
0b8a5bdc
authored
May 31, 2018
by
Pierre Dittgen
Browse files
Mise à jour du README.md
parent
88a04a32
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
0b8a5bdc
# Erreurs
*
[
Erreur de source
](
./errors/source-error.md
)
*
[
En-tête vide
](
./errors/blank-header.md
)
*
[
Contrainte de valeur maximale
](
./errors/maximum-constraint.md
)
*
[
Ligne dupliquée
](
./errors/duplicate-row.md
)
*
[
Erreur de format
](
./errors/format-error.md
)
*
[
Erreur HTTP
](
./errors/http-error.md
)
*
[
Contrainte d'unicité
](
./errors/unique-constraint.md
)
*
[
Contrainte de valeur minimale
](
./errors/minimum-constraint.md
)
*
[
Erreur de format ou de type
](
./errors/type-or-format-error.md
)
*
[
Contrainte de longueur minimale
](
./errors/minimum-length-constraint.md
)
*
[
Contrainte d'énumération
](
./errors/enumerable-constraint.md
)
*
[
En-tête incorrect (libellé en trop)
](
./errors/extra-header.md
)
*
[
Erreur d'encodage
](
./errors/encoding-error.md
)
*
[
En-tête non conforme
](
./errors/non-matching-header.md
)
*
[
Contrainte de longueur maximale
](
./errors/maximum-length-constraint.md
)
*
[
Contrainte d'expression
](
./errors/pattern-constraint.md
)
*
[
En-tête incorrect (libellé manquant)
](
./errors/missing-header.md
)
*
[
Valeur manquante
](
./errors/missing-value.md
)
*
[
Valeur surnuméraire
](
./errors/extra-value.md
)
*
[
Erreur d'entrée/sortie
](
./errors/io-error.md
)
*
[
En-tête dupliqué
](
./errors/duplicate-header.md
)
*
[
Erreur de protocole
](
./errors/scheme-error.md
)
*
[
Contrainte d'obligation
](
./errors/required-constraint.md
)
*
[
Ligne vide
](
./errors/blank-row.md
)
*
[
Erreur de schéma
](
./errors/schema-error.md
)
\ No newline at end of file
# Qualidata-doc
## Génération de la liste des erreurs en markdown
Récupération du fichier source de référence
```
wget https://raw.githubusercontent.com/Jailbreak-Paris/data-quality-spec/french/spec-fr_FR.json
```
Génération de la documentation des erreurs
```
python3 data_quality_spec_to_md.py spec-fr_FR.json static/errors
```
## Génération de la documentation des table schemas
Récupération des tables schema de référence
```
wget https://github.com/CharlesNepote/liste-prenoms-nouveaux-nes/raw/v1.1.1/prenom-schema.json -o schema-scdl-prenoms.json
wget https://git.opendatafrance.net/scdl/marches-publics/raw/master/schema.json -o schema-scdl-marches.json
wget https://git.opendatafrance.net/scdl/subventions/raw/master/schema.json -o schema-scdl-subventions.json
wget https://git.opendatafrance.net/scdl/deliberations/raw/master/schema.json -o schema-scdl-deliberations.json
wget https://git.opendatafrance.net/scdl/adresses/raw/master/schema-scdl-adresses.json
```
Génération de la documentation des table schemas
```
python3 table_schema_to_md.py schema-scdl-prenoms.json > static/schemas/scdl-prenoms.md
python3 table_schema_to_md.py schema-scdl-marches.json > static/schemas/scdl-marches.md
python3 table_schema_to_md.py schema-scdl-subventions.json > static/schemas/scdl-subventions.md
python3 table_schema_to_md.py schema-scdl-deliberations.json > static/schemas/scdl-deliberations.md
python3 table_schema_to_md.py schema-scdl-adresses.json > static/schemas/scdl-adresses.md
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment