Provides a structured, informative display of USAspending API response data,
including metadata, pagination information, and a preview of the actual data.
This method enhances the default tibble printing with API-specific context.
Usage
# S3 method for class 'usasp_tibble'
print(x, ...)
Arguments
- x
A transformed API response of class 'usasp_tibble'
- ...
Additional arguments passed to the default tibble print method
Details
The output is organized into sections:
API endpoint identification
Pagination information (if present)
API messages (if any)
Data summary (dimensions and column names)
Data preview
Note
The function uses cli package for formatted console output
and falls back to the standard tibble printing method for
the actual data preview