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 on the button below "Main Installer" Download Version x.y.z. 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 OpenRefine 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 openrefine.exe (if you're having issues with openrefine.exe try refine.bat instead)
    • OpenRefine 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. Python
    1. Open http://continuum.io/downloads with your web browser.
    2. Download the Python 3 installer for Windows.
    3. Install Python 3 using all of the defaults for installation except make sure to check Make Anaconda the default Python.

  4. SQLite
    For this workshop we're going to use the Firefox SQLite Plugin. It works through the web browser Firefox.
    • You will need the ESR (Extended Support Release) version of Firefox which can be downloaded here: Firefox ESR
    • 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 on the button below "Main Installer" Download Version x.y.z. 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. Python
    We will teach Python using the IPython notebook, a programming environment that runs in a web browser. For this to work you will need a reasonably up-to-date browser. The current versions of the Chrome, Safari and Firefox browsers are all supported (some older browsers, including Internet Explorer version 9 and below, are not).
    Video Tutorial
    1. Open http://continuum.io/downloads with your web browser.
    2. Download the Python 3 installer for OS X.
    3. Install Python 3 using all of the defaults for installation.

  4. SQLite
    For this workshop we're going to use the Firefox SQLite Plugin. It works through the web browser Firefox.
    • You will need the ESR (Extended Support Release) version of Firefox which can be downloaded here: Firefox ESR
    • 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. LibreOffice comes preinstalled with several Linux distributions. If you don't already have it, use your package manager to install it: (e.g., sudo apt-get install libreoffice for Ubuntu and other Debian-based distributions).

  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 in your terminal 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. Python
    We will teach Python using the IPython notebook, a programming environment that runs in a web browser. For this to work you will need a reasonably up-to-date browser. The current versions of the Chrome, Safari and Firefox browsers are all supported (some older browsers, including Internet Explorer version 9 and below, are not).
    Video Tutorial
    1. Open http://continuum.io/downloads with your web browser.
    2. Download the Python 3 installer for Linux.
      (Installation requires using the shell. If you aren't comfortable doing the installation yourself stop here and request help at the workshop.)
    3. Open a terminal window.
    4. Type
      bash Anaconda3-
      and then press tab. The name of the file you just downloaded should appear. If it does not, navigate to the folder where you downloaded the file, for example with:
      cd Downloads
      Then, try again.
    5. Press enter. You will follow the text-only prompts. To move through the text, press the space key. Type yes and press enter to approve the license. Press enter to approve the default location for the files. Type yes and press enter to prepend Anaconda to your PATH (this makes the Anaconda distribution the default Python).
    6. Close the terminal window.

  4. SQLite
    For this workshop we're going to use the Firefox SQLite Plugin. It works through the web browser Firefox.
    • You will need the ESR (Extended Support Release) version of Firefox which can be downloaded here: Firefox ESR
    • 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