Package: toro 0.2.0

Uli Muellner

toro: High-Performance Interactive Mapping

Interactive spatial visualisations are a cornerstone for exploring and communicating complexity, and are commonly embedded into reports or interactive dashboards. However, as the amount of data grows, so do the demands on functionality, especially for technical and scientific data. To bridge this gap and create a mapping package that is high performing, a modern approach is needed that draws from best software engineering practices. Toro provides bindings to 'MapLibre GL JS', an open-source 'JavaScript'/'TypeScript' library for rendering interactive maps in the browser, built from the ground up for responsiveness and scale, by the MapLibre Organization (2020) <https://github.com/MapLibre>. This connection allows users to create interactive maps that can easily be integrated into both 'Quarto' and the 'R Shiny' dashboard framework. Toro thereby enables spatial visualisation and exploration of data that might otherwise be too limited, too slow, or too hard to scale using more traditional interactive mapping tools such as 'leaflet'.

Authors:Epi, NZ [aut, cph, fnd], Uli Muellner [cre], Poppy Pakinui [ctb], Kiel Hards [ctb], Nick Snellgrove [ctb], Jocelyn Qian [ctb], Petra Muellner [ctb], MapLibre contributors [cph], Turf contributors [cph], Mapbox contributors [cph]

toro_0.2.0.tar.gz
toro_0.2.0.zip(r-4.7-any)toro_0.2.0.zip(r-4.6-any)toro_0.2.0.zip(r-4.5-any)
toro_0.2.0.tgz(r-4.6-any)toro_0.2.0.tgz(r-4.5-any)
toro_0.2.0.tar.gz(r-4.7-any)toro_0.2.0.tar.gz(r-4.6-any)
toro_0.2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
toro/json (API)

# Install 'toro' in R:
install.packages('toro', repos = c('https://epi-interactive-ltd.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/epi-interactive-ltd/toro/issues

Pkgdown/docs site:https://epi-interactive-ltd.github.io

On CRAN:

Conda:

5.23 score 2 stars 80 scripts 406 downloads 78 exports 53 dependencies

Last updated from:09a542ff8b. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK169
source / vignettesOK266
linux-releaseOK148
macos-releaseOK161
macos-oldrelOK188
windows-develOK106
windows-releaseOK112
windows-oldrelOK89
wasm-releaseOK163

Exports:add_animation_controlsadd_circle_layeradd_cluster_toggleadd_control_groupadd_control_paneladd_cursor_coords_controladd_custom_controladd_draw_controladd_drawn_shapeadd_feature_server_sourceadd_fill_layeradd_imageadd_lat_lng_gridadd_layeradd_layer_selector_controladd_legendadd_line_layeradd_paint_controladd_routeadd_scale_controladd_sourceadd_speed_controladd_symbol_layeradd_text_layeradd_tile_selector_controladd_timeline_controladd_visibility_toggleadd_zoom_controlcheck_chrome_availabledelete_drawn_shapeexport_map_imageget_clicked_featureget_columnget_column_booleanget_column_groupget_column_stepsget_drawn_shapeget_layer_filterget_layout_optionsget_paint_optionsget_tile_optionshide_layermapmapOutputmapProxypause_routeplay_routeremove_cluster_toggleremove_controlremove_control_groupremove_cursor_coords_controlremove_custom_controlremove_draw_controlremove_layer_selector_controlremove_legendremove_paint_controlremove_routeremove_scale_controlremove_speed_controlremove_tile_selector_controlremove_timeline_controlremove_visibility_toggleremove_zoom_controlrenderMapsave_map_htmlset_boundsset_layout_propertyset_paint_propertyset_scale_control_unitset_source_dataset_tile_layerset_zoomshow_layertoggle_clusteringtoggle_controltoggle_lat_lng_gridtoggle_scale_controlupdate_drawn_shape

Dependencies:base64encbslibcachemclassclassIntclicommonmarkDBIdigeste1071evaluatefastmapfontawesomefsgeojsonsfgeometriesgluehighrhtmltoolshtmlwidgetshttpuvjquerylibjsonifyjsonliteKernSmoothknitrlaterlifecyclemagrittrmemoisemimeotelpromisesproxyR6rapidjsonrrappdirsRcpprlangrmarkdowns2sasssfsfheadersshinysourcetoolstinytexunitswithrwkxfunxtableyaml

Readme and manuals

Help Manual

Help pageTopics
Add animation controls to a toro mapadd_animation_controls
Add a circle layer to a map or map proxyadd_circle_layer
Add a cluster toggle control to the map or control paneladd_cluster_toggle
Add a control group to a control paneladd_control_group
Add a control panel to the mapadd_control_panel
Add a cursor coordinates control to the mapadd_cursor_coords_control
Add a custom HTML control to the mapadd_custom_control
Add a draw control to the mapadd_draw_control
Add a shape to the map as a drawn shape objectadd_drawn_shape
Add a FeatureService source to the mapadd_feature_server_source
Add a fill layer to a map or map proxyadd_fill_layer
Add an image source to the mapadd_image
Add a grid of latitude and longitude lines to the mapadd_lat_lng_grid
Add a layer to a map or map proxyadd_layer
Add a layer selector control to the map or control paneladd_layer_selector_control
Add a legend to a map for a specific layeradd_legend
Add a line layer to a map or map proxyadd_line_layer
Add a paint control to the mapadd_paint_control
Add a route to a toro map which can be animatedadd_route
Add a scale control to the mapadd_scale_control
Add a source to the mapadd_source
Add a speed control to the map or control paneladd_speed_control
Add a symbol layer to a map or map proxyadd_symbol_layer
Add a text layer to a map or map proxyadd_text_layer
Add a tile selector control to the map or control paneladd_tile_selector_control
Add a timeline control to the map or control paneladd_timeline_control
Add a visibility toggle control to the map or control paneladd_visibility_toggle
Add a zoom control to the mapadd_zoom_control
Check if Chrome or a Chromium-based browser is availablecheck_chrome_available
Delete a drawn shape from the mapdelete_drawn_shape
Export map as an image (non-Shiny context)export_map_image
Get the sf data frame of a clicked feature from the map widgetget_clicked_feature
Get a column from a dataset to use as a paint or layout option in a map layerget_column
Get the value for a paint or layout option in a map layer based on a column boolean valueget_column_boolean
Get the values for a paint or layout option in a map layer based on a column valueget_column_group
Get the properties for a column in a map layer based on step breaksget_column_steps
Get the drawn shape from the map widgetget_drawn_shape
Get a filter for a layerget_layer_filter
Get layout options for a specific layer typeget_layout_options
Get paint options for a specific layer typeget_paint_options
Get available tile layer optionsget_tile_options
Hide a layer from the maphide_layer
Create a MapLibre map widgetmap
Create a MapLibre GL output for use in ShinymapOutput
Create a proxy object for updating the mapmapProxy
Pause a route animation on a toro mappause_route
Play a route animation on a toro mapplay_route
Remove a cluster toggle control from the mapremove_cluster_toggle
Remove a control from the mapremove_control
Remove a control group from a control panelremove_control_group
Remove the cursor coordinates control from the mapremove_cursor_coords_control
Remove a custom control from the mapremove_custom_control
Remove the draw control from the mapremove_draw_control
Remove the layer selector control from the mapremove_layer_selector_control
Remove a legend from a map for a specific layerremove_legend
Remove a paint control from the mapremove_paint_control
Remove an animation route from a toro mapremove_route
Remove a scale control from the mapremove_scale_control
Remove the speed control from the mapremove_speed_control
Remove the tile selector control from the mapremove_tile_selector_control
Remove the timeline control from the mapremove_timeline_control
Remove a visibility toggle control from the mapremove_visibility_toggle
Remove the zoom control from the mapremove_zoom_control
Render a MapLibre GL map in ShinyrenderMap
Save map as standalone HTML filesave_map_html
Set the map boundsset_bounds
Set a layout property for a layer on the mapset_layout_property
Set a paint property for a layer on the mapset_paint_property
Update the unit of an existing scale controlset_scale_control_unit
Set data for a source on the mapset_source_data
Set the tile layer for the mapset_tile_layer
Set the map zoom levelset_zoom
Show a previously hidden layer on the mapshow_layer
Toggle clustering for a layer on the maptoggle_clustering
Toggle the visibility of a control on the maptoggle_control
Show/hide the latitude and longitude grid on the maptoggle_lat_lng_grid
Show or hide a scale control on the maptoggle_scale_control
Update the geometry of an existing drawn shape on the mapupdate_drawn_shape