Skip to content

EconMaett/censusapi

Repository files navigation

censusapi

The censusapi R package helps you access to data provided by the U.S. Census Bureau's APIs.

The package is available on CRAN and GitHub.

For a description of the over 1,000 Census API endpoints see https://api.census.gov/data.html.

U.S. Census Bureau Economic Indicators

Visit the documentation for details on how to access the Economic Indicators.

Information on the Census Bureau's Economic Indicators are available at the Economic Briefing Room.

Census Bureau Index of Economic Activity (IDEA)

The U.S. Census Bureau Index of Economic Activity (IDEA) is constructed from 15 of the Census Bureau's primary monthly economic time series.

The index is constructed by applying the method of principal components analysis (PCA) to the time series of monthly growth rates of the seasonally adjusted component series, after standardizing the growth rates to series with mean zero and variance 1.

Similar PCA approaches have been used for the construction of other economic indices, including the Chicago Fed National Activity Index (CFNAI) issued by the Federal Reserve Bank of Chicago, and the Weekly Economic Index (WEI) issued by the Federal Reserve Bank of Dallas (previously New York).

While the IDEA is constructed from time series of monthly data, it is calculated and published every business day, and so is updated whenever a new monthly value is released for any of its component series.

Since release dates of data values for a given month vary across the component series, with slight variations in the monthly release date for any one component series, updates to the index are frequent.

It is unavoidably the case that, at almost all updates, some of the component series lack observations for the current (most recent) data month. To address this situation, component series that are one month behind are predicted (nowcast) for the current index month, using a multivariate autoregressive time series model.

See the working paper Building the Census Bureau Index of Economic Activity (IDEA) written by Jose Asturias, William R. Bell, Rebecca Hutchinson, Tucker McElroy, and Katherine J. Thompson.

Additional information on the methodology and FAQs on the IDEA are available at the Census Bureau's Experimental Data Products.

Citation

Recht H (2023). censusapi: Retrieve Data from the Census APIs. R package version 0.8.0, https://github.com/hrecht/censusapi, https://www.hrecht.com/censusapi/.

Releases

No releases published

Packages

No packages published

Languages