Giter VIP home page Giter VIP logo

oneblast's Introduction

Analysis of the oneBlast eNewsletter experiment

Setup

You should create a directory called 'data' in the working directory.

You can create the data files in that directory by downloading the raw data files from the secure file storage location.and then doing: Rscript -e "library(knitr);knit('datasetup.Rmd')" at the command line. If you want an .html file or a .pdf file that you can view easily, it is easier to use the "Knit to HTML" or "Knit to PDF" or "Compile PDF" button in RStudio. Alternatively, you can do Rscript -e "library(rmarkdown);render('datasetup.Rmd') to make an html file.

The subscription outcome arises from finding subscribers in the subscriptions.csv file who match members of the experimental pool in the designdata.csv file. The file createoutcomes.Rmd does this merging. In the end, roughly 1000 subscribers are not matchable with the experimental pool. We do not know whether these people were not a part of the experiment at all or whether they received emails as a part of the study but then subscribed using different names and different email addresses. We address this problem in the analysis. HTML Version of these Results

The Google Analytics outcomes are analytized in gastats_analysis.Rmd. HTML Version of these Results

Files

The source code is in R markdown format. To recreate our analysis you would either use the Knit to HTML button in RStudio or, after installing the rmarkdown package, do library(rmarkdown);render("oneblast_analysis.Rmd").

Plan and Process

We wrote up a plan for analysis using Google Docs to enable easy commenting and group editing. Once we had a more or less final version, we downloaded it as .docx format and then converted this to github flavored markdown so that it could be posted publically online: pandoc -f docx -t markdown_github AnalysisPlan.docx -o AnalysisPlan.md.

oneblast's People

Contributors

jwbowers avatar ptesta avatar

Watchers

 avatar  avatar James Cloos avatar Amira Boland avatar  avatar Lula Chen avatar

Forkers

mearley2013

oneblast's Issues

Merge designdata and subscriptiondata to create an analysis file.

We need to create the outcome by merging the designdata.csv and the subscriptiondata.csv. The idea is anyone from designdata who is not in subscriptiondata did not subscribe to the newsletter. (With the caveat that, actually, we don’t know how many subscribed with different email addresses than those given in designdata). Note further that the email addresses are now just hashes β€” this allows you to download and work with the files on your own computer.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.