Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set timeseries classes to implement special methods #36

Open
wilsonfreitas opened this issue Sep 7, 2020 · 1 comment
Open

Set timeseries classes to implement special methods #36

wilsonfreitas opened this issue Sep 7, 2020 · 1 comment

Comments

@wilsonfreitas
Copy link
Owner

Name the returned timeseries of functions:

  • get_series
  • get_currency

with an additional class named rbcbTimeSeries, for example.

This class can used to implement methods that:

  • return the currency name for data returned from get_currency
  • a special merge method to join returned time series
@wilsonfreitas
Copy link
Owner Author

The series object must be improved.

SGS series have the following attributes:

  • code
  • freq
  • unit
  • description
  • start and end
  • name
  • data

many of these informations can be obtainded thru web scraping, it should be very good if it could be accessed thru an API.

The new object can inherits the base class (dataframe, tibble, or other) and might have an attribute called info.
The print/show method calls the ancestor method.

Smart methods should be created to make convertions in frequency, pex.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant