@tricoteuses/assemblee 2.5.15 → 2.5.16
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 +3 -3
- package/lib/parsers/compte_rendu.d.ts +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -43,6 +43,7 @@ npm install
|
|
|
43
43
|
### Basic usage
|
|
44
44
|
|
|
45
45
|
Create a directory to store the data, then run the following command to download, reorganize and clean the data.
|
|
46
|
+
|
|
46
47
|
```bash
|
|
47
48
|
mkdir ../assemblee-data/
|
|
48
49
|
npm run data:download ../assemblee-data
|
|
@@ -59,7 +60,6 @@ npm run data:download ../assemblee-data
|
|
|
59
60
|
- `npm run data:retrieve_documents <dir>`: Retrieval of legislative documents from Assemblée nationale's website
|
|
60
61
|
- `npm run data:retrieve_pending_amendements <dir>`: Retrieval of pending amendments from Assemblée nationale's website (waiting to be processed by Assemblée services)
|
|
61
62
|
|
|
62
|
-
|
|
63
63
|
_Notes_:
|
|
64
64
|
|
|
65
65
|
- Reorganized files (generated by the _data:reorganize_data_ command) are also available in [Tricoteuses / Data / Données brutes de l'Assemblée](https://git.en-root.org/tricoteuses/data/assemblee-brut). They are updated on a regular basis.
|
|
@@ -92,6 +92,7 @@ npm run data:download ../assemblee-data -- -l 16 -l 17
|
|
|
92
92
|
- `--pull` or `-p`: Pull repositories before starting
|
|
93
93
|
- `--clone` or `-C <url>`: Clone Git repositories from a remote group or organization
|
|
94
94
|
- `--remote` or `-r <name>`: Push commits to specified Git remote(s)
|
|
95
|
+
- `--keepDir`: Keep Dir (Implement before cleaning data)
|
|
95
96
|
|
|
96
97
|
If you use such options, use them in all subsequent commands too (_data:regorganize_data_ and _data:clean_data_).
|
|
97
98
|
|
|
@@ -109,7 +110,6 @@ If you use such options, use them in all subsequent commands too (_data:regorgan
|
|
|
109
110
|
- `--full` or `-f`: Retrieve all documents, even those already downloaded
|
|
110
111
|
- `--document-type` or `-T <type>`: Restrict to specific document types (e.g., `PION`)
|
|
111
112
|
|
|
112
|
-
|
|
113
113
|
## Download using Docker
|
|
114
114
|
|
|
115
115
|
A Docker image that downloads and cleans the data all at once is available. Build it locally or run it from the container registry.
|
|
@@ -139,7 +139,7 @@ import {
|
|
|
139
139
|
iterLoadAssembleeAmendements,
|
|
140
140
|
iterLoadAssembleeQuestions,
|
|
141
141
|
iterLoadAssembleeComptesRendus,
|
|
142
|
-
} from "@tricoteuses/assemblee/loaders"
|
|
142
|
+
} from "@tricoteuses/assemblee/loaders"
|
|
143
143
|
|
|
144
144
|
// Pass data directory and legislature as arguments
|
|
145
145
|
for (const { acteur } of iterLoadAssembleeActeurs("../assemblee-data", 17)) {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function containsMissingOrNotFinalizedText(root: any): boolean;
|