Package: cubble 0.3.1

H. Sherry Zhang

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.

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

cubble_0.3.1.tar.gz
cubble_0.3.1.tar.gz(r-4.5-noble)cubble_0.3.1.tar.gz(r-4.4-noble)
cubble_0.3.1.tgz(r-4.4-emscripten)cubble_0.3.1.tgz(r-4.3-emscripten)
cubble.pdf |cubble.html
cubble/json (API)
NEWS

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

Peer review:

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

Datasets:

29 exports 1 stars 0.23 score 54 dependencies 911 downloads

Last updated 3 days agofrom:e14bf16d3d

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:anytimeBHclassclassIntclicolorspacecpp11DBIdplyre1071ellipsisfansifarvergenericsggplot2gluegtableisobandKernSmoothlabelinglatticelifecyclelubridatemagrittrMASSMatrixmgcvmunsellncdf4nlmepillarpkgconfigproxypurrrR6RColorBrewerRcpprlangs2scalessfstringistringrtibbletidyrtidyselecttimechangetsibbleunitsutf8vctrsviridisLitewithrwk

Creation and coercion

Rendered fromcb2create.Rmdusingknitr::rmarkdownon Jul 03 2024.

Last update: 2024-07-03
Started: 2023-06-30

Making a glyph map

Rendered fromcb4glyph.Rmdusingknitr::rmarkdownon Jul 03 2024.

Last update: 2024-07-03
Started: 2023-06-30

Matching different data sources

Rendered fromcb5match.Rmdusingknitr::rmarkdownon Jul 03 2024.

Last update: 2024-07-03
Started: 2023-06-30

Compatibility with tsibble and sf

Rendered fromcb3tsibblesf.Rmdusingknitr::rmarkdownon Jul 03 2024.

Last update: 2024-07-03
Started: 2023-06-30

Answers to common questions and extra examples

Rendered fromcb7misc.Rmdusingknitr::rmarkdownon Jul 03 2024.

Last update: 2024-07-03
Started: 2024-07-03

The cubble class

Rendered fromcb1class.Rmdusingknitr::rmarkdownon Jul 03 2024.

Last update: 2024-07-03
Started: 2023-06-30

Interactive graphics

Rendered fromcb6interactive.Rmdusingknitr::rmarkdownon Jul 03 2024.

Last update: 2024-07-03
Started: 2023-06-30

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 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