Skip to content

MEDSL/documentation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

documentation

This repo holds a Python module for generating MEDSL dataset documentation. Specifically, four files for each dataset:

  • Release notes
  • Coverage notes
  • Codebook
  • R documentation

The module also generates the README.md for the precinct-returns repo.

The approach is to fill Jinja2 templates with metadata defined in YAML.

Organization:

├── medsldocs           # The module (Python)
│   ├── metadata        # Data about data (YAML)
│   │   ├── candidates  # ... candidates
│   │   ├── dataset     # ... datasets
│   │   │   └── common  # 
│   │   └── elections   # ... offices and districts
│   ├── templates       # Templates (Jinja2)
│   └── test            # Test suite (Python)
└── output              # Generated documentation (Markdown, Rd)

Run:

python -m medsldocs

About

Code for generating dataset documentation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published