Fetch information for one or more users
Usage
flywire_user_info(
uids,
datastack_name = getOption("fafbseg.cave.datastack_name", "flywire_fafb_production")
)Arguments
- uids
A vector of user ids or a dataframe with a
user_idcolumn- datastack_name
defaults to the value selected by
choose_segmentationand to "flywire_fafb_production" when that is missing. See https://global.daf-apis.com/info/ for other options.
Examples
# \donttest{
flywire_user_info(60, datastack_name = "flywire_fafb_public")
#> Error in py_call_impl(callable, call_args$unnamed, call_args$named): requests.exceptions.HTTPError: 403 Client Error: FORBIDDEN for url: https://global.daf-apis.com/auth/api/v1/user?id=60 content: b'Requires admin privilege.'
#> Run `reticulate::py_last_error()` for details.
# }