getMultiSelectValues: Returns a vector of the available multi-select options in a...

View source: R/getMultiSelectValues.R

getMultiSelectValuesR Documentation

Returns a vector of the available multi-select options in a field

Description

For a given column in a database field, creates a vector of all entries. See parameters for options.

Usage

getMultiSelectValues(
  column,
  strip_string = "\\|",
  no_na = T,
  only_unique = T,
  show_progress = T
)

Arguments

column

vector of column in data.frame (usually, after using getNotionDatabase, in form db$column_name )

strip_string

String by which we should strip >1 selects in a single database row. Defaults to "|", as this is the default behaviour in getNotionDatabase().

no_na

Strip all NA's? Defaults to TRUE.

only_unique

Export only unique values in vector? Defaults to TRUE.

show_progress

Print the count of values? Defaults to TRUE.

Details

does NOT call API.

Value

vector

Author(s)

Eduardo Flores


Eflores89/notionR documentation built on Feb. 8, 2025, 10:25 a.m.