@tricoteuses/assemblee 2.4.2 → 2.5.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 +2 -2
- package/lib/loaders.d.ts +5 -2
- package/lib/loaders.js +552 -536
- package/lib/parsers.js +1 -1
- package/lib/scripts/process_open_dataset.d.ts +2 -1
- package/lib/scripts/retrieve_documents.d.ts +2 -1
- package/lib/scripts/retrieve_videos.d.ts +1 -3
- package/lib/scripts/shared/cli_helpers.d.ts +6 -1
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -100,9 +100,9 @@ If you use such options, use them in all subsequent commands too (_data:regorgan
|
|
|
100
100
|
- `--dataset` or `-d <name>`: Clean a specific dataset only
|
|
101
101
|
- `--no-reset-after-commit`: Skip Git reset after committing (useful to preserve local changes)
|
|
102
102
|
- `--no-validate` or `-V`: Skip schema validation during cleaning
|
|
103
|
-
- `--
|
|
104
|
-
- `--fetchDocuments` : Specify to retrieve documents like reports, videos metadata files
|
|
103
|
+
- `--fetchDocuments` : Specify to retrieve documents
|
|
105
104
|
- `--parseDocuments`: Specify to parse documents into cleaned json
|
|
105
|
+
- `--fetchVideos`: Retrieve videos
|
|
106
106
|
|
|
107
107
|
### Options for Retrieving Documents
|
|
108
108
|
|
package/lib/loaders.d.ts
CHANGED
|
@@ -99,12 +99,15 @@ export declare function iterLoadAssembleeComptesRendus(dataDir: string, legislat
|
|
|
99
99
|
datasetLegislature: Legislature;
|
|
100
100
|
filePath: string;
|
|
101
101
|
}, void, unknown>;
|
|
102
|
-
export declare function iterLoadAssembleeComptesRendusCommissions(dataDir: string, legislature: Legislature
|
|
102
|
+
export declare function iterLoadAssembleeComptesRendusCommissions(dataDir: string, legislature: Legislature, { enriched }?: {
|
|
103
|
+
enriched?: boolean | undefined;
|
|
104
|
+
}): Generator<{
|
|
103
105
|
compteRendu: CompteRendu;
|
|
104
106
|
datasetLegislature: Legislature;
|
|
105
107
|
filePath: string;
|
|
106
108
|
}, void, unknown>;
|
|
107
|
-
export declare function loadAssembleeData(dataDir: string, enabledDatasets: EnabledDatasets, legislature: Legislature, { log }?: {
|
|
109
|
+
export declare function loadAssembleeData(dataDir: string, enabledDatasets: EnabledDatasets, legislature: Legislature, { enriched, log }?: {
|
|
110
|
+
enriched?: boolean | undefined;
|
|
108
111
|
log?: boolean | undefined;
|
|
109
112
|
}): Data;
|
|
110
113
|
export declare function loadAssembleeDataFromBigFiles(dataDir: string, enabledDatasets: EnabledDatasets, legislature: Legislature, { log }?: {
|