Skip to content

Latest commit

 

History

25 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SeGg Data Pipeline

  • Bucket URL: https://correlaid-cdl-segg.fsn1.your-objectstorage.com
  • See exploration.ipynb for examples on how to load the data and simple descriptive statistics.
  • Main pipeline script: pipeline.py. Stages are described in the log messages.
  • Also see /tests, e.g. tests/test_post_main_scraping.py to get a feel for the data and how it is structured.

Misc. info about data Sources

All sources have a schema in lib/src/lib/models.py

Knowledge Modules / Posts

  • SeGg uses the Elementor website builder, which allows designing posts via a GUI (the output is stored in the API as HTML).
  • There are knowledge modules as posts with:
    • A main section
    • An optional download section
    • An optional “More Info” section
  • If a download section exists, it refers to a dedicated chapter in the SV archive: https://meinsvwissen.de/sv-archiv/.
  • The “More Info” section contains links to other posts and other chapters in the SV archive.
  • The main section can include various media (see lib/src/lib/models.py and exploration.ipynb for an overview)

Setup

  • Install uv
  • to run pipeline.py, you need to set the following environment variables in a .env
OR_KEY=<secret>

WP_USER=<secret>
WP_PW=<secret>

S3_ENDPOINT=<secret>
S3_ACCESS_KEY_ID=<secret>
S3_SECRET_ACCESS_KEY=<secret>

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages