contribution
A Tiny Contribution Table Generator Based on ggplot2 https://shixiangwang.shinyapps.io/contribution
Science Score: 10.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
○codemeta.json file
-
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
✓Committers with academic emails
1 of 1 committers (100.0%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (18.2%) to scientific vocabulary
Keywords
contribution
credit
ggplot2
research
Last synced: 6 months ago
·
JSON representation
Repository
A Tiny Contribution Table Generator Based on ggplot2 https://shixiangwang.shinyapps.io/contribution
Basic Info
- Host: GitHub
- Owner: openbiox
- License: other
- Language: R
- Default Branch: master
- Homepage: https://shiny.hiplot-academic.com/contribution-table/
- Size: 2 MB
Statistics
- Stars: 10
- Watchers: 1
- Forks: 0
- Open Issues: 2
- Releases: 0
Topics
contribution
credit
ggplot2
research
Created over 6 years ago
· Last pushed over 3 years ago
Metadata Files
Readme
License
README.Rmd
---
output: github_document
---
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# contribution - A Tiny Contribution Table Generator Based on ggplot2
[](https://ci.appveyor.com/project/ShixiangWang/contribution)
[](https://travis-ci.org/openbiox/contribution)
[](https://lifecycle.r-lib.org/articles/stages.html#stable)
[](https://cran.r-project.org/package=contribution)
[](https://cran.r-project.org/package=contribution)
The goal of **contribution** is to generate **contribution table** for credit assignment in a project.
This is inspired by Nick Steinmetz (see twitter ).
> Authors contributions sections are new and still don’t appear in major journals, but can be improved. Rather than text listing each author’s contributions, the same data can be presented as a table with rows corresponding to contributions and columns for each author.
>
> Advantages include:
>
> 1. Graphics are faster and easier to comprehend. They are also easier to locate in the document.
>
> 2. This format can be readily augmented with additional information, such as distinguishing between ‘major’ and ‘minor’ contributions of each type.
>
> 3. This format can be read as easily in either direction, answering both "Who did X?" and "What did person Y do?" equally.
>
> 4. This format lends itself to a nice extension for including your author contribution information on your CV: a similar table where each column is one of your papers.
>
>
> A difficulty with this is the diversity of terminology used, which would be helped by refinement and more widespread adoption of the CRediT framework ( ).
## Feature
* Support table type
* 3-level contribution (i.e. 'None', 'Minor' and 'Major')
* numeric contribution
* Dataset `palette` contains 27 color maps
An R Shiny application can be found at `https://shiny.hiplot.com.cn/contribution-table/`.
Corresponding source code is available at .
## Installation
You can install the released version of contribution from [CRAN](https://CRAN.R-project.org) with:
``` r
install.packages("contribution")
```
And the development version from [GitHub](https://github.com/) with:
``` r
# install.packages("devtools")
devtools::install_github("openbiox/contribution")
```
## Basic example
This is a basic example which shows you how to plot a simple contribution table:
```{r example}
library(contribution)
data("demo")
demo
```
The accepted data format is a `data.frame` whose first column show the `role` and the other
columns show the people or projects. This format is easy to create using R or other tools like Excel.
For a 3-level contribution table, only `Minor` and `Major` are valid, a `NA` value should put
in cell for no contribution.
```{r, fig.height=3}
generate(demo)
```
The **white** box represents **no contribution**, the **grey** box represents **minor contribution**,
and the **black** box represents **major contribution**.
The table is nice, easy to read. The result is a `ggplot` object, so you can modify in your way!
You can also use other colors and `scale_fill_*` function from **ggplot2** to map colors:
```{r, fig.height=3}
library(ggplot2)
generate(demo, text_angle_x = 20, color_map = scale_fill_brewer(palette ="Oranges"))
```
When it is not easy to see the meaning of color, you can show the legend.
```{r, fig.height=3}
generate(demo, text_angle_x = 20, color_map = scale_fill_brewer(palette ="Set1"), show_legend = TRUE)
```
More usage please see [online documentation](https://openbiox.github.io/contribution/).
## To do
* Support special symbol for indicating equal work in a project/paper
* Accept author contributions information in machine-readable formats, e.g. in RIS and Bibtex citation documents provided on journal websites.
Owner
- Name: openbiox
- Login: openbiox
- Kind: organization
- Email: committee@openbiox.org
- Location: China
- Website: https://openbiox.org
- Repositories: 9
- Profile: https://github.com/openbiox
A community-driven bioinformatics innovation collaboration group.
GitHub Events
Total
- Watch event: 1
Last Year
- Watch event: 1
Committers
Last synced: about 2 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| ShixiangWang | w****x@s****n | 25 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: over 1 year ago
All Time
- Total issues: 8
- Total pull requests: 0
- Average time to close issues: 13 days
- Average time to close pull requests: N/A
- Total issue authors: 2
- Total pull request authors: 0
- Average comments per issue: 0.0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 5
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- weekly-digest[bot] (5)
- ShixiangWang (3)
Pull Request Authors
Top Labels
Issue Labels
weekly-digest (4)
enhancement (2)
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cran 277 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 4
- Total maintainers: 1
cran.r-project.org: contribution
A Tiny Contribution Table Generator Based on 'ggplot2'
- Homepage: https://github.com/openbiox/contribution
- Documentation: http://cran.r-project.org/web/packages/contribution/contribution.pdf
- License: MIT + file LICENSE
-
Latest release: 0.2.2
published almost 4 years ago
Rankings
Stargazers count: 19.8%
Average: 28.7%
Forks count: 28.8%
Downloads: 29.4%
Dependent packages count: 29.8%
Dependent repos count: 35.5%
Maintainers (1)
Last synced:
6 months ago
Dependencies
DESCRIPTION
cran
- R >= 3.5 depends
- dplyr * imports
- ggplot2 * imports
- gh * imports
- magrittr * imports
- rlang * imports
- tidyr * imports
- knitr * suggests
- prettydoc * suggests
- rmarkdown * suggests