Skip to content

This is a repository that contains all code and data needed to reproduce the results of a meta-research study looking at code (and data) sharing in ecology journals with and without code-sharing policies

License

Notifications You must be signed in to change notification settings

ASanchez-Tojar/code-sharing_policies_matter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DOI

Short title: Code-sharing policies matter

Title: Code-sharing policies are associated with increased reproducibility potential of ecological findings

Contributors: Alfredo Sánchez-Tójar, Aya Bezine, Marija Purgar, Antica Culina

Date created: November 2024

Identifer: DOI (10.5281/zenodo.14357339)

Category: Project

Code License: MIT

Data License: CC BY 4.0

Description: This repository contains the data, code and other materials used in the following study:


Alfredo Sánchez-Tójar, Aya Bezine, Marija Purgar, Antica Culina. 2024. Code-sharing policies are associated with increased reproducibility potential of ecological findings. EcoEvoRxiv. Preprint available at: DOI


The repository consists of an Rproject with 3 scripts and 3 folders containing the data either needed to run these scripts or created by these scripts, including the figures. For a detailed description of all the files, please see below. To run this repository, first download and unzipped the entire repository and open the Rproject file: analyses.Rproj. The scripts are named in the order that they should be run, from 001 to 003. For any further information about this repository, please contact: Alfredo Sánchez-Tójar, email: alfredo.tojar@gmail.com.

Information about folders and files within:

Folders:

  • code: contains all three scripts used to process, clean, standardize data, and generate figures for the project.

    • 003_plotting.R: used to import the final cleaned databases (generated by the first two scripts) and generate the figures included in the main text.
  • data: contains all raw and clean data files necessary for or generated by our three scripts.

  • figures: contains all figures generated by 003_plotting.R and included in the main text of this study.

Codebooks and metadata:

We provide a codebook and a metadata file for each of the two clean databases corresponding to journals with and without a code-sharing policy, separately. These files are in the folder codebooks_and_metadata. The codebooks were generated using the Web application of the codebook R package, available at: https://codebook.formr.org/. The metadata files were obtained, adjusted, and completed from the codebooks, and saved as separate .csv files.

Software and {Packages} used

R version 4.3.1 (2023-06-16 ucrt)

Platform: x86_64-w64-mingw32/x64 (64-bit)

Running under: Windows 10 x64 (build 19044)

  • {ggpattern} v.1.1.1
  • {patchwork} v.1.3.0
  • {ggplot2} v.3.5.1
  • {readxl} v.1.4.3
  • {dplyr} v.1.1.4
  • {stringr} v.1.5.1

About

This is a repository that contains all code and data needed to reproduce the results of a meta-research study looking at code (and data) sharing in ecology journals with and without code-sharing policies

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published