Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support constructing stratigraphs from tidy data frames #15

Open
joeroe opened this issue Jun 15, 2022 · 0 comments
Open

Support constructing stratigraphs from tidy data frames #15

joeroe opened this issue Jun 15, 2022 · 0 comments

Comments

@joeroe
Copy link
Owner

joeroe commented Jun 15, 2022

I.e.,

data.frame(
    unit = c("A", "B", "C", "C"),
    above = c(NA, "A", "A", "B")
)

Should have the same result as

tibble(
    unit = c("A", "B", "C"),
    above = list(NA, "A", c("A", "B"))
)

does now.

Don't know how common this format will be in the wild, but it's much easier for quickly constructing graphs in R itself.

Should be configurable, but also probably the default if label is not unique?

@joeroe joeroe mentioned this issue Apr 25, 2023
28 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant