getgdppi: Get a data frame with the GDP price index, either annual or...

View source: R/BEAData_utilities.r

getgdppiR Documentation

Get a data frame with the GDP price index, either annual or quarterly.

Description

Get a data frame with the GDP price index, either annual or quarterly.

Usage

getgdppi(gfreq = "A")

Arguments

gfreq

"A" (annual) or "Q" (quarterly). Defaults to "A".

Value

data frame with:

year (integer), gdppi (double) if freq=="A"

date (date), gdppi (double) if freq=="Q"

Examples

library("tidyverse")
getgdppi()
getgdppi("Q")

donboyd5/BEAData documentation built on July 3, 2022, 2:12 p.m.