Site icon R-bloggers

Win Books and T-shirts in Our DataScience.LA Meetup Raffles, Powered by R and dplyr!

[This article was first published on DataScience.LA » R, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

We have a few pieces of swag that we are raffling off to the community at our upcoming meetup events. Our stash consists of 25 data-oriented books, primarily from O’Reilly plus 25 T-shirts from useR! 2014 conference and Revolution Analytics (see picture above). Did we get your attention?

In order to participate in the raffles, you will need to sign up for our premium mailing list. In addition to the raffles, those on the premium mailing list will receive priority announcements for meetups and important community news as it happens, plus much, much more.

Before each meetup (LA R, DataVis or Machine Learning/Data Science), we’ll select the names of that event’s winners and will start calling each name, one-by-one. When your name is called (and you are present at the meetup), you will have your choice of one raffle item (book or T-shirt) until the day’s items have all been claimed. We will have four winners at each meetup, i.e. 2 books and 2 shirts will be given away each time. Are you one of the lucky names who will be called? Read more below to see our algorithm for determining the raffle winners.

The drawing will consist of sampling names from the premium mailing list, however the relative weights (i.e. your chance of winning) will not be equal, but instead a linear decreasing function of your signup time rank so that the first person who signed up will have 3x the chance compared to the last person on the list, using chronological order. As an example, if at the time of a drawing the list has 100 names, #1 gets weight 3.00, #2 gets weight 2.98, and so on continuously decreasing, #100 gets weight 1.00.

To increase the fun and your chances of winning, you can double your relative weight by providing a link to your LinkedIn profile when you sign up for the premium list (or later, by updating your preferences if you have already signed up).

With R and dplyr we can do all this with a few lines of code:

<!DOCTYPE html> <html> <head> <http-equiv="Content-type" content="text/html; charset=utf-8"> <title>Server Error &middot; Gist</title> <style type="text/css" media="screen"> body { background: #f1f1f1; -family: "HelveticaNeue-Light", Helvetica, Arial, sans-serif; text-rendering: optimizeLegibility; -webkit--smoothing: antialiased; } .container { margin: 100px auto; width: 600px; text-align: center; } a { color: #4183c4; text-decoration: none; } a:visited { color: #4183c4 } a:hover { text-decoration: none; } h1 { letter-spacing: -1px; line-height: 60px; -size: 60px; -weight: 100; margin: 0px; text-shadow: 0 1px 0 #fff; } p { color: rgba(0, 0, 0, 0.5); margin: 20px 0 40px; } ul { border-top: 1px solid #ccc; list-style: none; margin: 20px 0; padding: 20px 0; } li { display: table-cell; -weight: bold; width: 1%; } </style> </head> <body> <div class="container"> <h1>OH NOES, 404.</h1> <p>We seem to have missed the <em>gist</em> of that <em>gist</em> you were looking for.</p> <ul id="error-suggestions"> <li><a href="https://github.com/contact">Contact Support</a></li> <li><a href="https://status.github.com">Status Site</a></li> <li><a href="https://twitter.com/github">@github</a></li> </ul> <p><img src="https://github.s3.amazonaws.com/media/maint-logo.png" alt="GitHub"></p> </div> </body> </html>

You can see, to maximize your chances of winning, sign up to the premium mailing list as soon as possible and provide your LinkedIn profile. There are over 50 fantastic items waiting for our lucky winners! Sign up here now and increase your chances today!

 

 

 

To leave a comment for the author, please follow the link and comment on their blog: DataScience.LA » R.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.