Nothing
base_request <- function(endpoint_url, token) {
user_agent <- Sys.getenv("HAKAI_API_USER_AGENT", "hakai-api-client-r")
httr2::request(endpoint_url) |>
httr2::req_headers("Authorization" = token) |>
httr2::req_user_agent(user_agent)
}
json2tbl_impl <- function(data) {
# Handle special case of single vectors
if (all(sapply(data, length) == 1)) {
return(tibble::tibble(value = unlist(data)))
}
data <- lapply(data, function(data) {
data[sapply(data, is.null)] <- NA # nolint
unlist(data)
})
data <- bind_rows(data)
return(data)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.