@tricoteuses/assemblee 1.7.5 → 1.8.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
@@ -63,8 +63,8 @@ npm run data:download ../assemblee-data -- --categories Amendements
63
63
 
64
64
  To download only a specific legislature, use the *--legislature* option (shortcut *-l*):
65
65
  ```bash
66
- # Available options : 14, 15, 16
67
- npm run data:download ../assemblee-data -- --legislature 16
66
+ # Available options : 14, 15, 16, 17
67
+ npm run data:download ../assemblee-data -- --legislature 17
68
68
  ```
69
69
 
70
70
  If you use such options, use them in all subsequent commands too (*data:regorganize_data* and *data:clean_data*).
@@ -81,7 +81,7 @@ Create a volume to download the data and use the environment variables `LEGISLAT
81
81
 
82
82
  ```bash
83
83
  docker volume create assemblee-data
84
- docker run --name tricoteuses-assemblee -v assemblee-data:/app/assemblee -e LEGISLATURE=16 -d registry.en-root.org/tricoteuses/tricoteuses-assemblee:latest
84
+ docker run --name tricoteuses-assemblee -v assemblee-data:/app/assemblee -e LEGISLATURE=17 -d registry.en-root.org/tricoteuses/tricoteuses-assemblee:latest
85
85
  ```
86
86
 
87
87
  ## Using the data
@@ -107,7 +107,7 @@ import {
107
107
  } from "@tricoteuses/assemblee/lib/loaders";
108
108
 
109
109
  // Pass data directory and legislature as arguments
110
- for (const { acteur } of iterLoadAssembleeActeurs("../assemblee-data", 16)) {
110
+ for (const { acteur } of iterLoadAssembleeActeurs("../assemblee-data", 17)) {
111
111
  console.log(acteur.uid)
112
112
  }
113
113
  ```