All Projects → bdcaf → cookiecutter-r-data-analysis

bdcaf / cookiecutter-r-data-analysis

Licence: MIT License
cookie cutter template for my r workflow

Programming Languages

TeX
3793 projects
Makefile
30231 projects
perl
6916 projects
r
7636 projects
python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to cookiecutter-r-data-analysis

Cookiecutter
DEPRECIATED! Please use nf-core/tools instead
Stars: ✭ 18 (-5.26%)
Mutual labels:  workflow, cookiecutter
craft-text-detector
Packaged, Pytorch-based, easy to use, cross-platform version of the CRAFT text detector
Stars: ✭ 151 (+694.74%)
Mutual labels:  workflow
cookiecutter-flask-skeleton
Flask Starter Project
Stars: ✭ 56 (+194.74%)
Mutual labels:  cookiecutter
open-development-template
Workflow and documentation templates that help teams formalize their goals, workflow and governance model to encourage participation and field contributions.
Stars: ✭ 18 (-5.26%)
Mutual labels:  workflow
scoopi-scraper
Scoopi Web Scraper is a heavy duty tool to extract data from HTML pages.
Stars: ✭ 18 (-5.26%)
Mutual labels:  workflow
orange-canvas-core
Orange Canvas core workflow editor
Stars: ✭ 21 (+10.53%)
Mutual labels:  workflow
actionsflow-workflow-default
Actionsflow workflow template repository. The best Zapier/IFTTT free alternative for developers to automate your workflows based on Github actions
Stars: ✭ 20 (+5.26%)
Mutual labels:  workflow
alfred-mailto
Send emails to recipients and groups from Alfred
Stars: ✭ 59 (+210.53%)
Mutual labels:  workflow
polystores
A library for performing hyperparameter optimization
Stars: ✭ 48 (+152.63%)
Mutual labels:  workflow
ACEseqWorkflow
Allele-specific copy number estimation with whole genome sequencing
Stars: ✭ 19 (+0%)
Mutual labels:  workflow
veridical-flow
Making it easier to build stable, trustworthy data-science pipelines.
Stars: ✭ 28 (+47.37%)
Mutual labels:  workflow
goobi-workflow
Goobi workflow - Workflow management software for digitisation projects used in more than 70 cultural heritage institutions in at least 17 countries.
Stars: ✭ 43 (+126.32%)
Mutual labels:  workflow
elegant-git
Elegant Git is an assistant who carefully automates routine work with Git.
Stars: ✭ 38 (+100%)
Mutual labels:  workflow
Notselwyn
NotSelwyn's over-engineered automatic profile readme
Stars: ✭ 15 (-21.05%)
Mutual labels:  workflow
jekyll-deploy-action
🪂 A Github Action to deploy the Jekyll site conveniently for GitHub Pages.
Stars: ✭ 162 (+752.63%)
Mutual labels:  workflow
alfred-packagist
Alfred workflow to search for PHP packages with Packagist
Stars: ✭ 21 (+10.53%)
Mutual labels:  workflow
outside-collaborators
Automatically Manage Outside Collaborators Organization-wide
Stars: ✭ 45 (+136.84%)
Mutual labels:  workflow
zenaton-ruby
💎 Ruby gem to run and orchestrate background jobs with Zenaton Workflow Engine
Stars: ✭ 32 (+68.42%)
Mutual labels:  workflow
benten
A language server for Common Workflow Language
Stars: ✭ 50 (+163.16%)
Mutual labels:  workflow
iSkyLIMS
is an open-source LIMS (laboratory Information Management System) for Next Generation Sequencing sample management, statistics and reports, and bioinformatics analysis service management.
Stars: ✭ 33 (+73.68%)
Mutual labels:  workflow

R data analysis template

Over years I came up with a quite standardized template. Though it usually degraded to copying a number of files from previous projects. With this template I try to formalize this approach.

cookiecutter is a tool to template new project files and folder structures. It still seems quite active and has templates beyond a single language it seems a promising home for this task.

These templates also contain some sample code for my reference how to achieve typical tasks. The most code is written in R files and derivatives like .Rmd and .Rnw. But I also make use of make for building the project, and additionale shell utilities like latexmk and pandoc. At some future point I will provide a setup script - at the moment you will need to weed through dependencies manually.

Requirements

Install cookiecutter command line: pip install cookiecutter

Or with homebrew cookiecutter command line: brew install cookiecutter

Usage

Generate a new Cookiecutter template layout: cookiecutter gh:bdcaf/cookiecutter-r-data-analysis. It creates a minimal project that can be run typing make. Explore the Readme.md in the generated directory for more.

If your .cookiecutterrc is configured a quicker start is: cookiecutter gh:bdcaf/cookiecutter-r-data-analysis project_name="This is Magic"

Note Many functions used require that the project is a valid R package. The slug must be a valid package name, therefore it must only consist of characters, numbers and ., also it must start with a character. I wrote a simple replacement for spaces to dots, but for the rest you are on your own!

Requirements

Besides cookiecutters dependencies it uses make, a perl script for dependency discovery.

Obviously a working R installation is also required. To have the automatic loading of code in R the devtools package is required. For the creation of reports knitr is required.

The exemplary work flow has plenty of dependencies. The main ones are:

  • R with knitr, pander, dplyr, ggplot packages
  • pandoc to convert into Word file
  • latex for pdf generation
  • curl to download the example data

License

This project is licensed under the terms of the MIT License

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].