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 cbs_download_data #34

Open
RichardFromHolland opened this issue Apr 24, 2022 · 1 comment
Open

error cbs_download_data #34

RichardFromHolland opened this issue Apr 24, 2022 · 1 comment

Comments

@RichardFromHolland
Copy link

Hi

I run the following code (2 lines):


library(cbsodataR)
dt <- cbs_download_data(id='84910NED')

It errors out with:

library(cbsodataR)
dt <- cbs_download_data(id='84910NED')
Error in isTRUE(catalog != "CBS") :
promise already under evaluation: recursive default argument reference or earlier problems?


I re-installed R, RStudio and installed the cbsodataR package again but no difference.

Can you help me?

@NielsBosNL
Copy link

You could specify the catalog?

#creates list dt
dt <- cbs_get_data(id='84910NED',
                        catalog='CBS',
                        RegioS=has_substring("NL"),
                        Perioden='2020JJ00')
#dumps data.csv in folder 84910NED
cbs_download_data(id='84910NED',
                   catalog='CBS',
                   RegioS=has_substring("NL"),
                   Perioden='2020JJ00')

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