aboutsummaryrefslogtreecommitdiff
path: root/sampling/README.org
diff options
context:
space:
mode:
authorChristian Cleberg <hello@cleberg.net>2025-01-16 14:21:04 -0600
committerChristian Cleberg <hello@cleberg.net>2025-01-16 14:21:04 -0600
commit60c4938f3825f0a1253f1e6eb9a55fb330ed9d80 (patch)
tree3a07e3524bd8822f63ee3453b20d0d2b1c9181e8 /sampling/README.org
parent20914ded9f2fa9fff95ed5c8f811a0cc6725f9cd (diff)
downloadaudit-tools-60c4938f3825f0a1253f1e6eb9a55fb330ed9d80.tar.gz
audit-tools-60c4938f3825f0a1253f1e6eb9a55fb330ed9d80.tar.bz2
audit-tools-60c4938f3825f0a1253f1e6eb9a55fb330ed9d80.zip
add HTML version of sampling tool
Diffstat (limited to 'sampling/README.org')
-rw-r--r--sampling/README.org32
1 files changed, 32 insertions, 0 deletions
diff --git a/sampling/README.org b/sampling/README.org
new file mode 100644
index 0000000..6307ed1
--- /dev/null
+++ b/sampling/README.org
@@ -0,0 +1,32 @@
+#+title: Sampling Tools
+
+* =sample.py=
+
+#+begin_src sh
+python ./sample.py
+#+end_src
+
+#+begin_src text
+Dataframe size (rows, columns): (100, 9)
+Sample size: 5
+Sample:
+ Index Organization Id ... Industry Number of employees
+79 80 cBa7EFe5D05Adaf ... Online Publishing 7805
+97 98 E7df80C60Abd7f9 ... Broadcast Media 236
+3 4 2bFC1Be8a4ce42f ... Automotive 921
+42 43 A2D89Ab9bCcAd4e ... Capital Markets / Hedge Fund / Private Equity 3816
+70 71 32BB9Ff4d939788 ... Wireless 6146
+
+[5 rows x 9 columns]
+#+end_src
+
+* =sample.html=
+
+This is an interactive web page that allows users to submit their population
+size, sample size(s), and generate a psuedo-random sample list of numbers to use
+when sampling against their population.
+
+Samples can be re-generated and validated using the seed numbers provided during
+the original generation.
+
+[[sample-html.png]]