Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

dvc.yaml 1.0 KB

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
  1. stages:
  2. scan-authors:
  3. cmd: python ../run.py --rust scan-marc -L -o viaf.parquet ../data/viaf-clusters-marc21.xml.gz
  4. deps:
  5. - ../src/cli/scan_marc.rs
  6. - ../src/marc
  7. - ../data/viaf-clusters-marc21.xml.gz
  8. outs:
  9. - viaf.parquet
  10. author-genders:
  11. cmd: python ../run.py --rust filter-marc --tag=375 --subfield=a --trim --lower -n gender -o author-genders.parquet viaf.parquet
  12. deps:
  13. - ../src/cli/filter_marc.rs
  14. - viaf.parquet
  15. outs:
  16. - author-genders.parquet
  17. index-names:
  18. cmd: python ../run.py --rust index-names --marc-authorities viaf.parquet author-name-index.parquet
  19. deps:
  20. - ../src/cli/index_names.rs
  21. - ../src/cleaning/names
  22. - viaf.parquet
  23. outs:
  24. - author-name-index.parquet
  25. - author-name-index.csv.gz
  26. schema:
  27. foreach:
  28. - viaf
  29. - author-name-index
  30. - author-genders
  31. - author-name-index
  32. do:
  33. cmd: python ../run.py --rust pq-info -o ${item}.json ${item}.parquet
  34. deps:
  35. - ${item}.parquet
  36. outs:
  37. - ${item}.json:
  38. cache: false
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...