Package: vegawidget 0.5.0.9000
vegawidget: 'Htmlwidget' for 'Vega' and 'Vega-Lite'
'Vega' and 'Vega-Lite' parse text in 'JSON' notation to render chart-specifications into 'HTML'. This package is used to facilitate the rendering. It also provides a means to interact with signals, events, and datasets in a 'Vega' chart using 'JavaScript' or 'Shiny'.
Authors:
vegawidget_0.5.0.9000.tar.gz
vegawidget_0.5.0.9000.zip(r-4.5)vegawidget_0.5.0.9000.zip(r-4.4)vegawidget_0.5.0.9000.zip(r-4.3)
vegawidget_0.5.0.9000.tgz(r-4.4-any)vegawidget_0.5.0.9000.tgz(r-4.3-any)
vegawidget_0.5.0.9000.tar.gz(r-4.5-noble)vegawidget_0.5.0.9000.tar.gz(r-4.4-noble)
vegawidget_0.5.0.9000.tgz(r-4.4-emscripten)vegawidget_0.5.0.9000.tgz(r-4.3-emscripten)
vegawidget.pdf |vegawidget.html✨
vegawidget/json (API)
NEWS
# Install 'vegawidget' in R: |
install.packages('vegawidget', repos = c('https://vegawidget.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/vegawidget/vegawidget/issues
- data_category - Example dataset: Categorical data
- data_seattle_daily - Example dataset: Seattle daily weather
- data_seattle_hourly - Example dataset: Seattle hourly temperatures
- spec_mtcars - Example vegaspec: mtcars scatterplot
Last updated 10 months agofrom:e28774fcc8. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 12 2024 |
R-4.5-win | OK | Nov 12 2024 |
R-4.5-linux | OK | Nov 12 2024 |
R-4.4-win | OK | Nov 12 2024 |
R-4.4-mac | OK | Nov 12 2024 |
R-4.3-win | OK | Nov 12 2024 |
R-4.3-mac | OK | Nov 12 2024 |
Exports:.vw_handler_body.vw_handler_def%>%as_vegaspecglue_jsJSknit_print.vegaspecrenderVegawidgets3_registeruse_vegawidgetuse_vegawidget_interactivevega_embedvega_schemavega_versionvega_version_allvega_version_availablevegawidgetvegawidgetOutputvw_add_data_listenervw_add_event_listenervw_add_signal_listenervw_as_jsonvw_autosizevw_examinevw_fetchvw_handlervw_handler_add_effectvw_handler_body_composevw_handler_composevw_handler_datavw_handler_eventvw_handler_signalvw_loadvw_rename_datasetsvw_serialize_datavw_set_base_urlvw_shiny_demovw_shiny_get_datavw_shiny_get_eventvw_shiny_get_signalvw_shiny_runvw_shiny_set_datavw_shiny_set_signalvw_spec_versionvw_to_bitmapvw_to_svgvw_to_vegavw_write_pngvw_write_svg
Dependencies:assertthatbase64encbslibcachemclidigestevaluatefastmapfontawesomefsgluehighrhtmltoolshtmlwidgetsjquerylibjsonliteknitrlifecyclemagrittrmemoisemimeR6rappdirsrlangrmarkdownsasstinytexxfunyaml
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Add JavaScript listeners | add-listeners vw_add_data_listener vw_add_event_listener vw_add_signal_listener |
Coerce to vegaspec | as_vegaspec as_vegaspec.character as_vegaspec.default as_vegaspec.json as_vegaspec.list as_vegaspec.vegaspec as_vegaspec.vegawidget |
Example dataset: Categorical data | data_category |
Example dataset: Seattle daily weather | data_seattle_daily |
Example dataset: Seattle hourly temperatures | data_seattle_hourly |
Interpolate into a JavaScript string | glue_js |
Create or write image | image vw_to_bitmap vw_to_svg vw_write_png vw_write_svg |
Knit-print method | knit_print.vegaspec |
Render shiny-output for vegawidget | renderVegawidget |
Get information from a Vega chart into Shiny | shiny-getters vw_shiny_get_data vw_shiny_get_event vw_shiny_get_signal |
Set information in a Vega chart from Shiny | shiny-setters vw_shiny_run vw_shiny_set_data vw_shiny_set_signal |
Example vegaspec: mtcars scatterplot | spec_mtcars |
Add vegawidget functions to your package | use_vegawidget use_vegawidget_interactive |
Vega embed options | vega_embed |
Create string for schema-URL | vega_schema |
Get Vega JavaScript versions | vega_version vega_version_all vega_version_available |
Create a Vega/Vega-Lite htmlwidget | vegawidget |
Shiny-output for vegawidget | vegawidgetOutput |
Coerce vegaspec to JSON | vw_as_json |
Autosize vegaspec | vw_autosize |
Examine vegaspec | vw_examine |
Add a side-effect to a JavaScript handler | vw_handler_add_effect |
Construct a JavaScript handler | vw_handler_data vw_handler_event vw_handler_signal |
Rename datasets in a vegaspec | vw_rename_datasets |
Serialize data-frame time-columns | vw_serialize_data |
Set base URL | vw_set_base_url |
Run Shiny demonstration-apps | vw_shiny_demo |
Determine vegaspec version | vw_spec_version |
Convert to Vega specification | vw_to_vega |