Description Usage Arguments Value Examples
View source: R/post_functions.R
Pull from Competencies API endpoint.
1 2 3 4 5 6 7 8 | competencies(
text,
token,
bias = NULL,
exclude = NULL,
handle_status = "warn",
response_raw = FALSE
)
|
text |
Sentence or text to pull relevant competencies for |
token |
Authorization token obtained from |
bias |
Numeric value defining level of bias (Optional) |
exclude |
Character vector of result elements to omit (Optional) |
handle_status |
How to handle bad HTTP status. Set as either |
response_raw |
Logical value whether to return the API response as
raw, unparsed text. Defaults to |
A list of length 9; competency data relevant to query
1 2 3 4 5 6 | ## Not run:
tkn <- get_access_token(client_id, client_secret)
txt <- "i am a welder and used welding equipment and acetylene torches"
c <- competencies(text = txt, token = tkn, bias = 0.4)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.