Description Usage Arguments Value Examples
View source: R/post_functions.R
Pull from Competencies Military API endpoint.
1 2 3 4 5 6 7 8 9 10 11 12 |
moc |
String or numeric MOC code to return competencies for |
service_branch |
Lowercase Branch of Armed Forces string, e.g. 'army' (Optional) |
mpc |
String (Optional) |
exclude |
Character vector of return elements to exclude (Optional) |
start_date |
Start date of military service (Optional) |
end_date |
End date of military service (Optional) |
moc_status |
Status of MOC (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 12; military competencies data relevant to query
1 2 3 4 5 | ## Not run:
tkn <- get_access_token(client_id, client_secret)
c <- competencies_military(moc = "2A554E", token = tkn)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.