@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 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
- - `--fetchVideos`: Retrieve videos
93
- - `--fetchCrCommissions`: Retrieve and parse CR commissions
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