Spring 2014 Data Management Lab: Session 2 Slides (more details at http://ulib.iupui.edu/digitalscholarship/dataservices/datamgmtlab)
What you will learn:
1. Build awareness of research data management issues associated with digital data.
2. Introduce methods to address common data management issues and facilitate data integrity.
3. Introduce institutional resources supporting effective data management methods.
4. Build proficiency in applying these methods.
5. Build strategic skills that enable attendees to solve new data management problems.
3. DMP
Data map: complete the partially mapped
research question
OR
Start your own data map
Don’t forget to upload your DMP to Box.
Suggested file name: DMP_20140401
7. What is Metadata
DATADETAILS
Time of data development
Specific details about problems with individual items or
specific dates are lost relatively rapidly
General details about datasets are
lost through time
Accident or
technology
change may
make data
unusable
Retirement or career change
makes access to “mental
storage” difficult or unlikely
Loss of data
developer leads to
loss of remaining
information
TIME (From Michener et al 1997)
8. Why do we document?
“Scientific publications have at least two goals:
(i) to announce a result and (ii) to convince
readers that the result is correct… papers in
experimental science should describe the results
and provide a clear enough protocol to allow
successful repetition and extension”
-Mesirov, 2010
9. Analysis and Workflows
• Reproducibility at core of scientific method
• Complex process = more difficult to reproduce
• Good documentation required for reproducibility
o Metadata: data about data
o Process metadata: data about process used to create, manipulate,
and analyze data
CCimagebyRichardCarteronFlickr
Provenance: where your data
came from and what has been
done to it
Crucial for replication/
reproducibility
10. Why do we document?
• Provide an accurate, reliable record of your work
– Including all the details you will not remember when
it’s time to write up the project
• Facilitate writing of high quality publications
• Necessary for reproducibility, a core principle of
scientific process
• Establish provenance
– Relevant to commercial application and patents
(legal), defending your publications (scientific),
responsible conduct of research (scientific)
11. Best Practices
Best Practices for Preparing Ecological Data Sets, ESA, August 2010
The 20-Year Rule
• The metadata accompanying a data set should be
written for a user 20 years into the future--what
does that investigator need to know to use the
data?
• Prepare the data and documentation for a user
who is unfamiliar with your project, methods, and
observations
11
13. What?
• Everything that is crucial for others to
understand, interpret, evaluate, and build on
your work
• What do YOU think?
• Metadata should capture the who, what,
when, where, how, why of your data
14. Think-Pair-Share
What do you think you need to document
about your project?
Share with your partner/group
Share with the class
15. What? How much?
Project-level
• Project history, aims, objectives and hypotheses
• Data collection methods: data collection protocol, sampling design,
instruments, hardware and software used, data scale and resolution,
temporal coverage and geographic coverage
• Dataset structure of data files, cases, relationships between files
• Data sources used (enough detail to find it again)
• Data validation, checking, proofing, cleaning and other quality assurance
procedures carried out
• Modifications made to data over time since their original creation and
identification of different versions of datasets
• Information on data confidentiality, access and use conditions
16. What? How much?
Data-level
• Names, labels and descriptions for variables, records and their values
• Units of measurement
• Explanation of codes and classification schemes used
• Codes of, and reasons for, missing values
• Derived data created after collection, with code, algorithm or command
file used to create them
• Weighting and grossing variables created
• Data listing with descriptions for cases, individuals or items studied
• Equipment, instruments, or other data collection tools used
• Field, lab, or interview conditions
17. What? How much?
• What went right
– So you can repeat/replicate it
• What went wrong
– So you can determine the cause (e.g., human error,
machine error, etc.) and prevent it from happening again
18. Some Effective Strategies
• Data
– Data models
– Data dictionaries
– Metadata
• Project (see Documentation Instructions for
examples)
– Procedures Manual
– Protocols
– Lab Notebooks
– Codebook
– Reference Libraries
20. Data Dictionary
A description of all study variables; for each variable:
• Variable name
• Role of the variable (analytical)
• Variable label
• Unit of measurement (if applicable)
• Type of variable
• Permissible values or range of values
• Definitions of redefined or derived variables
• Additional edits to be performed (logic & consistency)
21.
22. What is Metadata?
• A structured set of terms describing a defined world
– Standardized
– Structured
• Metadata can be created automatically or manually
• Ex: ClinicalTrials.gov
23. Why Use/Create Metadata?
• Metadata is critical for communicating context for data
• How is metadata used?
– To find things
– To describe things
– To merge things
• Metadata standards define a common set of terms and
structure to communicate information
– Enables consistency, shared definitions, shared language, and
shared structure for interoperability
• Different standards have been developed for different
purposes (social science data, clinical trials, ecology)
27. Think-Pair-Share
Transform narrative description to structured
metadata using the provided template.
Write the information corresponding to the field
on your index card.
Abstract at http://doi.org/10.1542/peds.2013-
1488
32. LEARNING
OUTCOMES
• Develop a consistent and
coherent file organization
and naming convention
scheme for all project
files.
• Select appropriate non-
proprietary hardware and
software formats for
storing data.
• Create protected copies
of files at crucial points in
your study
• Use versioning software
or documentation for
tracking changes to files
over time.
33. File Organization & Naming
• Be Clear, Concise, Consistent, Correct, and
Conformant
• Consider what is necessary to find and access
files in next year and when the project is
complete.
• Develop a scheme and use it.
• Track changes.
34. Organization: Filing v. Piling
• Filing (hierarchical)
– When organizing files, directory top-level folder
should include the project title, unique identifier, and
date (year).
– The substructure should have a clear, documented
naming convention; for example, each run of an
experiment, each version of a dataset, and/or each
person in the group.
• Piling (tags)
– All files in one directory, rely on sorting and searching.
38. Naming Files
• Be Clear, Concise, Consistent, Correct, and
Conformant
• Make it meaningful
• Remember the purpose is to provide context
39. Elements of a File Name
• Project/grant name and/or number
• Date of creation/modification
• Name of creator/investigator: last name first
followed by (initials of) first name
• Research team/department associated with the data
• Content or subject descriptor
• Data collection method (instrument, site, etc.)
• Version number
• Project phase
41. Technical Tips
• For sequential numbering, use leading zeros.
– For example, a sequence of 1-10 should be numbered 01-10; a
sequence of 1-100 should be numbered 001-010-100.
• No special characters in file names
& , * % # ; * ( ) ! @$ ^ ~ ' { } [ ] ? < > -
• Use only one period ONLY before the file extension (e.g.
name_paper.doc NOT name.paper.doc OR
name_paper..doc)
?Will your files still be unique and comprehensible
if moved to another location
42. Think-Pair-Share
• Develop a file naming scheme for your
project (enter it in your DMP).
• Share it with your partner.
• Share with class.
43. File Formats
• Choose formats that are more likely to be accessible
in the future (10-20 years)
– Non-proprietary
– Open, documented standard
– Commonly used
– Standardized (ASCII, Unicode)
• Also, if possible
– Unencrypted
– Uncompressed
• Ex: PDF/A (not .doc/x), ASCII (not .xls/x), MPEG-4,
TIFF or JPEG2000, XML or RDF (not RDBMS)
44. Master Files
• Provides snapshots of key phases in the data
life cycle
– Raw
– Cleaned
– Phases of processing
• In combination with detailed documentation,
these files make write-up easier and supports
reproducibility and reuse
• Demonstrate provenance (i.e., an audit trail)
45. Version Control
• Manual – file names
– Sequential numbered system
– Dated
• Automatic – version control software
– Mercurial
– TortoiseSVN
– GitHub
• Keep log files, supplement with documentation
(e.g., readme.txt, comments, etc.)
46. DMP
Sections to work on:
• Format (revise)
–Are you choosing the best formats?
• Data organization (write)
–File & Folder structure
–File naming convention
–Master files/Data locks
47. References
1. DataONE Education Module: Data Management Planning. DataONE. From
http://www.dataone.org/sites/all/
documents/L03_DataManagementPlanning.pptx
2. DataONE Education Module: Data Citation. DataONE. From
http://www.dataone.org/sites/all/documents/L09_DataCitation.pptx
3. McNeill, K. (2013). Research Data Management: File Organization. From:
http://libraries.mit.edu/guides/subjects/data-
management/File%20Organization_JulyAP2013.pdf
4. MIT. (2014). Organizing your files. From:
http://libraries.mit.edu/guides/subjects/data-management/organizing.html
5. Savage, A. (nd). Mythbusters. From http://weknowmemes.com/2012/10/
the-only-difference-between-screwing-around-and-science/
6. Whitmire, A. (2014). Research Data Management – Organizing Your Data.
From http://guides.library.oregonstate.edu/grad521lectures