Description Usage Arguments Value Examples
For more details and examples, please see the package README.md
.
1 |
key |
optional key defined in |
... |
passed to |
indent_after_linebreak |
integer for extra indent |
string
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
sql_chunk_files(system.file('example_sql_chunks.yaml', package = 'dbr'))
sql_chunk('dbr.shinydemo.countries.count')
## pass it right away to a database
countries <- db_query(sql_chunk('dbr.shinydemo.countries.count'), 'shinydemo')
## example for a more complex query
cities <- db_query(sql_chunk('dbr.shinydemo.cities.europe'), 'shinydemo')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.