Hemlock extension for adding demographics to a hemlock project.
Project description
Hemlock-Demographics is a hemlock extension which allows you to add demographics items to a hemlock project.
Installation
With hemlock-CLI (recommended):
$ hlk install hemlock-demographics
With pip:
$ pip install hemlock-demographics
Quickstart
from hemlock import Branch, Page, Label, route
from hemlock_demographics import comprehensive_demographics
@route('/survey')
def start():
return Branch(
comprehensive_demographics(page=True),
Page(
Label('<p>The end.</p>'),
terminal=True
)
)
Citation
Hemlock-Demographics is based largely on the demographics section of the World Values Survey.
@software{bowen2020hemlock-demographics,
author = {Dillon Bowen},
title = {Hemlock-Demographics},
url = {https://dsbowen.github.io/hemlock-demographics/},
date = {2020-10-05},
}
@dataset{inglehart2014wvs,
author = {Inglehart, R., and C. Haerpfer, and A. Moreno, and C. Welzel, and K. Kizilova, and J. Diez-Medrano, and M. Lagos, and P. Norris, and E. Ponarin and B. Puranen and et al.},
title={World Values Survey: Round Six},
url = {http://www.worldvaluessurvey.org/},
date = {2014.}
}
License
Users must cite this package in any publications which use it.
It is licensed with the MIT License.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for hemlock-demographics-0.0.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ce9bdae1c6ca75a4a0dbe97f63b56579bc1bc8eb13d819adefc115a90a535a2 |
|
MD5 | 334fc54232979c3d9f7ad1e8b154438b |
|
BLAKE2b-256 | 94f48f15910257d9b1ecd8dc9aea75d68a5e80144b1b11fb6b2ff3b32ad6daec |
Close
Hashes for hemlock_demographics-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c2c9f0eb8e4436cb2513cff052f3cc39fddad78908be2e96beafd4ad5cdaa2b |
|
MD5 | 1b159addebc80c2d7053f6f34e8a533b |
|
BLAKE2b-256 | d1f91bc0a82cb57aaad3fb3938811a26ad4aed82f513046097af3e3820ceba64 |