prep_bardtags: format TagIDs for BARD query

Description Usage Arguments Value Examples

View source: R/prep_bardtags.R

Description

format TagIDs for BARD query

Usage

1
2
3
4
5
6
7
prep_bardtags(
  tagids,
  df = alltags,
  tagVar = "TagID",
  codeVar = "CodeSpace",
  freq = "A69"
)

Arguments

tagids

a vector of numeric TagIDs

df

a data frame that contains (at minimum) columns for TagID and Codespace

tagVar

The name of the TagID column in df

codeVar

The name of the CodeSpace column in df

freq

Frequency of tagids; defaults to "A69"

Value

A vector of tagids formatted for a query of the BARD database

Examples

1
bard_tags(tagids = c(2841, 2842))

Myfanwy/tagtales documentation built on Nov. 13, 2021, 6:33 a.m.