An open API service indexing awesome lists of open source software.

https://github.com/tysonstanley/biosketchr

An R package built on RMarkdown to create biosketches (e.g. for NIH)
https://github.com/tysonstanley/biosketchr

Last synced: 7 months ago
JSON representation

An R package built on RMarkdown to create biosketches (e.g. for NIH)

Awesome Lists containing this project

README

          

---
output: github_document
---

```{r setup, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
devtools::load_all()
```

# `biosketchr` `v`r packageVersion("biosketchr")``

[![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://www.tidyverse.org/lifecycle/#experimental)
[![Build Status](https://travis-ci.com/TysonStanley/biosketchr.svg?branch=master)](https://travis-ci.com/TysonStanley/biosketchr)
[![R-CMD-check](https://github.com/TysonStanley/biosketchr/workflows/R-CMD-check/badge.svg)](https://github.com/TysonStanley/biosketchr/actions)

The goal of `biosketchr` is to make two aspects of creating a Biosketch for either NIH (National Institutes of Health in the United States) or NSF (National Science Foundation in the United States) better:

1. Formatting of the biosketch is automatically done for you
2. The citations are automatically formatted and inserted in the document

## Installation

You can install `biosketchr` with:

``` r
remotes::install_github("tysonstanley/biosketchr")
```

## LaTeX

#### NIH Template

The template was created by Paul M. Magwene and can be found at: [github.com/pmagwene/latex-nihbiosketch](https://github.com/pmagwene/latex-nihbiosketch).

#### NSF Template

The template was created by Theodore P. Pavlic and can be found [here](http://phaseportrait.blogspot.co.uk/2013/02/latex-template-for-nsf-style.html).

## Example

To start, you'll want to select the appropriate template (for this example, the NIH one) from the `biosketchr` package. This will create a folder with whatever name you choose that contains an `Rmd` file, the appropriate `.cls` file, and a `.bib` file.

The `.Rmd` file will open automatically showing you this template.

This is where you'll do all the editing, writing your statement, fill in education, etc. You'll also want to edit the `yourbibfile.bib` file with your citations that you want to include in the biosketch.

When you `knit` this, it will produce a PDF file in the same folder that is formatted like the appropriate biosketch. This PDF will look something like the following:

A very similar process works for the NSF template, with slighty different fields in the skeleton RMarkdown file.

Enjoy biosketching with RMarkdown!

## Note

The package is still undergoing some development and we would love feedback on any aspect that doesn't work as expected.

We also want to thank the [`rticles`](https://github.com/rstudio/rticles) package for showing how to create RMarkdown templates such as in `biosketchr`.

Please note that the 'biosketchr' project is released with a
[Contributor Code of Conduct](CODE_OF_CONDUCT.md).
By contributing to this project, you agree to abide by its terms.