Retrieve Fixed Assets Data from the Bureau of Economic Analysis (BEA) API
beaFixedAssets.Rd
This function fetches fixed assets data from the BEA API based on the specified parameters.
Arguments
- TableName
A character string specifying the table name for the fixed assets data.
- Year
A character string specifying the year(s) for which to retrieve data.
- ResultFormat
A character string specifying the format of the results. Default is "json".
- beaKey
An optional character string containing the BEA API key. If NULL, the function will attempt to retrieve the key using `getbeaKey()`.
Value
A tibble containing the retrieved fixed assets data. If an error occurs, it returns a tibble with error information.