BETSsearch {BETS} | R Documentation |
Searches the BETS databases for a time series by its description, source, periodicity, code, data, unit of measurement and database name.
BETSsearch(description = "*", src, periodicity, unit, code, start,
view = FALSE, lang = "en")
description |
A |
src |
A |
periodicity |
A |
unit |
A |
code |
An |
start |
A |
view |
A |
lang |
A |
Syntax rules for the parameter description
, the search string to look for matching series descriptions:
To search for alternative words, separate them by white spaces.
Example: description = "ipca core"
means that the series description must contain 'ipca' AND'core'
To search for whole expressions, surround them with ' '
.
Example: description = "'core ipca' index"
means that the series description must contain 'core ipca' AND 'index'
To exclude words from the search, insert a ~
before each of them.
Example: description = "ipca ~ core"
means that the series description must contain 'ipca' AND must NOT contain 'core'
To exclude whole expressions from the search, surround them with code' ' and insert a ~
before each of them.
Example: description = "~ 'ipca core' index"
means that the series description must contain 'index' AND must NOT contain 'core ipca'
It is possible to search for multiple words or expressions and to negate multiple words or expressions, as long as the preceeding rules are observed.
The white space after the negation sign (~
) is not required. But the white spaces AFTER expressions or words ARE required.
Possible values for the parameter src
:
IBGE | Brazilian Institute of Geography and Statistics |
BCB | Central Bank of Brazil |
FGV | Getulio Vargas Foundation |
FGv-IBRE | Getulio Vargas Foundation - Brazilian Institute of Economics |
BCB e FGV | Central Bank of Brazil and Getulio Vargas Foundation |
BCB-Deban | Cetral Bank of Brazil - Department of Banking and Payments |
BCB-Depin | Central Bank of Brazil - Department of International Reserves |
BCB-Derin | Central Bank of Brazil - Department of International Affairs |
BCB-Desig | Central Bank of Brazil - Department of Financial Monitoring |
BCB-Secre | Central Bank of Brazil - Executive Secretariat |
BCB-Demab | Central Bank of Brazil - Department of Open Market Operations |
BCB-Denor | Central Bank of Brazil - Department of Financial System Regulation |
BCB-Depec | Central Bank of Brazil - Department of Economics |
Sisbacen | Central Bank of Brazil Information System |
Abecip | Brazilian Association of Real Estate Loans and Savings Companies |
Possible values for the parameter periodicity
:
A | anual data |
M | monthly data |
Q | quaterly data |
W | weekly data |
D | daily data |
Possible values for the parameter unit
:
R$ | brazilian reais |
$ | US dolars |
% | percentage |
A list
that can be interpreted as a data.frame
. The fields are described below.
code | The code/index of the series within the database |
description | The description of the series |
periodicity | The periodicity of the series |
start | Starting date of the series |
source | The source of the series |
unit | The unit of measurement of the data |
Central Bank of Brazil
#not run
#BETSsearch(description="sales",view = FALSE)
#BETSsearch(src="Denor", view = FALSE)
#BETSsearch(periodicity="A", view = FALSE)