Description Usage Arguments Value Examples
View source: R/10-write-final-nested-df.R
Write final dataset, along with a sample, to the folder
that will house the app. The unnested df gets created in the app
so you don't need to create it here. It also writes the built-in
govt
dataset to the same location. Once you have those datasets,
copy-paste into the same folder the files global.R, server.R,
ui.R, about.md, and the www directory found in the
inst/examples/nyt_india_app folder.
1 2 3 4 5 6 | nyt_write_final_nested_df(
full_nested_df,
shiny_app_folder = "nyt_shiny_app",
sample = FALSE,
sample_pct = 0.1
)
|
full_nested_df |
output of |
shiny_app_folder |
name of shiny app folder |
sample |
whether to write a smaller sample file from full_nested_df |
sample_pct |
percentage of rows to use in the sample |
written nested dataframe (and sample)
1 2 3 4 | ## Not run:
nyt_write_final_nested_df(full_nested_df)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.