powered by
Tests the connection to all BCB PIX Open Data API endpoints. Each endpoint is tested with a single record request (top=1).
pix_ping()
A tibble (invisibly) with columns:
Name of the endpoint tested
Result: "OK" or error message
Time taken for the request in seconds
if (FALSE) # It usually takes much longer than 5 seconds. # Test all endpoints pix_ping() # Capture results results <- pix_ping() print(results)
Run the code above in your browser using DataLab