mutate_trn_registry: Mutate new column for trial registration number and registry...

View source: R/mutate_trn_registry.R

mutate_trn_registryR Documentation

Mutate new column for trial registration number and registry based on specified column

Description

Mutate new column for trial registration number and registry based on specified column

Usage

mutate_trn_registry(data, by, .keep = TRUE)

Arguments

data

A dataframe.

by

Column (bare name) in which to search for trn's (and to join by)

.keep

(Optional) Keep rows without trn's. Defaults to TRUE.

Value

A dataframe, with "trn" and "databank" columns

Examples

mutate_trn_registry(sample_trn_df, text)
mutate_trn_registry(sample_trn_df, text, .keep = FALSE)

maia-sh/ctregistries documentation built on July 20, 2024, 8:08 p.m.