@tricoteuses/assemblee 3.1.2 → 3.2.0
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 +21 -3
- package/lib/amendements-D3Jr9MQa.js +3715 -0
- package/lib/amendements-DaB_5WaI.js +152 -0
- package/lib/cleaners.js +594 -653
- package/lib/datasets.d.ts +1 -0
- package/lib/git.js +153 -127
- package/lib/index.d.ts +1 -1
- package/lib/index.js +555 -758
- package/lib/inserters.d.ts +4 -0
- package/lib/loaders-CY8EGNSM.js +1325 -0
- package/lib/loaders.js +2 -2145
- package/lib/parsers.js +8388 -10324
- package/lib/questions-CsNQoayp.js +1581 -0
- package/lib/schemas/clean/scrutins.d.ts +18 -0
- package/lib/schemas/enriched/scrutins.d.ts +8 -0
- package/lib/schemas/raw/scrutins.d.ts +25 -5
- package/package.json +7 -7
- package/lib/amendements-Blw6Aa6-.js +0 -4133
- package/lib/amendements-DiMsxlUL.js +0 -178
- package/lib/questions-XokaUGcy.js +0 -3037
package/README.md
CHANGED
|
@@ -62,6 +62,9 @@ npm run data:download ../assemblee-data -- -k Amendements
|
|
|
62
62
|
|
|
63
63
|
# Only process 16th and 17th legislatures
|
|
64
64
|
npm run data:download ../assemblee-data -- -l 16 -l 17
|
|
65
|
+
|
|
66
|
+
# Retrieve comptes rendus de seance and commissions for one legislature
|
|
67
|
+
npm run data:retrieve_open_data ../assemblee-data -- --categories ComptesRendus --legislature 17 --fetchCrCommissions
|
|
65
68
|
```
|
|
66
69
|
|
|
67
70
|
### Common Options
|
|
@@ -82,15 +85,30 @@ npm run data:download ../assemblee-data -- -l 16 -l 17
|
|
|
82
85
|
|
|
83
86
|
If you use such options, use them in all subsequent commands too (_data:regorganize_data_ and _data:clean_data_).
|
|
84
87
|
|
|
88
|
+
### Options for Data Retrieval
|
|
89
|
+
|
|
90
|
+
With `data:retrieve_open_data`,
|
|
91
|
+
|
|
92
|
+
- use `--categories=ComptesRendus` to retrieve comptes rendus de séance for the selected legislature(s).
|
|
93
|
+
|
|
94
|
+
Note:
|
|
95
|
+
|
|
96
|
+
- Comptes-rendus & videos of commissions are retrieved when cleaning agendas data.
|
|
97
|
+
|
|
85
98
|
### Options for Cleaning Data
|
|
86
99
|
|
|
87
100
|
- `--dataset` or `-d <name>`: Clean a specific dataset only
|
|
101
|
+
- `--fetchCrCommissions`: Retrieve and parse CR commissions
|
|
102
|
+
- `--fetchVideos`: Retrieve videos
|
|
103
|
+
- `--fetchDocuments` : Specify to retrieve documents
|
|
88
104
|
- `--no-reset-after-commit`: Skip Git reset after committing (useful to preserve local changes)
|
|
89
105
|
- `--no-validate` or `-V`: Skip schema validation during cleaning
|
|
90
|
-
- `--fetchDocuments` : Specify to retrieve documents
|
|
91
106
|
- `--parseDocuments`: Specify to parse documents into cleaned json
|
|
92
|
-
|
|
93
|
-
|
|
107
|
+
|
|
108
|
+
Note:
|
|
109
|
+
|
|
110
|
+
- use `--categories=Agendas` together with `--fetchCrCommissions` to retrieve comptes rendus de commission.
|
|
111
|
+
- use `--categories=Agendas` together with `--fetchVideos` to retrieve videos of commissions.
|
|
94
112
|
|
|
95
113
|
### Options for Retrieving Documents
|
|
96
114
|
|