BETSsearch: Search for a Brazilian Economic Time Series

Description Usage Arguments Details Value References Examples

Description

Searches the BETS databases for a time series by its description, source, periodicity, code, data, unit of measurement and database name.

Usage

1
2
BETSsearch(description = "*", src, periodicity, unit, code, start,
  view = FALSE, lang = "en")

Arguments

description

A character. A search string to look for matching series descriptions. Check the syntax rules under the 'Details' section for better performance.

src

A character. The source of the series. See the 'Details' section for a list of the available sources.

periodicity

A character. The periodicity of the series. See the 'Details' section for a list of possible values.

unit

A character. The unit of measurement of the data. See the 'Details' section for a list of possible values.

code

An integer. The index of the series within the database.

start

A date. Starting date of the series.

view

A boolean. The default is TRUE. If set to FALSE, the output's head will be printed in your console as a data.frame.

lang

A character. The search language. The default is "en" for english, but "pt" for portuguese is also possible.

Details

Value

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

References

Central Bank of Brazil

Examples

1
2
3
4
5
6
7
8
#not run
#BETSsearch(description="sales",view = FALSE)


#BETSsearch(src="Denor", view = FALSE)


#BETSsearch(periodicity="A", view = FALSE)

BETS documentation built on May 1, 2019, 7:48 p.m.