+ All Categories
Home > Documents > How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will...

How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will...

Date post: 25-Jun-2020
Category:
Upload: others
View: 0 times
Download: 0 times
Share this document with a friend
70
How to Manage Your Data Lisa Spiro June 2019 This workshop draws heavily on materials from the University of Minnesota Libraries , New England Collaborative Data Management Curriculum , MIT Libraries & DataOne.
Transcript
Page 1: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

How to Manage Your DataLisa Spiro

June 2019

This workshop draws heavily on materials from the University of Minnesota Libraries, New England Collaborative Data Management Curriculum, MIT Libraries & DataOne.

Page 2: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

Quick Poll: Raise Your Hand If You Have Ever...● Forgotten what you called a file and/or where

you put it● Discovered unnecessary duplicates, then

struggled over which to keep● Lost data due to hardware failure, lost devices,

etc.

Page 3: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

Objectives for This Session1. Understand the importance of managing data.2. Learn how to create a good data management plan.3. Name and organize your files effectively.4. Manage versions of files.5. Create tidy data.6. Document your data. 7. Know options for storing, backing up and archiving

your data.

Page 4: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

1.Why Managing Your Data Matters

Page 5: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

What Is Research Data?“recorded factual materials that are commonly accepted in the scientific community as necessary to validate research finding” (NSF)Examples:● Text, e.g. interview transcriptions & field notes● Audio & video recordings● Images● Numbers, e.g. measurements

Page 6: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

What is data management?

The process of storing, organizing, describing, preserving, and sharing data so that research results can be validated, data can be understood, and future use is facilitated. https://www.dataone.org/best-practices

Page 7: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

Why Is Managing Your Data Important?● Keep track of your data, working more efficiently.● Prevent data loss.● Uphold standards of research integrity.● Make it easier to share and re-use data.● Meet funder, university & increasingly journal

requirements.● Be kind to Future You and your collaborators.

Page 8: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

If the data you need still exists;If you found the data you need;If you understand the data you found;If you trust the data you understand;If you can use the data you trust;Someone did a good job of data management.

Rex Sanders, USGS

Page 9: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

2. Plan

Page 10: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

Typical Components of Data Management Plan (NSF)1. the types of data and other materials to be produced in

the course of the project;2. the standards to be used for data and metadata format

and content;3. policies for access & sharing including provisions for

appropriate protection of privacy, security, IP, etc.;4. policies and provisions for re-use, re-distribution, and

the production of derivatives; and5. plans for archiving data, samples, and other research

products, and for preservation of access to them.

Page 11: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

Create a Data Management Plan Using DMP Tool

https://dmptool.org/

Page 12: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

Key Principles for Data Management Planning1. Investing time in organizing your data now will

save you time later.2. Be clear and consistent.3. Work out your data management procedures

with collaborators.4. Document your procedures.5. Understand that there is no one right way; it’s

what works for you and your collaborators.

Page 13: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

3. Organize Your Data

Page 14: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

How to Create a Hierarchical File System

1. Organize your files in a predictable, easy-to-sort way.

2. Use relevant categories to organize folders (e.g. Project/Site/Date).

3. Select a meaningful naming convention for folders.

Page 15: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

Example of a Directory Structure

Nikola Vukovic

Page 16: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

What to Avoid…

Overlapping categories

MIT

Too much depth

Page 18: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

The Problem of File Names

http://phdcomics.com/comics.php?f=1323

Page 19: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

Principles for Effective File Naming● Files are distinguishable from each other within their

containing folder.

● Files are easy to locate, browse and sort.

● If files are moved to another storage platform, their names will retain useful context.

(EDINA and Data Library, n.d.) | RDMRose

Page 20: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

File Naming Best Practices

• Be descriptive: Use shared, meaningful terminology. Incorporate relevant terms such as project name, place, date, experiment, instrument, subject, etc.

Example: AirQual_Lufkin_Sensor1_201709007

• Be consistent: Use the same structure and terms across projects so that files fall into a useful order (for sorting) and you can easily identify them.

Example: AvSAT_Ric_2017 AvSAT_Ric_2016 AvSAT_UTx_2017

Page 21: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

Guidelines for File NamingGuideline ExampleAvoid special characters, like / , . # ?

Exp01a.xls, NOT Exp#1.a.xls

Don’t use blank spaces. Use CamelCharacters or _ to link together keywords.

Site01_Sensor002, NOT Site1 Sensor 2

Use yyyymmdd for dates 200180617, NOT 0617218

Use leading zeroes, e.g. 0001, 001, etc

Experiment002.xls, NOT Experiment2.xls

Page 22: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

Which file naming scheme works the best?

A. bridgedata1bridgedata2bridgedata3

B. bridge1_sensor2_02142013 bridge1_sensor2_02152013 bridge1_sensor2_02162013

C. madisonavebridge_sensor2_20130214 madisonavebridge_sensor2_20130215 madisonavebridge_sensor2_20130216

D. madisonavebridge_sensor2_feb142013 madisonavebridge_sensor2_02152013 madbridge_s2_feb162013 University of Minnesota Libraries

Page 23: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

Exercise

Instructions: Review the handout, then partner with 2-3 people to decide on a file naming system in order to sort by interviewee name.

3 minutes to discuss

University of Minnesota Libraries

Page 24: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

4. Manage versions

Page 25: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

Versioning: Which one is authoritative?DataAnalysis.xlsDataAnalysis2.xlsDataAnalysisSept2017.xlsDataAnalysisFinal.xlsDataAnalysisFinalFINAL.xls

Page 26: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

Manual Options for Managing Versions

• Retain original, raw files and significant iterations.• Use careful file naming: record major changes via whole

numbers (v01), minor via an additional number (v02_01)• Put older versions in an archive folder.• Create a version control table:

Page 27: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

Software for Managing Versions

Accessing multiple versions:• Box, Google Drive & other storage services

Version control software:• GitHub: Researchers and educators can receive GitHub Team (unlimited repositories) for free.

Page 28: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

Accessing Version History on Box.com

https://community.box.com/t5/Organizing-and-Tracking-Content/Accessing-Version-History/ta-p/50452

Page 29: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

Version Control“Version control is a system that records changes to a file or set of files over time so that you can recall specific versions later.” (Pro Git)

• See who does what.• Access any version of file.• Roll back changes.• Enable new branches of project.

Page 30: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

Manage and Access Versions of Files with Git(Hub)

Researchers and educators can receive GitHub Team (unlimited repositories) for free.

https://github.com/rzach/git4phi

Page 31: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

5. Create tidy data.

Page 32: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

The Problems with Messy Data• Difficult to analyze

• Requires time to clean

• Confusing to other users– and to Future You

• Raises questions about your credibility

Page 33: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

Keep Your Data Tidy§ Make each variable a column & each observation a row§ Make column headers variable names§ Atomize your data; put only a single piece of information

in each cell (e.g. city, state, country)§ Be consistent in how you will handle empty values (e.g.

NULL, NA, leave blank)

Page 34: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

Messy vs. Tidy Data

Wickham

Page 35: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

What issues do you see with this spreadsheet?

Stanford U Libraries

Page 36: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

6. Document your data.

Page 37: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

What information would you want to know about this file?

Page 38: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

Why Document Data?• Makes it easier for you to interpret your own data

• Facilitates collaboration, sharing, and reuse

• Promotes successful long-term preservation of data

New England Collaborative Data Management Curriculum

Page 39: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

Create a Readme File to Document a File or Directory

Typical contents:● What: title & description● When: date of data collection● Who: name & contact info of creator● Where: location where data was captured● How:

○ Method of data collection, creation or processing○ Restrictions on accessing files

https://data.research.cornell.edu/content/readme

Page 40: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

Files to replicate Sean Bolks and Richard J. Stoll, “The Arms Acquisition Process: The Effect of Internal and External Constraints on Arms Race Dynamics,” The Journal of Conflict Resolution 44, no. 5 (October 1, 2000): 580–603.

File Contenttable1.dta Stata data file with data for Table 1table1.do Stata .do file with commands to replicate Table 1table2.dta Stata data file with data for Table 2table2.do Stata .do file with commands to replicate Table

Simple Example of a ReadMe File

Page 41: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

“A codebook is an essential document that informs the data user about the study, data file(s), variables, categories, etc., that make up a complete dataset. The codebook may include a dataset’s record layout, list of variable names and labels, concepts, categories, cases, missing value codes, frequency counts, notes, universe statements, and so on.”http://www.ddialliance.org/training/getting-started-new-content/create-a-codebook

Create a Codebook to Describe the Contents of Data Files

Page 43: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

ExerciseThink through creating a readme file for one of your datasets (real or imagined) or the “Dr. Psi” data using this template from Cornell.

See “Guidelines for writing ‘readme’ style metadata” http://data.research.cornell.edu/sites/default/files/SciMD_ReadMe_Guidelines_v4_1_0.pdf

Page 44: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

7. Store, Backup and Archive Data

Page 45: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

Data Storage Definition● The media (optical or magnetic) to which you

save your data files and software.● All storage media are vulnerable to risk and

obsolescence.● Storage media should be evaluated and

updated every 2-5 years.

New England Collaborative Data Management Curriculum

Page 46: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

Data Backup Definition● Allows you to restore your data if original data is

lost or damaged due to:○ Hardware or software malfunction○ Environmental disaster (fire, flood)○ Theft○ Unauthorized access

>> TEST YOUR BACKUP PLAN!New England Collaborative Data Management Curriculum

Page 47: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

3-2-1 Backup RuleSave 3 copies of your data.

Use 2 types of storage.

Keep 1 remote copy.

3

2

1

Page 48: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

Overview of Data Storage, Backup and Sharing Options at Rice

Options for faculty/ staff: https://kb.rice.edu/page.php?id=70762Options for students: https://kb.rice.edu/page.php?id=65636

Network or Cloud Storage● storage.rice.edu - U: drive, departmental shares● Research Data Facility (RDF) - larger scale storage for research

Rice Box: unlimited cloud storageBackup Options● storage.rice.edu backups/snapshots● Crash Plan for Rice workstations

Data Sharing- Globus Connect

Page 49: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

storage.rice.edu● Location: Networked● Storage quotas

○ Undergraduates: 2 GB○ Graduates, Staff, Faculty: 5 GB○ Colleges, Depts, Centers, Institutes: 40 GB

● Performance - Subject to network● Accessibility

○ NetID folder: Private, not shared○ Groups: Any Rice NetID holder by request

Page 50: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

Accessing your backups on storage

\\storage.rice.edu\?-home\~snapshot

Page 51: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

Research Data Facility● Location: On Site network data shares● Storage quotas

○ 500GB per researcher○ Additional storage available with cost recovery

● Performance - Subject to network● Accessibility

○ Based on NetID and ADRICE security groups○ Can be shared to multiple users in a research group

Page 54: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

Security and Rice Box“Box encrypts all data it stores, allow for granular access controls, and facilitates access monitoring. Folders must be properly configured to take full advantage of these security enhancements.”

See Box User Guidelines - Rice DataIncludes recommended settings for sharing, tagging, notifications, and more.Contact Help Desk about high risk & confidential data.

Page 55: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

Backup: CrashPlan● Availability: Rice-owned computers● Cost: $82.56/year/person (up to 4 devices)● Location: Off-site cloud storage● Procedure: Incremental● Frequency: Adjustable up to every minute● Retention: Adjustable up to forever

https://kb.rice.edu/page.php?id=72955

Page 56: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

CrashPlan PROe or crashplan.rice.edu

Page 57: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

Sharing: Globus Connect● Widely used service for large data exchange

between participating institutions● Can be used in our HPC environment or from your

desktop with Globus Connect Personal● Accessibility

○ Contact Center for Research Computing to be added to license

○ Arrange for access to peer institution end pointshttps://www.globus.org/globus-connect

Page 58: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

Confidential and Regulated Data (High Risk)

• Health Information, including Protected Health Information• Health Insurance policy ID numbers• Social Security Numbers• Credit card numbers• Financial account numbers• Export controlled information under U.S. laws• Driver's license, passport and visa numbers• Donor contact information and non-public gift information• Rice data classified as confidential under policy 808, e.g. birth

dates

Page 59: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

Securing Your DataProvide appropriate security for data (e.g. anti-virus protection, access control, encryption, de-identification of data).

Page 60: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

Consult IT regarding data security

https://vpit.rice.edu/it-security/resources/risk-classifications/approved-services

Page 61: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

Data Archiving Definition● Provides a final version of your data.

● Stored for the long-term.

● May be shared publicly through a data archive.

Page 62: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

Why Archive Your Research Data with a Data Repository?

● Conform to publisher or funder requirements● Get cited

○ “studies that made [gene expression microarray] data available in a public repository received 9% … more citations than similar studies for which the data was not made available.” (Piowowar & Vision, 2013)

● Promote future research

Page 63: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

Data Archiving OptionsPublic Repositories:● Discipline based repository (e.g. GenBank or PANGEA)● General data repository (e.g. FigShare or Dataverse)● Institutional repository (e.g. Rice Digital Scholarship

Archive)

Private Approaches:● Long-term storage

Page 64: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

Rice Data Sharing Option: Rice Digital Scholarship Archive

https://scholarship.rice.edu/

Page 65: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

Data Archiving Caveats● Do not share confidential data (unless it has

been de-identified and approved through IRB).● Consult with your collaborators before

publishing data.● It may be possible to embargo data so that it is

not available until the related publication is released.

Page 66: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

What Does Research Data Services Offer?

https://library.rice.edu/research-data-services

• Workshops on R, Python, Excel, etc. (including upcoming 2 day workshops from Software Carpentry)

• Consulting on finding, analyzing, managing, and visualizing data, including during Friday office hours

• Publishing and preserving data through the Rice Digital Scholarship Archive; providing DOIs

• Reviewing data management plans

Page 67: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

Tools and Resources

Page 68: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

Use OSF to Manage Your Research Workflow and Collaborate

• Organize files in one place

• Share with collaborators• Control files access• Integrate with tools like

Box• Track versions• Make work citable • Facilitate reproducibility• Free & open sourcehttps://osf.io/

Page 69: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

ResourcesBorer, Elizabeth T., et al “Some Simple Guidelines for Effective Data Management.”

Bulletin of the Ecological Society of America (2009): 205–14.DataOne Primer on Data Management,

https://www.dataone.org/sites/all/documents/DataONE_BP_Primer_020212.pdfDataverse, Data Management Plans, http://best-practices.dataverse.org/data-

management/ICPSR Guide to Social Science Data Preparation and Archiving,

http://www.icpsr.umich.edu/icpsrweb/content/deposit/guide/Svend Juul et al, “Take good care of your data,”

http://www.epidata.dk/downloads/takecare.pdfUK Data Archive, Managing and Sharing Data: Best Practices for Researchers,

http://www.data-archive.ac.uk/media/2894/managingsharing.pdf

Page 70: How to Manage Your Data - Fondren Library · 1. Investing time in organizing your data now will save you time later. 2. Be clear and consistent. 3. Work out your data management procedures

Thanks!Please contact [email protected] with any questions.Visit us online at http://researchdata.rice.edu/.Help us shape future workshops! Please complete this evaluation: http://library.rice.edu/requests/course-evaluation-form


Recommended