cu-priority: Turn ClickUp API priority scores to labels

cu-priorityR Documentation

Turn ClickUp API priority scores to labels

Description

The ClickUp API returns priority values as integer scores. The cu_priority function maps these scores to the priority labels Urgent (1), High (2), Normal (3), Low (4).

Usage

cu_priority(score)

Arguments

score

Character or numeric values between 1 and 4.

Value

Returns a character vector with the labels.

Examples

cu_priority(c(1, 2, 3, 4))


psolymos/clickrup documentation built on Feb. 9, 2024, 10:09 a.m.