Get CBIC PIM industrial production data
get_cbic_pim.RdComplete workflow to get cleaned PIM (Pesquisa Industrial Mensal) industrial production index data from CBIC. This data tracks the physical production of typical construction industry inputs in Brazil.
Arguments
- table
Character. Which dataset to return: "production_index" or "all" (default: "production_index")
- cached
Logical. If TRUE, try to load data from cache first (default: FALSE)
- quiet
Logical. If TRUE, suppress progress messages (default: FALSE)
- max_retries
Integer. Maximum number of retry attempts for downloads (default: 3L)
Details
The PIM data uses production index with base year 2022 = 100. The data covers monthly observations from 2012 onwards. Note that files 1 and 2 available on CBIC website contain historical data with discontinued methodologies and are not processed by this function.
Progress Reporting
When quiet = FALSE, the function provides detailed progress information
about web scraping, file downloads, and data processing steps.