tibble_to_vector: Return a character vector from a tibble with one column.

Description Usage Arguments Details Value Examples

View source: R/00-misc.R

Description

tibble_to_vector takes a tibble with one column and returns the values in that column as a character vector.

Usage

1

Arguments

tib

A tibble with only one column.

Details

This is a helper function for pull_raw_pur, pull_clean_pur, and pur_filt_df.

Value

A character vector.

Examples

1
2
library(magrittr)
tibble::tibble(x = 1:3) %>% tibble_to_vector()

leighseverson/purexposure documentation built on Aug. 13, 2021, 6:34 p.m.