Skip to content

Refactor: nested lists to tibble #160

@florianm

Description

@florianm

Feature

Currently we use different approaches to turn nested lists into tibbles.
Is it worth harmonising the approaches? Is there a best, most canonical/readable/maintainable way?

# odata_entitylist_service_get: ds$value is a simple nested list
nested_list |> purrr::map_df(ds$value, ~ tibble::as_tibble(.x))


# entity_changes: list of lists, inner list names should become column names
|> purrr::map_df(~ purrr::map_df(.x, ~ tibble::as_tibble(.x)))

Earlier code like project_detail might benefit from a more canonical approach too.

Metadata

Metadata

Assignees

Labels

tech-debtReduce technical debt

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions