sketchy

create and manage research compendiums for data analysis

https://github.com/marce10/sketchy

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (19.3%) to scientific vocabulary

Keywords

compendium r research

Keywords from Contributors

animal-acoustic-signals bioacoustics spectrogram streamline-analysis
Last synced: 6 months ago · JSON representation

Repository

create and manage research compendiums for data analysis

Basic Info
Statistics
  • Stars: 3
  • Watchers: 2
  • Forks: 0
  • Open Issues: 7
  • Releases: 0
Topics
compendium r research
Created over 5 years ago · Last pushed 6 months ago
Metadata Files
Readme Changelog

README.Rmd

---
title: "sketchy: create custom research compendiums"
output: github_document
editor_options: 
  chunk_output_type: console
---




[![lifecycle](https://img.shields.io/badge/lifecycle-maturing-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html) [![Dependencies](https://tinyverse.netlify.com/badge/sketchy)](https://cran.r-project.org/package=sketchy) [![Project Status: Active  The project has reached a stable, usable state and is being actively developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active) [![Licence](https://img.shields.io/badge/https://img.shields.io/badge/licence-GPL--2-blue.svg)](https://www.gnu.org/licenses/gpl-3.0.en.html) [![minimal R version](https://img.shields.io/badge/R%3E%3D-`r strsplit(gsub("depends: R \\(|\\)", "", grep("DEPENDS", ignore.case = TRUE, readLines(con = "./DESCRIPTION"), value = TRUE), ignore.case = TRUE), ",")[[1]][1]`-6666ff.svg)](https://cran.r-project.org/)[![packageversion](https://img.shields.io/badge/Package%20version-`r gsub("version: |version:", "", grep("^version", ignore.case = TRUE, readLines(con = "./DESCRIPTION"), value = TRUE), ignore.case = TRUE)`-orange.svg?style=flat-square)](commits/develop)[![Last-changedate](https://img.shields.io/badge/last%20change-`r gsub('-', '--', Sys.Date())`-yellowgreen.svg)](/commits/master) [![CRAN_Status_Badge](https://www.r-pkg.org/badges/version/sketchy)](https://cran.r-project.org/package=sketchy)
[![Total Downloads](https://cranlogs.r-pkg.org/badges/grand-total/sketchy)](https://cranlogs.r-pkg.org/badges/grand-total/sketchy)


```{r setup, include = FALSE}

# knitr global options
knitr::opts_chunk$set(
  collapse = TRUE,
  out.width = "100%",
  tidy = TRUE
)
library(sketchy)

```

sketchy sticker

The package is intended to facilitate the use of research compendiums for data analysis in the R environment. Standard research compendiums provide a easily recognizable means for organizing digital materials, allowing  other researchers to inspect, reproduce, and build upon that research. 

Unlike other R packages for creating research compendiums (e.g. [vertical](https://github.com/CrumpLab/vertical), [rrtools](https://github.com/benmarwick/rrtools)), `sketchy` isn't  wedded to a particular folder structure. Currently the package provides `r length(compendiums)` alternative structures (see object `compendiums`) and allows users to modify or input their own structures.   

To install the latest developmental version from [github](https://github.com/) you will need the R package [remotes](https://cran.r-project.org/package=remotes):

```{r 1, eval = FALSE}

# From github
remotes::install_github("maRce10/sketchy")

#load package
library(sketchy)

```

## Default compendium skeletons

Compendiums can be set up with the function `make_compendium()`. The function creates the folder/subfolder structure and prints a diagram of the skeleton in the console:

### Basic compendium

```{r 3, eval = TRUE}

path = tempdir()

# load data
data(compendiums)

make_compendium(name = "proyect_x", path = path, format = "basic")

```


  

(*in these examples the compendiums are created in a temporary directory, change 'path' to create it in a different directory*)


### Alternative structures

We can use folder structures from other sources. For instance, in this example we use the structured suggested by Wilson *et al.* (2017):

```{r 4, eval = TRUE}

make_compendium(name = "proyect_z", path = path, format = "large_compendium")

```

  

When creating a compendium that includes a "manuscript" folder the package adds a "manuscript_template.Rmd" file for facilitating paper writing within the compendium itself.


We can check all compendium structure available as follows:

```{r 5, eval = TRUE}

for(i in 1:length(compendiums)){
  print("---------------", quote = FALSE)
  print(names(compendiums)[i], quote = FALSE)
  print_skeleton(folders = compendiums[[i]]$skeleton)
}
  
```
---

Please cite [sketchy](https://marce10.github.io/sketchy/) as follows:

Araya-Salas, M., Willink, B., Arriaga, A. (2020), *sketchy: research compendiums for data analysis in R*. R package version 1.0.0. 


# References

1. Alston, J., & Rick, J. (2020). *A Beginner’s Guide to Conducting Reproducible Research*. 

1. Marwick, B., Boettiger, C., & Mullen, L. (2018). *Packaging Data Analytical Work Reproducibly Using R (and Friends)*. American Statistician, 72(1), 80–88.

1. Wilson G, Bryan J, Cranston K, Kitzes J, Nederbragt L. & Teal, T. K.. 2017. *Good enough practices in scientific computing*. PLOS Computational Biology 13(6): e1005510.

Owner

  • Name: Marcelo Araya-Salas
  • Login: maRce10
  • Kind: user
  • Location: Costa Rica
  • Company: Universidad de Costa Rica

I am an evolutionary behavioral ecologist that ended up doing a lot of coding just to be able to customize my data analyses

GitHub Events

Total
  • Issues event: 2
  • Watch event: 1
  • Issue comment event: 1
  • Push event: 5
  • Pull request event: 2
  • Create event: 1
Last Year
  • Issues event: 2
  • Watch event: 1
  • Issue comment event: 1
  • Push event: 5
  • Pull request event: 2
  • Create event: 1

Committers

Last synced: about 2 years ago

All Time
  • Total Commits: 59
  • Total Committers: 3
  • Avg Commits per committer: 19.667
  • Development Distribution Score (DDS): 0.22
Past Year
  • Commits: 9
  • Committers: 1
  • Avg Commits per committer: 9.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Marcelo Araya-Salas m****a@u****r 46
maRce10 m****7@g****m 12
maRce10 m****7@g****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 16
  • Total pull requests: 1
  • Average time to close issues: 6 months
  • Average time to close pull requests: 6 minutes
  • Total issue authors: 4
  • Total pull request authors: 1
  • Average comments per issue: 1.13
  • Average comments per pull request: 0.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 1
  • Pull requests: 1
  • Average time to close issues: 2 days
  • Average time to close pull requests: 6 minutes
  • Issue authors: 1
  • Pull request authors: 1
  • Average comments per issue: 1.0
  • Average comments per pull request: 0.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • maRce10 (12)
  • andreaarriaga (2)
  • fkohrt (1)
  • palermog (1)
Pull Request Authors
  • maRce10 (2)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 279 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 4
  • Total maintainers: 1
cran.r-project.org: sketchy

Create Custom Research Compendiums

  • Versions: 4
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 279 Last month
Rankings
Stargazers count: 28.5%
Forks count: 28.8%
Dependent packages count: 29.8%
Dependent repos count: 35.5%
Average: 42.2%
Downloads: 88.4%
Maintainers (1)
Last synced: 6 months ago

Dependencies

DESCRIPTION cran
  • R >= 3.5.0 depends
  • crayon * imports
  • git2r * imports
  • knitr * imports
  • packrat * imports
  • stringi * imports
  • utils * imports
  • xaringanExtra * imports
  • formatR * suggests
  • testthat * suggests
.github/workflows/pkgdown.yaml actions
  • JamesIves/github-pages-deploy-action v4.4.1 composite
  • actions/checkout v3 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite