Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Here are some quick stats I spit out:

  Paid vs Free apps:
  Mac: 57 Paid vs 33 Free
  iOS: 310 Paid vs 227 Free

  Stats:
  ╔══════════╤═══════╤════════╤═══════╤═════════════════╗
  ║ Platform │ Mean  │ Median │ Mode  │ Range           ║
  ╟──────────┼───────┼────────┼───────┼─────────────────╢
  ║ Mac      │ $9.83 │ $4.99  │ $4.99 │ $0.99 -> $59.99 ║
  ╟──────────┼───────┼────────┼───────┼─────────────────╢
  ║ iOS      │ $3.51 │ $2.99  │ $0.99 │ $0.99 -> $59.99 ║
  ╚══════════╧═══════╧════════╧═══════╧═════════════════╝

I need to clean up my output for "By Seller" because right now it looks like this:

  Totals By Seller:
  Apple Inc.: $493.05 (iOS Apps: $21.6, Mac Apps: $70.96)
  Supercell Oy: $252.7 (IAP: $252.7)
  Evernote: $147.96 (Subscriptions: $147.96)
  Panic, Inc.: $87.95 (iOS Apps: $37.96, Mac Apps: $49.99)
  Hindsight Labs LLC: $67.94 (iOS Apps: $17.96, Mac Apps: $49.98)
  Assembla, Inc.: $59.99 (Mac Apps: $59.99)
  American Honda Motor Co., Inc (Acura): $59.99 (iOS Apps: $59.99)
  Strong Fitness Ltd.: $54.89 (Subscriptions: $54.89)
  ...
Which is not super useful unless you know that name of the company behind the app. I need to re-write my code to at least put a list of the app names at the end or something. For reference, in order the apps are:

  Apple Inc = Mac OS's
  Supercell Oy = Clash Royale (Not proud of this number at all)
  Evernote = Evernote (duh)
  Panic, Inc = iOS: Prompt, Prompt 2, Coda, Transmit, Status Board | Mac:  Coda 2 (I own most all their mac apps as well but didn't buy through the store)
  Hindsight Labs LLC = Paprika 2 and 3 (for iPad/iPhone/Mac) (recipe app,  hands down the best one out there, trust me)
  Assembla, Inc = Cornerstone (svn program)
  American Honda Motor Co., Inc = Acura Link (WASTE OF MONEY, I should have fought this charge)
  Strong Fitness Ltd = Strong (iOS Workout tracker, I think it was like $5-$6/mo)
I need to also have my code print out top purchases by price (ignoring seller). I can pull out more if you would like.

Edit: As you can tell the Apple Inc line is wrong, it looks like it's not pulling in the "special" categories they created for iCloud stuff, I'll fix that later.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: