Learn R Programming

bea.R (version 1.0.6)

Bureau of Economic Analysis API

Description

Provides an R interface for the Bureau of Economic Analysis (BEA) API (see 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 .

Copy Link

Version

Install

install.packages('bea.R')

Monthly Downloads

492

Version

1.0.6

License

CC0

Issues

Pull Requests

Stars

Forks

Maintainer

Andrea Julca

Last Published

February 23rd, 2018

Functions in bea.R (1.0.6)

beaGet

Pass list of user specifications (including API key) to return data from BEA API.
bea2Tab

Convert BEA API httr response or list payload to data.table
beaViz

Visualize BEA API response payload
beaParams

Gives list of parameters possible for a given dataset
beaUpdateMetadata

Download BEA metadata into library/data folder if needed
beaSearch

Search a selection of indexed BEA data table names, series labels, and series codes.
beaSets

Returns a list of all datasets
bea2List

Convert BEA API httr response payload to list
beaParamVals

Gives list of values possible for a given dataset's parameters