↓ Skip to main content
Win Books and T-shirts in Our DataScience.LA Meetup Raffles, Powered by R and dplyr!

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

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:

library(dplyr)

read.csv("members_export.csv") %>%
  mutate(pcrnk = percent_rank(CONFIRM_TIME), wdbl = ifelse(LinkedIn!="",2,1),
      w = (3-2*pcrnk)*wdbl) %>%
  sample_n(30, weight = w) %>%
  mutate(name = paste(First.Name,Last.Name)) %>% select(name)

Source: gist 7850049 by szilard

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!

Related

LA R Meetup Summary: Highlights from the useR! 2014 Conference

Last week the LA R meetup featured 5 speakers each highlighting a few things they had found interesting at the useR! 2014 conference (which I had the pleasure of helping to organize this year in Los Angeles). This meetup proved to be interesting even to those of us who attended the conference (which was about half of our audience), simply because there were so many cool things to hear and enough parallel sessions at the conference that no one could possibly capture all of the action.

Meetup: Stream processing with R in AWS

Update: Slides click here. Video recording here: This video is no longer available on YouTube (original link). Stream processing with R in AWS by Gergely Daróczi Abstract: R is rarely mentioned among the big data tools, although it’s fairly well scalable for most data science problems and ETL tasks. This talk presents an open-source R package to interact with Amazon Kinesis via the MultiLangDaemon bundled with the Amazon KCL to start multiple R sessions on a machine or cluster of nodes to process data from theoretically any number of Kinesis shards. Besides the technical background and a quick introduction on how Kinesis works, this talk will feature some stream processing use-cases at CARD.com, and will also provide an overview and hands-on demos on the related data infrastructure built on the top of Docker, Amazon ECS, ECR, KMS, Redshift and a bunch of third-party APIs.