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

Error in pdfetch_ONS about xts objects #15

Open
daneel6672 opened this issue Sep 12, 2023 · 2 comments
Open

Error in pdfetch_ONS about xts objects #15

daneel6672 opened this issue Sep 12, 2023 · 2 comments

Comments

@daneel6672
Copy link

Hi I've started getting this error recently when I try to get any series from pdfetch_ONS. For example, if I run

pdfetch_ONS(c("LF24","LF2G"), "lms")

I get

Error in xts(values, dates) : cannot convert lists to xts objects

I've got pdfetch_0.2.8 and xts_0.13.1

@abielr
Copy link
Owner

abielr commented Sep 18, 2023

Hi @daneel6672, I wasn't able to replicate this error. I am using prefetch 0.2.9 that was just released, though I would not expect this to effect anything with ONS. I also am using its 0.13.1. Can you try again and see if the issue persists?

@daneel6672
Copy link
Author

Thanks for checking - it now works again for me too.

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

2 participants