Package: cubble 1.0.0

cubble: A Vector Spatio-Temporal Data Structure for Data Analysis

A spatiotemperal data object in a relational data structure to separate the recording of time variant/ invariant variables. See the Journal of Statistical Software reference: <doi:10.18637/jss.v110.i07>.

Authors:H. Sherry Zhang [aut, cre], Dianne Cook [aut], Ursula Laa [aut], Nicolas Langrené [aut], Patricia Menéndez [aut]

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

# Install 'cubble' in R:
install.packages('cubble', repos = c('https://huizezhang-sherry.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/huizezhang-sherry/cubble/issues

Pkgdown/docs site:https://huizezhang-sherry.github.io

Datasets:

On CRAN:

Conda:

8.61 score 57 stars 1 packages 85 scripts 1.9k downloads 29 exports 46 dependencies

Last updated from:f556ef083d. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK240
source / vignettesOK253
linux-releaseOK227
macos-releaseOK211
macos-oldrelOK255
windows-develOK161
windows-releaseOK202
windows-oldrelOK140
wasm-releaseOK139

Exports:as_cubblebind_cols.spatial_cubble_dfbind_cols.temporal_cubble_dfbind_rows.temporal_cubble_dfcheck_keycoordscubbleface_spatialface_temporalfiltergeom_glyphgeom_glyph_boxgeom_glyph_lineindexindex_varis_cubbleis_cubble_spatialis_cubble_temporalis_sfis_tsibblemake_cubblemake_spatial_sfmake_temporal_tsibblematch_sitesmatch_spatialmatch_temporalspatialunfoldupdate_cubble

Dependencies:anytimeBHclassclassIntclicpp11DBIdplyre1071farvergenericsggplot2gluegtableisobandKernSmoothlabelinglifecyclelubridatemagrittrncdf4pillarpkgconfigproxypurrrR6RColorBrewerRcpprlangs2S7scalessfstringistringrtibbletidyrtidyselecttimechangetsibbleunitsutf8vctrsviridisLitewithrwk

The cubble class
The cubble object | The cubble attributes | Creation and coercion | Create from separate spatial and temporal tables | Coerce from foreign objects | The tibble objects | The NetCDF data | The stars objects | The sftime objects | Compatibility with tsibble and sf | Using a tsibble for the temporal component | A spatial component with sf | Common questions | Why summarising of temporal data by station is not in temporal form? | Reference

Last update: 2026-10-12
Started: 2023-05-31

Application: matching different data sources
Spatial matching | Temporal matching

Last update: 2026-10-12
Started: 2026-10-12

Visualization: glyph map basics
Why glyph maps? | From facets to a glyph map | What the glyph map shows | The glyph map syntax | geom_glyph() and its four aesthetics | Reference boxes and lines | Adding other layers | Everything else in ggplot2 | Reference

Last update: 2026-10-12
Started: 2023-05-31

Visualization: glyph map examples
How long after a storm is it safe to swim in Sydney? | Reference

Last update: 2026-10-12
Started: 2026-10-12

Visualization: interactive graphics
Variation of diurnal temperature range in Australia | Linking with crosstalk | Creating maps with leaflet | Creating time series plot with plotly | Assembling into a linked plot | Making selection to see the linking

Last update: 2026-10-12
Started: 2023-06-13

Readme and manuals

Help Manual

Help pageTopics
Accessors to a cubble objectnames<-.spatial_cubble_df names<-.temporal_cubble_df [.spatial_cubble_df [.temporal_cubble_df [[<-.cubble_df
'dplyr' methodsarrange.spatial_cubble_df arrange.temporal_cubble_df bind_cols.spatial_cubble_df bind_cols.temporal_cubble_df bind_rows.temporal_cubble_df dplyr_col_modify.cubble_df dplyr_reconstruct.spatial_cubble_df dplyr_reconstruct.temporal_cubble_df dplyr_row_slice.spatial_cubble_df dplyr_row_slice.temporal_cubble_df filter.spatial_cubble_df group_by.spatial_cubble_df group_by.temporal_cubble_df mutate.spatial_cubble_df mutate.temporal_cubble_df rename.spatial_cubble_df rename.temporal_cubble_df rowwise.spatial_cubble_df rowwise.temporal_cubble_df select.spatial_cubble_df select.temporal_cubble_df summarise.spatial_cubble_df summarise.temporal_cubble_df ungroup.spatial_cubble_df ungroup.temporal_cubble_df
Coerce foreign objects into a cubble objectas_cubble as_cubble.data.frame as_cubble.ncdf4 as_cubble.sf as_cubble.sftime as_cubble.stars as_cubble.tbl_df
Check on key when create cubble from two components (spatial/temporal)check_key
Australia climate dataclimate_aus historical_tmax
Daily COVID count data (in 'tsibble') and Victoria LGA (in 'sf')covid lga
Create a cubble objectcubble make_cubble
Pivot a cubble object between the nested/long (spatial/temporal) formface_spatial face_spatial.spatial_cubble_df face_spatial.temporal_cubble_df face_temporal face_temporal.spatial_cubble_df face_temporal.temporal_cubble_df
Gap-filling on the temporal component of a cubble objectfill_gaps.temporal_cubble_df index_by.temporal_cubble_df scan_gaps.temporal_cubble_df
Create glyph map with ggplot2geom_glyph geom_glyph_box geom_glyph_line
Predicate functions on the object classis_cubble is_cubble_spatial is_cubble_temporal is_sf is_tsibble
Extract cubble attributescoords index index_var key.cubble_df key_data.cubble_df key_vars.cubble_df spatial spatial.spatial_cubble_df spatial.temporal_cubble_df
Update the spatial cubble to include the sf classmake_spatial_sf
Update the temporal cubble to include the tsibble class ('tbl_ts')make_temporal_tsibble
Match stations in two cubbles by spatial distance/ temporal similaritymatch_sites match_spatial match_temporal
Print methodsprint.cubble_df tbl_sum.spatial_cubble_df tbl_sum.temporal_cubble_df
Australia river datariver
Toy climate dataclimate_flat climate_mel meteo meteo_ts stations stations_sf
Augment spatial component into the long (temporal) formunfold unfold.spatial_cubble_df unfold.temporal_cubble_df
Temporary update cubble if the sf class take precedent of cubble classesupdate_cubble update_cubble.spatial_cubble_df