Skip to content

Analyze and visualize sex activity data from Apple HealthKit and more

License

Notifications You must be signed in to change notification settings

BaksiLi/sex-stats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sex Activity Statistics

Analyze and visualize sex activity data from Apple HealthKit and more.

Data Source

Shortcuts (Log WooHoo)

Log WooHoo is a Shortcut for logging the sex activity data, and store them in Note.app .

Screenshot

It works on both iOS (iPhone) and WatchOS (Apple Watch). It is also proudly produced by myself.

wHealth

wHealth Dashboard is an iOS app that visualize HealthKit data based on a fixed template. Data export is supported, the exported data is a semicolon-seperated .csv file.

It does not include activity kinds as the previous Shortcuts does.

Script

The script is run by:

python sex_stats.py [-h] --file FILE (--chart {freq,day,kde,all} | --all)

N.B. Python >= 3.8 required, other dependencies are pandas, matplotlib, and seaborn.

Showcase

Disclaimer: Data are fake.

  • All-in-one Example: All in one by python sex_stats.py -f FILE --all.

  • Individual charts can be generated at once by python sex_stats.py -f FILE --chart all.

Example: Frequency Example: Day Example: KDE