Skip to contents

Set filter parameters for sb_get_profile()

Usage

sb_get_user_filter(user_key = NULL, user_value = NULL)

Arguments

user_key

The type of user variable to filter by. The possible values are c("about", "username", "email", "group", "current_group").

user_value

The specific user value to filter for e.g. if user_key = "username", then perhaps user_value = "john.smith".

Value

A list of filters with class = "sb_export_filter"

Examples

if (FALSE) { # \dontrun{
# Calling the function with no arguments returns all the defaults
sb_get_user_filter()

# Specifying specific arguments will alter those arguments alone while still
# returning the other defaults
sb_get_user_filter(user_key = "group", user_value = "Example Group")
} # }