Jun 12-13, 2018
9:00 - 4:30 pm
Instructors: Rebecca Dikow, Vanessa Gonzalez, Matthew Kweskin, Mike Trizna
Helpers: Mirian Tsuchiya, Mauro Lepore
Data Carpentry develops and teaches workshops on the fundamental data skills needed to conduct research. Its target audience is researchers who have little to no prior computational experience, and its lessons are domain specific, building on learners' existing knowledge to enable them to quickly apply skills learned to their own research. Participants will be encouraged to help one another and to apply what they have learned to their own research problems.
For more information on what we teach and why, please see our paper "Good Enough Practices for Scientific Computing".
Who: The workshop is for Smithsonian badge holders at any SI Unit working with research data. You don't need to have any previous knowledge of the tools that will be presented at the workshop.
Where: 10th St NW and Constitution Ave NW, Washington DC. Get directions with OpenStreetMap or Google Maps.
Room: WG 33
When: Jun 12-13, 2018. Attendees must attend entire workshop. 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. This computer must be able to connect to the Smithsonian's SI-Staff wifi network which requires an SI network account. They should have a few specific software packages installed (listed below). They are also required to abide by Data Carpentry's Code of Conduct.
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 SI-DataScience@si.edu for more information.
Please enter your information in the embedded Google Form below...
Please be sure to complete these surveys before and after the workshop.
Before starting | Pre-workshop survey |
Morning | Lesson 1: Project organization and management |
Afternoon | Lesson 2: Introduction to the command line |
Morning | Lesson 3: Data wrangling and processing |
Afternoon | Lesson 4: Data analysis and visualization in Python |
Evening | Post-workshop survey |
END |
We will use this collaborative document for chatting, taking notes, and sharing URLs and bits of code.
Workshop Lessons: https://smithsonianworkshops.github.io/2018-06-12-nmnh/lessons_index.html
To participate in a Data 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.
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, try
typing the escape 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. To install it, download the Data Carpentry Windows installer and double click on the file to run it. This installer requires an active internet connection.
Others editors that you can use are Notepad++ or Sublime Text. Be aware that you must add its installation directory to your system path. 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 (free version is fine) 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.
We'll be doing much of the work in this workshop using the Smithsonian High-Performance Computing Cluster (Hydra). The connection to Hydra is through a terminal emulator on your computer you will use to log into the system. Mac and Linux systems have a terminal emulator built-in. In Windows you'll need to download a program that allows connections via ssh. The built-in Windows command prompt does not have that capability.
The Windows terminal emulator we recommend is PuTTY. The installer for PuTTY can be found on the Putty download page. For most Windows systems (64-bit) you'll want "putty-64bit-0.XX-installer.msi". If you don't have admin privileges to your Windows system, you can download "putty.exe" which can be run directly without admin rights.
The Mac Terinal program can be found in the Utilities directory inside of your computer's Applications directory.
Look for a program called "Terminal" in your Linux system.
To assist transferring of files to the Hydra cluster, we suggest
installing a GUI based file transfer program that will transfer
using the scp
or sftp
protocols. The
program that is approved for use on Smithsonian computers is
Filezilla.
filezilla
executable in the bin directory.Python is a popular language for research computing, and great for general-purpose programming as well. Installing all of its research packages individually can be a bit difficult, so we recommend Anaconda, an all-in-one installer.
Regardless of how you choose to install it, please make sure you install Python version 3.x (e.g., 3.6 is fine).
We will teach Python using the Jupyter 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).
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 DownloadsThen, try again.
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).