@tricoteuses/assemblee 3.3.8 → 3.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -2
- package/lib/{amendements-Co_qQeCl.js → amendements-D2X2TneW.js} +1 -1
- package/lib/{amendements-s-5GIY_X.js → amendements-DSXfagiR.js} +680 -710
- package/lib/cleaners.js +3 -3
- package/lib/derouleur.d.ts +77 -0
- package/lib/derouleur.js +87 -0
- package/lib/eliasse.d.ts +164 -0
- package/lib/eliasse.js +150 -0
- package/lib/git.js +1 -1
- package/lib/index.js +7 -4
- package/lib/{loaders-Bdc1oCGG.js → loaders-DYFDjudN.js} +2 -2
- package/lib/loaders.js +1 -1
- package/lib/parsers.js +493 -449
- package/lib/registries.d.ts +8 -8
- package/lib/schemas/clean/acteurs_et_organes.d.ts +37 -37
- package/lib/schemas/clean/amendements.d.ts +12 -12
- package/lib/schemas/clean/debats.d.ts +26 -26
- package/lib/schemas/clean/dossiers_legislatifs.d.ts +16 -16
- package/lib/schemas/clean/questions.d.ts +122 -122
- package/lib/schemas/clean/scrutins.d.ts +2 -2
- package/lib/schemas/enriched/acteurs_et_organes.d.ts +2 -2
- package/lib/schemas/enriched/amendements.d.ts +9 -9
- package/lib/schemas/enriched/dossiers_legislatifs.d.ts +12 -12
- package/lib/schemas/enriched/questions.d.ts +108 -108
- package/lib/schemas/enriched/scrutins.d.ts +2 -2
- package/lib/schemas/raw/acteurs_et_organes.d.ts +132 -132
- package/lib/schemas/raw/agendas.d.ts +97 -97
- package/lib/schemas/raw/amendements.d.ts +83 -83
- package/lib/schemas/raw/debats.d.ts +51 -51
- package/lib/schemas/raw/dossiers_legislatifs.d.ts +171 -171
- package/lib/schemas/raw/questions.d.ts +222 -222
- package/lib/schemas/raw/scrutins.d.ts +164 -164
- package/lib/scripts/dataset_safety.test.d.ts +1 -0
- package/lib/scripts/forgejo_pending_status.d.ts +9 -0
- package/lib/scripts/forgejo_pending_status.test.d.ts +1 -0
- package/lib/scripts/monitor_open_data_updates.d.ts +2 -0
- package/lib/scripts/shared/dataset-inputs.d.ts +5 -0
- package/lib/{scrutins-UjCZmd8a.js → scrutins-CGHd_VPY.js} +19 -18
- package/lib/zod_errors-DCnjCNGy.js +34 -0
- package/package.json +11 -1
package/README.md
CHANGED
|
@@ -84,7 +84,16 @@ npm run data:retrieve_open_data ../assemblee-data -- --categories ComptesRendus
|
|
|
84
84
|
- `--keepDir`: Keep Dir (Implement before cleaning data)
|
|
85
85
|
- `--only-recent` (number): If files are already present, skip files that are above the specified number of days and skip old legislatures (e.g. `-only-recent 30`)
|
|
86
86
|
|
|
87
|
-
If you use such options, use them in all subsequent commands too (_data:
|
|
87
|
+
If you use such options, use them in all subsequent commands too (_data:reorganize_data_ and _data:clean_data_).
|
|
88
|
+
|
|
89
|
+
Use `--dataset=Questions_ecrites_XVII` (or its `.json` filename) consistently for
|
|
90
|
+
retrieval, reorganization, raw validation and cleaning to process exactly one
|
|
91
|
+
dataset. Unknown names and names excluded by category/legislature fail before
|
|
92
|
+
output changes. Reorganization and cleaning preflight all selected input paths
|
|
93
|
+
before pulling or clearing outputs: missing, wrong-type or empty inputs are errors,
|
|
94
|
+
not instructions to publish an empty dataset. This is an input-presence guard,
|
|
95
|
+
not a proof that a nonempty archive is complete; retrieval and schema checks remain
|
|
96
|
+
necessary.
|
|
88
97
|
|
|
89
98
|
### Options for Data Retrieval
|
|
90
99
|
|
|
@@ -98,7 +107,7 @@ Note:
|
|
|
98
107
|
|
|
99
108
|
### Options for Cleaning Data
|
|
100
109
|
|
|
101
|
-
- `--dataset` or `-d <name>`:
|
|
110
|
+
- `--dataset` or `-d <name>`: Process a specific dataset only (also supported by retrieval and reorganization)
|
|
102
111
|
- `--fetchCrCommissions`: Retrieve and parse CR commissions
|
|
103
112
|
- `--fetchVideos`: Retrieve videos
|
|
104
113
|
- `--fetchDocuments` : Specify to retrieve documents
|