Skip to main content

rgdp

Gross domestic product (GDP) is the standard measure of the value added

Source Code: [link]

openbb.economy.rgdp(countries: Optional[List[str]], units: str = "PC_CHGPY", start_date: Any = "", end_date: Any = "")

Parameters

NameTypeDescriptionDefaultOptional
countrieslistList of countries to get data forNoneFalse
unitsstrUnits to get data in. Either 'PC_CHGPP', 'PC_CHGPY' or 'IDX.
Default is percentage change from the same quarter of the previous year.
PC_CHGPYTrue
start_datestrStart date of data, in YYYY-MM-DD formatTrue
end_datestrEnd date of data, in YYYY-MM-DD formatTrue

Returns

TypeDescription
pd.DataFrameDataframe with the gdp data