Data Carpentry Workshop Setup Instructions

Requirements: Data Carpentry's teaching is hands-on, so participants are encouraged to bring in and use their own laptops to insure the proper setup of tools for an efficient workflow once you leave the workshop. (We will provide instructions on setting up the required software several days in advance) There are no pre-requisites, and we will assume no prior knowledge about the tools.

Contact: Please email admin@datacarpentry.org for questions and information not covered here.

Setup

To participate in a Data Carpentry workshop, you will need working copies of the software described below. Please make sure to install everything and try opening it to make sure it works before the start of your workshop. If you run into any problems, please feel free to email the instructor or arrive early to your workshop on the first day. Participants should bring and use their own laptops to insure the proper setup of tools for an efficient workflow once you leave the workshop.

This workshop will be using the software outlined in the install instructions below. Please see the section for your operating system for those directions.

Windows

Please go through all the installation steps below and make sure that you not only installed them, but start them up to make sure they're working. If you have any problems, don't hesitate to email the instructors to ask for help, or arrive early on the first day of the workshop to get help.

  1. A spreadsheet program
    For this workshop you will need a spreadsheet program. Many people already have Microsoft Excel installed, and if you do, you're set!
    If you need a spreadsheet program, there are a few other options, like OpenOffice and LibreOffice. Install instructions for LibreOffice, which is free and open source, are here.
    • Download the Installer
      Install LibreOffice by going to the installation page. The version for Windows should automatically be selected. Click Download Version 4.4.2. You will go to a page that asks about a donation, but you don't need to make one. Your download should begin automatically.
    • Install LibreOffice
      Once the installer is downloaded, double click on it and it should install.
    • To use LibreOffice, double click on the icon and it will open.

  2. OpenRefine
    OpenRefine (previously Google Refine) is a tool for data cleaning that runs through a web browser, and any browser - Safari, Firefox, Chrome, Explorer - should work fine. You will need to download Google Refine and install it, and when you open it, it will run through the browser, but you don't need an internet connection, and the data will all be stored on your computer.
    • Go to the OpenRefine download page
    • Click on Windows kit to download the install file
    • To use it, unzip, and double-click on google-refine.exe (if you're having issues with google-refine.exe try refine.bat instead)
    • Google Refine will then open in your web browser.
    • If it doesn't open automatically, open a web broswer after you've started the program and go to the URL http://localhost:3333 and you should see OpenRefine.

  3. R
    In the workshop, we will use RStudio. RStudio is a nice interface to the programming language R. To use RStudio, you need to install both R and RStudio. You will also need to install git a version control software.
    • Download git from here
    • Run the .exe file that was just downloaded
    • Choose the first option for you path: Use Git from Git bash only
    • next, next, next (for default and safe options)
    • Download R from here
    • Run the .exe file that was just downloaded
    • Go to the RStudio Download page
    • Under Installers select RStudio 0.99.896 - Windows XP/Vista/7/8
    • Double click the file to install it
    • Once it's installed, open RStudio to make sure it works and you don't get any error messages.

  4. SQLite
    For this workshop we're going to use the Firefox SQLite Plugin. It works through the web browser Firefox.
    • If you don't already have Firefox installed install Firefox
    • Start Firefox
    • Go to the plugin homepage.
    • Click the "Add Now" button.
    • Click "Install Now" on the dialog that appears after the download completes.
    • Restart Firefox when prompted.
    • Select "SQLite Manager" from the "Tools" menu and it will open within Firefox

Mac

Please go through all the installation steps below and make sure that you not only installed them, but start them up to make sure they're working. If you have any problems, don't hesitate to email the instructors to ask for help, or arrive early on the first day of the workshop to get help.

  1. A spreadsheet program
    For this workshop you will need a spreadsheet program. Many people already have Microsoft Excel installed, and if you do, you're set!
    If you need a spreadsheet program, there are a few other options, like OpenOffice and LibreOffice. Install instructions for LibreOffice, which is free and open source, are here.
    • Download the Installer
      Install LibreOffice by going to the installation page. The version for Mac should automatically be selected. Click Download Version 4.4.2. You will go to a page that asks about a donation, but you don't need to make one. Your download should begin automatically.
    • Install LibreOffice
      Once the installer is downloaded, double click on it and it should install.
    • To use LibreOffice, double click on the icon and it will open.

  2. OpenRefine
    OpenRefine (previously Google Refine) is a tool for data cleaning that runs through a web browser, and any browser - Safari, Firefox, Chrome, Explorer - should work fine. You will need to download Google Refine and install it, and when you open it, it will run through the browser, but you don't need an internet connection, and the data will all be stored on your computer.
    • Go to the OpenRefine download page
    • Click on Mac kit to download the install file
    • Open the downloaded .dmg file
    • Drag the icon in to the Applications folder
    • Double click on the icon and Google Refine will then open in your web browser.
    • If it doesn't open automatically, open a web broswer after you've started the program and go to the URL http://localhost:3333 and you should see OpenRefine.

  3. R
    In the workshop, we will use RStudio. RStudio is a nice interface to the programming language R. To use RStudio, you need to install both R and RStudio. You will also need to install Git for version control.
    • For OS X 10.8 and higher, install Git for Mac by downloading and running the installer. Git is a command line program, hence after installing Git don't worry if you do not see it in your /Applications folder.
    • For older versions of OS X (10.5-10.7) use the most recent available installer for your OS available here. Use the Leopard installer for 10.5 and the Snow Leopard installer for 10.6-10.7.
    • To test open a terminal (from applications) and type `git`
    • Go to CRAN and click on Download R for (Mac) OS X
    • Select the .pkg file for the version of OS X that you have and the file will download.
    • Double click on the file that was downloaded and R will install
    • Go to the RStudio Download page
    • Under Installers select RStudio 0.98.1103 - Mac OS X 10.6+ (64-bit) to download it.
    • Once it's downloaded, double click the file to install it
    • Once it's installed, open RStudio to make sure it works and you don't get any error messages.

  4. SQLite
    For this workshop we're going to use the Firefox SQLite Plugin. It works through the web browser Firefox.
    • If you don't already have Firefox installed install Firefox
    • Start Firefox
    • Go to the plugin homepage.
    • Click the "Add Now" button.
    • Click "Install Now" on the dialog that appears after the download completes.
    • Restart Firefox when prompted.
    • Select "SQLite Manager" from the "Tools" menu and it will open within Firefox

Linux

Please go through all the installation steps below and make sure that you not only installed them, but start them up to make sure they're working. If you have any problems, don't hesitate to email the instructors to ask for help, or arrive early on the first day of the workshop to get help.

  1. A spreadsheet program
    For this workshop you will need a spreadsheet program. Many people already have Microsoft Excel installed, and if you do, you're set!
    If you need a spreadsheet program, there are a few other options, like OpenOffice and LibreOffice. Install instructions for LibreOffice, which is free and open source, are here.
    • Download the Installer
      Install LibreOffice by going to the installation page. The version for Linux should automatically be selected. Click Download Version 4.4.2. You will go to a page that asks about a donation, but you don't need to make one. Your download should begin automatically.
    • Install LibreOffice
      Once the installer is downloaded, double click on it and it should install.
    • To use LibreOffice, double click on the icon and it will open.

  2. OpenRefine
    OpenRefine (previously Google Refine) is a tool for data cleaning that runs through a web browser, and any browser - Safari, Firefox, Chrome, Explorer - should work fine. You will need to download Google Refine and install it, and when you open it, it will run through the browser, but you don't need an internet connection, and the data will all be stored on your computer.
    • Go to the OpenRefine download page
    • Click on Linux kit to download the install file
    • Download and extract
    • Type ./refine to start and Google Refine will then open in your web browser.
    • If it doesn't open automatically, open a web broswer after you've started the program and go to the URL http://localhost:3333 and you should see OpenRefine.

  3. R
    In the workshop, we will use RStudio. RStudio is a nice interface to the programming language R. To use RStudio, you need to install both R and RStudio. You will also need git for version control.
    • For Debian/Ubuntu run `sudo apt-get install git` and for Fedora run `sudo yum install git`.
    • R is available through most Linux package managers. You can download the binary files for your distribution from CRAN. Or you can use your package manager (e.g. for Debian/Ubuntu run sudo apt-get install r-base and for Fedora run sudo yum install R).
    • To install RStudi, go to the RStudio Download page
    • Under Installers select the version for your distribution.
    • Once it's downloaded, double click the file to install it
    • Once it's installed, open RStudio to make sure it works and you don't get any error messages.

  4. SQLite
    For this workshop we're going to use the Firefox SQLite Plugin. It works through the web browser Firefox.
    • If you don't already have Firefox installed install Firefox
    • Start Firefox
    • Go to the plugin homepage.
    • Click the "Add Now" button.
    • Click "Install Now" on the dialog that appears after the download completes.
    • Restart Firefox when prompted.
    • Select "SQLite Manager" from the "Tools" menu and it will open within Firefox