Closed adriansteffan closed 2 months ago
nevermind, this makes the data structures more complex by default even if people don't want to use the cdi data for their specific analysis - I will add usage information for unnest cdi data to the documentation
The unpack_aux_data function creates nested R lists from the json objects placed in the *_aux_data columns. Since end users shouldn't need to deal with unpacking the json themselves, we should call this function before returning the data to the consumers of the peekbankr package.
I will have to check out the exact format returned by the database before implementing this.