Skip to content

Latest commit

 

History

History
250 lines (209 loc) · 11.4 KB

File metadata and controls

250 lines (209 loc) · 11.4 KB

FAIR Software & Data

The following material is paraphrased from the NIST-internal Data Sponsorship repository by @tkphd. We have included it here to promote FAIR-ness. If you think we could do better implementing FAIR practices in this repositoy, please suggest updates in the "Issues" tab!

Table of Contents

FAIR principles

What does FAIR even mean? The following sections reproduce the summary from Go FAIR, based on the original FAIR paper.

Think you know FAIR? Please use this tool to check your awareness!

Findable

The first step in (re)using data is to find them. Metadata and data should be easy to find for both humans and computers. Machine-readable metadata are essential for automatic discovery of datasets and services, so this is an essential component of the FAIRification process.

  1. (Meta)data are assigned a globally unique and persistent identifier
  2. Data are described with rich metadata (defined by R1 below)
  3. Metadata clearly and explicitly include the identifier of the data they describe
  4. (Meta)data are registered or indexed in a searchable resource

Accessible

Once the user finds the required data, she/he/they need to know how can they be accessed, possibly including authentication and authorisation.

  1. (Meta)data are retrievable by their identifier using a standardised communications protocol
    1. The protocol is open, free, and universally implementable
    2. The protocol allows for an authentication and authorisation procedure, where necessary
  2. Metadata are accessible, even when the data are no longer available

Interoperable

The data usually need to be integrated with other data. In addition, the data need to interoperate with applications or workflows for analysis, storage, and processing.

  1. (Meta)data use a formal, accessible, shared, and broadly applicable language for knowledge representation.
  2. (Meta)data use vocabularies that follow FAIR principles
  3. (Meta)data include qualified references to other (meta)data

Reusable

The ultimate goal of FAIR is to optimise the reuse of data. To achieve this, metadata and data should be well-described so that they can be replicated and/or combined in different settings.

  1. (Meta)data are richly described with a plurality of accurate and relevant attributes
    1. (Meta)data are released with a clear and accessible data usage license
    2. (Meta)data are associated with detailed provenance
    3. (Meta)data meet domain-relevant community standards

What's good enough?

Good enough practices in scientific computing is an excellent paper outlining what you need to do to produce good science in a FAIR frame of mind.

tl;dr follows.

Data management

  1. Save the raw data.
  2. Ensure that raw data are backed up in more than one location.
  3. Create the data you wish to see in the world.
  4. Create analysis-friendly data.
  5. Record all the steps used to process data.
  6. Anticipate the need to use multiple tables, and use a unique identifier for every record.
  7. Submit data to a reputable DOI-issuing repository so that others can access and cite it.

Software

  1. Place a brief explanatory comment at the start of every program.
  2. Decompose programs into functions.
  3. Be ruthless about eliminating duplication.
  4. Always search for well-maintained software libraries that do what you need.
  5. Test libraries before relying on them.
  6. Give functions and variables meaningful names.
  7. Make dependencies and requirements explicit.
  8. Do not comment and uncomment sections of code to control a program's behavior.
  9. Provide a simple example or test data set.
  10. Submit code to a reputable DOI-issuing repository.

Collaboration

  1. Create an overview of your project.
  2. Create a shared "to-do" list for the project.
  3. Decide on communication strategies.
  4. Make the license explicit.
  5. Make the project citable.

Project organization

  1. Put each project in its own directory, which is named after the project.
  2. Put text documents associated with the project in the doc directory.
  3. Put raw data and metadata in a data directory and files generated during cleanup and analysis in a results directory.
  4. Put project source code in the src directory.
  5. Put external scripts or compiled programs in the bin directory.
  6. Name all files to reflect their content or function.

Keeping track of changes

  1. Back up (almost) everything created by a human being as soon as it is created.
  2. Keep changes small.
  3. Share changes frequently.
  4. Create, maintain, and use a checklist for saving and sharing changes to the project.
  5. Store each project in a folder that is mirrored off the researcher's working machine.
  6. Add a file called CHANGELOG.md to the project's docs subfolder.
  7. Copy the entire project whenever a significant change has been made.
  8. Use a version control system.

Manuscripts

  1. Write manuscripts using online tools with rich formatting, change tracking, and reference management.
  2. Write the manuscript in a plain text format that permits version control.

Links

Some more general FAIR resources:

Institutional guidance: