Skip to content

Instantly share code, notes, and snippets.

View alex23lemm's full-sized avatar

Alex Lemm alex23lemm

View GitHub Profile
@alex23lemm
alex23lemm / comparison.R
Last active August 29, 2015 14:26
Compare LM outputs and visualize startprice variation acrocss biddable/sold-combinations
library(ggplot2)
library(dplyr)
library(readr)
ebay_train <- read.csv("./data/eBayiPadTrain.csv")
# Remove observations which cause trouble for later predictions
ebay_train <- ebay_train %>% filter(carrier != 'Other' | productline != 'iPad 5')
@alex23lemm
alex23lemm / gist:82df2d8cfe80be9f50ef
Last active August 29, 2015 14:08
RSelenium: Navigating using PhantomJS directly
# Load libraries and config file; define variables ----------------------------
library(RSelenium)
library(yaml)
library(dplyr)
library(httr)
config <- yaml.load_file('config.yml')
# ID of report which should be downloaded
@alex23lemm
alex23lemm / gist:40046aba037bac7b9808
Last active June 24, 2019 08:58
RSelenium: Navigating using the Selenium Server binary / default remoteDriver
# sandbox.R is used to capture intermediate results of potential upcoming
# features which might make it into production.
# Check out the RSelenium package
#
# Load libraries and config file -----------------------------------------------
library(RSelenium)
library(yaml)