Demographics items for Hemlock projects
Project description
Hemlock-Demographics
Demographics items for Hemlock projects.
Example
from hemlock_demographics import demographics
from hemlock_demographics.items import date_of_birth, gender, race
from hemlock import *
@route('/survey')
def Start(origin=None):
b = Branch()
p = Page(b)
demographics(p, date_of_birth, gender, race, require=True)
p = Page(b, terminal=True)
Label(p, label='<p>End.</p>')
return b
Documentation
You can find the latest documentation at https://dsbowen.github.io/hemlock-demographics.
License
Publications which use this software should include the following citations:
Bowen, D.S. (2020). Hemlock [Computer software]. https://dsbowen.github.io/hemlock.
Bowen, D.S. (2020). Hemlock-Demographics [Computer software]. https://dsbowen.github.io/hemlock-demographics.
This project is licensed under the MIT License LICENSE.
Hemlock-CRT requires the Hemlock package, which is available under the Hemlock Research 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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76e8056c6e97cda42d617e7834827bcfd40769159a7f67b5e0ce3c0c759b6107 |
|
MD5 | 278e489541d19929d7efe5f534d0ad8b |
|
BLAKE2b-256 | cc9e79b325c1d74826c14bfb8ae5c3a8b31ef12fb7dd49c270c89ac37265d76e |
Close
Hashes for hemlock_demographics-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d2b6a2bef561aa9684058f1e682d2975c872b2bf0facc29e66b31c5fc832270 |
|
MD5 | c81c9e998fe2b5cb3b9f2fd7f5d27c16 |
|
BLAKE2b-256 | 015b376b9072f1324b3db7ea3b859e707e57228267e10c0e5ca58b40a6203f7b |