sewardlee337/finreportr

Error in filter_impl(.data, dots) : basic_string::resize

Closed this issue · 2 comments

GetIncome("MSFT", 2016)
Error in filter_impl(.data, dots) : basic_string::resize

head(GetIncome("AMZN", 2016),5)
Metric Units Amount startDate endDate
1 Sales Revenue, Goods, Net usd 60903000000 2013-01-01 2013-12-31
2 Sales Revenue, Goods, Net usd 70080000000 2014-01-01 2014-12-31
3 Sales Revenue, Goods, Net usd 79268000000 2015-01-01 2015-12-31
4 Sales Revenue, Services, Net usd 13549000000 2013-01-01 2013-12-31
5 Sales Revenue, Services, Net usd 18908000000 2014-01-01 2014-12-31

Hi @jibanes, thanks for catching the bug relating to MSFT data. I have added a fix and committed to GitHub. To install patched version, use:

devtools::install_github("sewardlee337/finreportr")

Please confirm if the problem is resolved. Thanks!

Sorry for the late reply, I will test this thoroughly next week and get back to you.