EconDataReader

Up to date remote economic data access for ruby, using Polars dataframes.

This package will fetch economic and financial information from the Bank of Canada's API, and return the results as a Polars dataframe.

Installation

Add this line to your application's Gemfile:

gem 'bankofcanada_as_dataframe'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install bankofcanada_as_dataframe

Usage

BankofcanadaAsDataframe::Client.new('IEXE0102').fetch

Documentation

TBD

Contributing

Others are welcome to contribute to the project.

The following conventions are intended for this project.

  • Different sources are intended to reside in different classes.
  • API keys (if needed) should be able to be set in the single configuration file.
  • Series should be able to be identified via a single unique string, provided in the constructor.
  • When fetched, the dataset may be filtered based on optional (hash) arguments.
  • Output should be provided in a consistent DataFrame format (currently Polars::DataFrame).

Bug reports and pull requests are welcome on GitHub at https://github.com/bmck/econ_data_reader.

License

The gem is available as open source under the terms of the MIT License.