This PR removes the hardcoded source argument as suggested in #18. Instead, it adds "source" as an additional argument. I'm not sure what you prefer for the default value of this keyword:
Default to "USA-NPN": this would mean the behaviour doesn't change, but it is quite inconsistent with the rest of the options. Users would manually have to set source = NULL to not filter for any specific source
Default to NULL: more consistent with other keywords, more intuitive. But this changes the behaviour, such that calls to ppo_data that previously used to return only NPN data may now include data from other sources as well.
Currently, I picked option 2, which would be my personal preference. But I could change it back to option 1 if you think option 2 excessively impacts existing users.
This PR also fixes a typo in the unlink comment for the keepData option, which led to buggy behaviour as reported here.
This PR removes the hardcoded
source
argument as suggested in #18. Instead, it adds "source" as an additional argument. I'm not sure what you prefer for the default value of this keyword:source = NULL
to not filter for any specific sourceppo_data
that previously used to return only NPN data may now include data from other sources as well.Currently, I picked option 2, which would be my personal preference. But I could change it back to option 1 if you think option 2 excessively impacts existing users.
This PR also fixes a typo in the
unlink
comment for the keepData option, which led to buggy behaviour as reported here.closes #18