Description Usage Arguments Value Examples
View source: R/post_functions.R
Pull from Related Topics API endpoint.
1 2 3 4 5 6 7 | topics_related(
texts,
socs = NULL,
token,
handle_status = "warn",
response_raw = FALSE
)
|
texts |
Character Vector of sentences used to pull related topics |
socs |
Character vector of SOC codes to fine-tune related topics (Optional) |
token |
Authorization token obtained from |
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 2; topic modeling data relevant to query
1 2 3 4 5 6 7 | ## Not run:
tkn <- get_access_token(client_id, client_secret)
t <- topics_related(texts = c("ms word", "access", "dexterity"),
socs = "41-3041.00",
token = tkn)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.