Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Demo] Script to generate cascading select CSVs #9

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

cooperka
Copy link
Owner

@cooperka cooperka commented Feb 15, 2019

  1. Modify NUM_LETTERS as needed
  2. python3 gen-csv.py
  3. Now you have a new file choices-NUM.csv
  4. You can then import this CSV file into Google Sheets (like this one) and export XLS

Examples of how many CSV items will be generated for a given number of letters:

Items per cascade Total items
3 120
4 340
6 1554
8 4680
10 11110
12 22620
14 41370
16 69904
18 111150
20 168420

Example choices generated with 3 letters:

a
b
c
aa
ab
ac
ba
bb
bc
ca
cb
cc
aaa
aab
...
cccb
cccc

(120 total items)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant