mirror of
https://github.com/agdamsbo/FreesearchR.git
synced 2025-09-12 09:59:39 +02:00
clean variable names with janitor::clean_names()
This commit is contained in:
parent
027a2797a4
commit
e0ce910393
1 changed files with 5 additions and 3 deletions
|
@ -162,7 +162,9 @@ server <- function(input, output, session) {
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
shiny::observeEvent(rv$data_original, {
|
shiny::observeEvent(rv$data_original, {
|
||||||
rv$data <- rv$data_original |> default_parsing()
|
rv$data <- rv$data_original |>
|
||||||
|
default_parsing() |>
|
||||||
|
janitor::clean_names()
|
||||||
})
|
})
|
||||||
|
|
||||||
shiny::observeEvent(input$data_reset, {
|
shiny::observeEvent(input$data_reset, {
|
||||||
|
@ -543,8 +545,8 @@ server <- function(input, output, session) {
|
||||||
}
|
}
|
||||||
})()
|
})()
|
||||||
|
|
||||||
gtsummary::as_kable(rv$list$table1) |>
|
# gtsummary::as_kable(rv$list$table1) |>
|
||||||
readr::write_lines(file="./www/_table1.md")
|
# readr::write_lines(file="./www/_table1.md")
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue