us-bea/bea.R: Bureau of Economic Analysis API

Provides an R interface for the Bureau of Economic Analysis (BEA) API (see <http://www.bea.gov/API/bea_web_service_api_user_guide.htm> for more information) that serves two core purposes - 1. To Extract/Transform/Load data [beaGet()] from the BEA API as R-friendly formats in the user's work space [transformation done by default in beaGet() can be modified using optional parameters; see, too, bea2List(), bea2Tab()]. 2. To enable the search of descriptive meta data [beaSearch()]. Other features of the library exist mainly as intermediate methods or are in early stages of development. Important Note - You must have an API key to use this library. Register for a key at <http://www.bea.gov/API/signup/index.cfm>. As a note regarding the license: Software code created by U.S. Government employees is not subject to copyright in the United States (17 U.S.C. §105). The United States/ Department of Commerce reserve all rights to seek and obtain copyright protection in countries other than the United States for Software authored in its entirety by the Department of Commerce. To this end, the Department of Commerce hereby grants to Recipient a royalty-free, nonexclusive license to freely use, copy, distribute, and create derivative works of the Software outside of the United States. The CC0 1.0 Universal License should be taken to apply to this work inside and outside of the United States.

Getting started

Package details

AuthorAndrea Batch [aut, cre], Jeff Chen [ctb], Walt Kampas [ctb]
MaintainerAndrea Batch <Andrea.Batch@bea.gov>
LicenseCC0
Version1.1.0
URL https://github.com/us-bea/bea.R
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("remotes")
remotes::install_github("us-bea/bea.R")
us-bea/bea.R documentation built on June 11, 2025, 2:35 p.m.