worldbank / pipr

R client to the PIP API
https://worldbank.github.io/pipr
Other
13 stars 4 forks source link

Allow default options #67

Open shahronak47 opened 1 year ago

shahronak47 commented 1 year ago

Task on clickup - https://app.clickup.com/t/2wuyxma

Hi @randrescastaneda , I have created this PR to make it possible to set default options. However, I don't know what would be the right place to document this information as this impacts a lot of functions. Let me know your thoughts.

shahronak47 commented 1 year ago

@randrescastaneda I have added a commit that initializes all the option values to NULL to maintain the default behavior of the functions but this is the same as not defining it.

Do we want to have different values for these options ?

randrescastaneda commented 1 year ago

Hi @shahronak47 , I think that NULL works fine for now. Let's see if we need to change them later on.

Thanks