tidy_df: Helper function: tidy dataframe

Description Usage Arguments Value Examples

View source: R/helper.R

Description

Helper function: tidy dataframe

Usage

1
tidy_df(df, exclude_cols = "rec_number")

Arguments

df

data frame as retrieved by create_references_df() or clean_references_df()

exclude_cols

vector of column names to exclude for gathering (default: "rec_number")

Value

a tidy dataframe with columns rec_number, key and value

Examples

1
2
3
4
5
6
## Not run: 
endnote_list <- create_endnote_list()
refs_df <- create_references_df(endnote_list)
refs_df_tidy <- tidy_df(refs_df)

## End(Not run)

KWB-R/kwb.endnote documentation built on July 8, 2021, 4:18 p.m.