Skip to content

ProjectTIER/ProjectTIER_R

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 

Repository files navigation

The TIER Documentation Protocol v3.0 for R

Overview

The TIER Documentation Protocol provides instructions for assembling a set of electronic files that document all the steps of data processing and analysis you conduct for an empirical research paper.

The documentation specified by the Protocol contains all the data, computer programs, and explanatory information an independent researcher would need to be able to replicate the data processing and analysis you conducted for the project and to reproduce exactly all the results reported in your paper.

ProjectTIER_R repository

The instructions presented in this repository are written for users of R. In a few places, they use R-specific terminology. For example, we refer to command files as scripts, and their names are followed by the .R extension. But the R-specific terminology that appears in these instructions can be easily translated to any of the major statistical packages (such as SPSS, SAS, Stata or Matlab) or other programming languages.

Getting started

To get started you can fork and then clone this repository which will create a copy of the folder structure recommended in the Project TIER protocol, or click the "Clone or Download" button to download a ZIP file of the structure.

Below we describe how to organize your analysis according to the Project TIER protocol, i.e. which components of your analysis should go into which folder.

Hierarchy and description of files and folders

Your repository should have the following hierarchy of files and folders:

  • An electronic copy of your complete final paper. Often, this means:
    • An .Rmd file with all the text and code to produce the final paper
    • A knitted HTML or PDF file of the complete paper
  • The README.md file for your repository
  • Original Data and Metadata - original-data
    • Metadata - metadata
      • Metadata Guide - metadata_guide.md
      • Supplements - supplements
  • Processing and Analysis - processing-and-analysis
    • Importable Data - importable-data
    • Command Files - command-files
    • Analysis Data - analysis-data

Contents of these files and folders are described in the README files within these folders.

README

The README.md file in the top hierarchy of your repository (this file) gives information about all the other files included in the documentation for your paper. In particular, the README file should:

  1. state what statistical software or other computer programs are needed to run the command files.
  2. explain the structure of the hierarchy of folders in which the documentation is stored, and briefly describe each of the files included in the documentation.
  3. describe precisely any changes you made to your original data files to create the corresponding versions saved in your importable-data folder.
  4. give explicit, step-by-step instructions for using your documentation to replicate the statistical results reported in your paper.

The README should be a Markdown document so that it can be rendered properly on GitHub, and any changes can be tracked. It should be named README.md. This file should be stored in the top level of your repository.

About

The TIER Documentation Protocol v3.0 for R

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published