Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/gtPublic

IR Generation#820

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
rich-iannone wants to merge72 commits intomaster
base:master
Choose a base branch
Loading
fromir-generation
Draft
Changes from1 commit
Commits
Show all changes
72 commits
Select commitHold shift + click to select a range
09864e4
Create ir_example.html
rich-iannoneJul 28, 2021
8b70ae2
Create render_ir.R
rich-iannoneJul 28, 2021
3aabf9b
Update DESCRIPTION
rich-iannoneJul 28, 2021
eca725c
Update render_ir.R
rich-iannoneJul 28, 2021
39a3ab0
Update render_ir.R
rich-iannoneJul 28, 2021
f55df8d
Add the `create_col_group_ir()` util fn
rich-iannoneJul 28, 2021
625c362
Update ir_example.html
rich-iannoneJul 28, 2021
b202bc0
Update render_ir.R
rich-iannoneJul 29, 2021
b1e7127
Put `colgroup_element` in a tagList
rich-iannoneJul 29, 2021
583e9d5
Add the `create_heading_ir()` function
rich-iannoneJul 29, 2021
d0ee0ff
Add the `create_columns_ir()` function
rich-iannoneJul 29, 2021
c6b3213
Update ir_example.html
rich-iannoneJul 29, 2021
e3ebd60
Modify tag names
rich-iannoneJul 29, 2021
003ae5a
Return empty tagList is columns are hidden
rich-iannoneJul 29, 2021
6d6db29
Modify tag names for column labels loc
rich-iannoneJul 29, 2021
eacff8e
Add the `create_body_ir()` function
rich-iannoneJul 29, 2021
66c7d41
Remove TODO note
rich-iannoneJul 29, 2021
5354f30
Update ir_example.html
rich-iannoneJul 30, 2021
929d673
Update ir_example.html
rich-iannoneAug 2, 2021
2b5d74c
Update utils_render_ir.R
rich-iannoneAug 2, 2021
03c6a66
Update ir_example.html
rich-iannoneAug 3, 2021
51d77fc
Add `combine_as_ir()` util fn
rich-iannoneAug 3, 2021
c31bd26
Ensure that stub role is set for summary rows
rich-iannoneAug 3, 2021
8a60c75
Revise `create_heading_ir()`
rich-iannoneAug 3, 2021
22cf163
Update utils_render_ir.R
rich-iannoneAug 3, 2021
01bf3ea
Update render_ir.R
rich-iannoneAug 3, 2021
bbc9eaa
Add `stub` role in more elements
rich-iannoneAug 3, 2021
b29ad3c
Reformat footnotes in IR
rich-iannoneAug 3, 2021
889e3a5
Generate the `table_defs` object
rich-iannoneAug 3, 2021
97a9abb
Add the `config` element to the IR
rich-iannoneAug 3, 2021
fdf92af
Remove unneeded stmts
rich-iannoneAug 4, 2021
8c4a540
Implement styles in spanner elements
rich-iannoneAug 4, 2021
a09040d
Implement styling for column labels
rich-iannoneAug 4, 2021
4ac52a3
Implement styling for stubhead label
rich-iannoneAug 4, 2021
662e092
Update ir_example.html
rich-iannoneAug 4, 2021
0d0d5f5
Implement styling in footnotes location
rich-iannoneAug 4, 2021
e19018b
Add `data` arg to `combine_as_ir()`
rich-iannoneAug 4, 2021
0217e4f
Update render_ir.R
rich-iannoneAug 4, 2021
9df9f93
Rewrite implementation of config element
rich-iannoneAug 4, 2021
d97eab7
Remove stmt that returns an empty tagList
rich-iannoneAug 4, 2021
b67a58d
Refactor `combine_as_ir()`
rich-iannoneAug 4, 2021
9666427
Return IR as a character vector
rich-iannoneAug 4, 2021
523c067
Apply role as needed to stub cells
rich-iannoneAug 4, 2021
3d040b7
Move position of `role` attr for summary rows
rich-iannoneAug 4, 2021
fe0ea6c
Render all config keys in kebab case
rich-iannoneAug 9, 2021
e01472a
Modify order of `option_names`
rich-iannoneAug 9, 2021
a478771
Create ir-generation.R
rich-iannoneAug 9, 2021
e9574a6
Use `mark` tag to enclose rendered footnote marks
rich-iannoneAug 9, 2021
9824c8c
Use `mark` tag instead of `i` in footer area
rich-iannoneAug 9, 2021
e70ab27
Update ir-generation.R
rich-iannoneAug 9, 2021
630009c
Merge branch 'master' into ir-generation
rich-iannoneAug 9, 2021
067d168
Add `footnote-id` attr to all <mark> elements
rich-iannoneAug 9, 2021
51132d4
Disable failing tests for HTML output
rich-iannoneAug 9, 2021
4d8f33a
Update ir-generation.R
rich-iannoneAug 9, 2021
ccdf755
Update ir_example.html
rich-iannoneAug 9, 2021
4dfad82
Set `role` names in kebab case
rich-iannoneAug 9, 2021
e9fe61c
Update utils_render_html.R
rich-iannoneAug 13, 2021
1553e45
Update utils_render_ir.R
rich-iannoneAug 13, 2021
fa84a20
Update utils_render_html.R
rich-iannoneAug 13, 2021
f4752f3
Update utils_render_ir.R
rich-iannoneAug 13, 2021
31748e8
Update ir-generation.R
rich-iannoneAug 16, 2021
fcf4209
Add closing tag for <config> element
rich-iannoneAug 17, 2021
f9558f1
Update ir-generation.R
rich-iannoneAug 17, 2021
86ddb1e
Improve column counting routine
rich-iannoneAug 17, 2021
fc049d7
Update utils_render_ir.R
rich-iannoneAug 17, 2021
32dd92a
Update ir-generation.R
rich-iannoneAug 17, 2021
6fa2999
Update utils_render_ir.R
rich-iannoneAug 17, 2021
3d686dd
Update ir-generation.R
rich-iannoneAug 17, 2021
b531976
Use `class` instead of `loc` attr name
rich-iannoneAug 19, 2021
326b59d
Modify XPATH expression
rich-iannoneAug 19, 2021
b791a0f
Remove stmts that get table dims
rich-iannoneAug 25, 2021
b0c1058
Simplify `combine_as_ir()`
rich-iannoneAug 25, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
Update ir-generation.R
  • Loading branch information
@rich-iannone
rich-iannone committedAug 17, 2021
commitf9558f1680a0f1883390a53ef32bc5278dba1b56
14 changes: 7 additions & 7 deletionsscripts/ir-generation.R
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
# Example 01: Simple table
exibble %>%
gt() %>%
render_to_ir() %>% cat()


# Example1: All locations with styling and several options
# Examplez: All locations with styling and several options
exibble %>%
gt(rowname_col = "row", groupname_col = "group") %>%
tab_header("title", "subtitle") %>%
Expand DownExpand Up@@ -41,13 +46,8 @@ exibble %>%
tab_style(cell_fill("lightgreen"), locations = cells_footnotes()) %>%
tab_style(list(cell_fill("rebeccapurple"), cell_text("white")), locations = cells_source_notes()) %>%
tab_options(
# container.width = px(520),
# container.height = px(720),
# container.overflow.x = "hidden",
# container.overflow.y = NULL,
# column_labels.hidden = TRUE,
footnotes.sep = "<br />",
row.striping.include_stub = TRUE,
row.striping.include_table_body = TRUE
) %>%
render_to_ir()
render_to_ir() %>% cat()

[8]ページ先頭

©2009-2025 Movatter.jp