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

Reorganise the API #19

Open
9 of 11 tasks
nacnudus opened this issue Sep 7, 2017 · 0 comments
Open
9 of 11 tasks

Reorganise the API #19

nacnudus opened this issue Sep 7, 2017 · 0 comments

Comments

@nacnudus
Copy link
Owner

nacnudus commented Sep 7, 2017

With more functionality, it makes sense to split things up into separate functions.

The xlex family:

  • xlex() tokenize a formula
  • xlex_edges() and xlex_vertices() operate on the parse tree
  • plot_xlex() visualise the parse tree
  • demo_xlex() shiny app of the above

Utility functions for common tasks:

  • Formatting that takes advantage of tab completion for discovery, using very long function names like fill_patternFill_fgColor_rgb(x, scope = c("style", "local")) or border_horizontal_style_indexed(x, scope =c("style", "local")), where xis a data frame withstyle_formatandlocal_format_id` in it.

  • A way to extract specific styles from all formats, e.g. bad <- get_style(x, "bad") where x is the return value of xlsx_formats().

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