You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
jonthegeek
changed the title
Task: Fetch the full definition of the "fec.gov" API.
Task: Create a tibble of all endpoints in the "fec.gov" API.
Feb 19, 2024
# Note: I'm using the dev version of tibblify, pak::pak("mgirlich/tibblify#191")all_apis$fec.gov$versions$`1.0`$swaggerUrlfec_paths<-tibblify::parse_openapi_spec(
all_apis$fec.gov$versions$`1.0`$swaggerUrl
)
fec_pathsfec_paths$operations|> lengths() |> unique()
fec_paths$operations[[1]]
fec_paths$operations|>purrr::map_int(nrow) |>
unique()
fec_operations<-fec_paths|>tidyr::unnest_wider(operations)
fec_operationsfec_operations$parameters[[1]]
fec_operations$global_parameters[[1]]
No description provided.
The text was updated successfully, but these errors were encountered: