3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Top Trumps inspired Instructables Card Game

Step 2Data Mining - by Jayefuu

Data Mining - by Jayefuu
Once we had our selected group of players to go on the cards, we needed all the data about them! Visiting 104 profiles and writing down their credentials did NOT sound like a lot of fun. To speed up the process and to make it more repeatable, Jayefuu wrote a Perl script to visit the profile of each of the chosen few to scrape together their vital statistics. It takes a while to run because it has to visit a few thousand pages.

The Perl script collects:
  • Ibler name
  • Number of Ibles
  • Answers
  • Best Answers
  • Answers Ratio (calculated)
  • Featured Ratio (calculated)
  • User's total instructables views
  • Number of subscribers
  • Date joined
  • Comments

The output is spat out into a .tsv (tab separated value) ready for pasting onto the card templates.

Profile images were gathered with a similar Perl script after messaging all of the chosen Instructablers to check they were happy with their current avatar.

In case you'll find them interesting, the Perl scripts have been included below. They won't run without some fiddling as a crucial line has been omitted to stop people running them. They load a fair few instructables pages. If you really have need to run it, PM Jayefuu to get the line you need.

« Previous StepDownload PDFView All StepsNext Step »
2 comments
Oct 6, 2010. 11:27 PMwareneutron says:
that card have my name
Oct 10, 2010. 9:15 AMdombeef says:
No it doesn't, did you read the infomation?
Mar 18, 2010. 5:25 PMKnexFreek says:
 Im on a mac (this is on step 2) and i dont know how to view the document, or even what to run it in! LOL HALP!

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
236
Followers
45
Author:Jayefuu
I am currently undertaking a PhD at the University of Huddersfield, England, looking at novel techniques in dispersive white light interferometry. Feb - April 2012 I was an artist in residence at I...
more »