psolymos / clickrup

Interacting with the ClickUp v2 API from R
https://peter.solymos.org/clickrup/
MIT License
18 stars 3 forks source link

FR: Get both active and inactive tasks in one function call #11

Closed krlmlr closed 2 years ago

krlmlr commented 2 years ago

via cu_get_tasks(archived = NA) .

psolymos commented 2 years ago

This seems doable by concatenating results from 2 calls into the $tasks element. However:

Should there be a .concat() function to merge similar objects and adjust class attribute (remove it from parts and add it once to return object)?

krlmlr commented 2 years ago

Yes, paging makes it much more difficult. For now it's easier to work around for the caller.