University of Arizona

Aug 22-23, 2019

9:00 am - 4:30 pm

Instructors: Jennifer Nichols, Jeff Oliver, Niamh Wallace, Fernando Rios

Helpers: Lauren Washuk

Registration

If you are interested in attending any of the sessions, please register at https://forms.gle/8Mh92g1eBDme7SVCA

General Information

Library Carpentry is made by people working in library- and information-related roles to help you:

Library Carpentry introduces you to the fundamentals of computing and provides you with a platform for further self-directed learning. For more information on what we teach and why, please see our paper "Library Carpentry: software skills training for library professionals".

Who: The course is for people working in library- and information-related roles. You don't need to have any previous knowledge of the tools that will be presented at the workshop.

Where: Room A313, Main Library, University of Arizona, Tucson, AZ. Get directions with OpenStreetMap or Google Maps.

When: Aug 22-23, 2019. Add to your Google Calendar.

Requirements: Participants must bring a laptop with a Mac, Linux, or Windows operating system (not a tablet, Chromebook, etc.) that they have administrative privileges on. They should have a few specific software packages installed (listed below).

Code of Conduct: Everyone who participates in Carpentries activities is required to conform to the Code of Conduct. This document also outlines how to report an incident if needed.

Accessibility: We are committed to making this workshop accessible to everybody. The workshop organizers have checked that:

Materials will be provided in advance of the workshop and large-print handouts are available if needed by notifying the organizers in advance. If we can help making learning easier for you (e.g. sign-language interpreters, lactation facilities) please get in touch (using contact details below) and we will attempt to provide them.

Contact: Please email jcoliver@email.arizona.edu for more information.


Surveys

Please be sure to complete these surveys before and after the workshop.

Pre-workshop Survey

Post-workshop Survey


Schedule

Day 1

09:00 Data Intro for Librarians
10:30 Morning break
12:00 Lunch break
13:00 OpenRefine for Librarians
14:30 Afternoon break
16:00 Wrap-up
16:30 END

Day 2

09:00 Tidy Data for Librarians
10:30 Morning break
12:00 Lunch break
13:00 SQL
14:30 Afternoon break
16:00 Wrap-up
16:30 END

We will use this collaborative document for chatting, taking notes, and sharing URLs and bits of code.


Setup

To participate in a Library Carpentry workshop, you will need access to the software described below. In addition, you will need an up-to-date web browser.

We maintain a list of common issues that occur during installation as a reference for instructors that may be useful on the Configuration Problems and Solutions wiki page.

Text Editor

When you're writing code, it's nice to have a text editor that is optimized for writing code, with features like automatic color-coding of key words. The default text editor on macOS and Linux is usually set to Vim, which is not famous for being intuitive. If you accidentally find yourself stuck in it, hit the Esc key, followed by :+Q+! (colon, lower-case 'q', exclamation mark), then hitting Return to return to the shell.

nano is a basic editor and the default that instructors use in the workshop. It is installed along with Git.

Others editors that you can use are Notepad++ or Sublime Text. Please ask your instructor to help you do this.

nano is a basic editor and the default that instructors use in the workshop. See the Git installation video tutorial for an example on how to open nano. It should be pre-installed.

Others editors that you can use are BBEdit or Sublime Text.

nano is a basic editor and the default that instructors use in the workshop. It should be pre-installed.

Others editors that you can use are Gedit, Kate or Sublime Text.

OpenRefine

For this lesson you will need OpenRefine and a web browser. Note: this is a Java program that runs on your machine (not in the cloud). It runs inside a web browser, but no web connection is needed. You will also need to download the doaj-article-sample.csv data file (NOTE: In Safari, right click and select download linked file; in Chrome and Firefox, right click and select save link as).

Check that you have either the Firefox or the Chrome browser installed and set as your default browser. OpenRefine runs in your default browser. It will not run correctly in Internet Explorer.

Download software from http://openrefine.org/

Create a new directory called OpenRefine.

Unzip the downloaded file into the OpenRefine directory by right-clicking and selecting "Extract ...".

Go to your newly created OpenRefine directory.

Launch OpenRefine by clicking openrefine.exe (this will launch a command prompt window, but you can ignore that - just wait for OpenRefine to open in the browser).

If you are using a different browser, or if OpenRefine does not automatically open for you, point your browser at http://127.0.0.1:3333/ or http://localhost:3333 to use the program.

Check that you have either the Firefox or the Chrome browser installed and set as your default browser. OpenRefine runs in your default browser. It may not run correctly in Safari.

Download software from http://openrefine.org/.

Create a new directory called OpenRefine.

Unzip the downloaded file into the OpenRefine directory by double-clicking it.

Go to your newly created OpenRefine directory.

Launch OpenRefine by dragging the icon into the Applications folder.

Use Ctrl-click/Open ... to launch it.

If you are using a different browser, or if OpenRefine does not automatically open for you, point your browser at http://127.0.0.1:3333/ or http://localhost:3333 to use the program.

Check that you have either the Firefox or the Chrome browser installed and set as your default browser. OpenRefine runs in your default browser.

Download software from http://openrefine.org/.

Make a directory called OpenRefine.

Unzip the downloaded file into the OpenRefine directory.

Go to your newly created OpenRefine directory.

Launch OpenRefine by entering ./refine into the terminal within the OpenRefine directory.

If you are using a different browser, or if OpenRefine does not automatically open for you, point your browser at http://127.0.0.1:3333/ or http://localhost:3333 to use the program.

DB Browser for SQLite

SQL is a specialized programming language used with databases. We use a simple database manager called DB Browser for SQLite in our lessons.

You will need to install DB Browser for SQLite to complete these lessons (see below for operating system-specific links). DB Browser for SQLite provides a graphical user interface for connecting to and interacting with a SQLite database. This application bundles SQLite, so you won't need to install SQLite separately. Note: on Windows, the PortableApp download is recommended as the regular version may take a long time to install on certain systems.

The data

To import data, you'll need to open DB Browser for SQLite and download a zip file containing the data files for this tutorial.

  1. Download the data files doaj-article-sample.zip from Zenodo.
  2. Open the zip file with the zip utlity on your machine and save the folder and files to a location where you can easily find them. For example, your Desktop.
  3. Open DB Browser for SQLite.
  4. Choose File->Open Database from the menu bar at the top of your screen.
  5. Navigate to where you saved the doaj-article-sample folder and/or files. For example, your Desktop.
  6. Select doaj-article-sample.db.

Visit SqliteBrowser and download and install it. Version 3.11.0 or greater.

Visit SqliteBrowser and download and install it. Version 3.11.0 or greater.

Visit SqliteBrowser and download and install it. Version 3.11.0 or greater.