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:
cubble_1.0.0.tar.gz
cubble_1.0.0.zip(r-4.5)cubble_1.0.0.zip(r-4.4)cubble_1.0.0.zip(r-4.3)
cubble_1.0.0.tgz(r-4.4-any)cubble_1.0.0.tgz(r-4.3-any)
cubble_1.0.0.tar.gz(r-4.5-noble)cubble_1.0.0.tar.gz(r-4.4-noble)
cubble_1.0.0.tgz(r-4.4-emscripten)cubble_1.0.0.tgz(r-4.3-emscripten)
cubble.pdf |cubble.html✨
cubble/json (API)
NEWS
# 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
- climate_aus - Australia climate data
- climate_flat - Toy climate data
- climate_mel - Toy climate data
- covid - Daily COVID count data
- historical_tmax - Australia climate data
- lga - Daily COVID count data
- meteo - Toy climate data
- meteo_ts - Toy climate data
- river - Australia river data
- stations - Toy climate data
- stations_sf - Toy climate data
Last updated 2 months agofrom:edb2d460ad. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 04 2024 |
R-4.5-win | OK | Nov 04 2024 |
R-4.5-linux | OK | Nov 04 2024 |
R-4.4-win | OK | Nov 04 2024 |
R-4.4-mac | OK | Nov 04 2024 |
R-4.3-win | OK | Nov 04 2024 |
R-4.3-mac | OK | Nov 04 2024 |
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
The cubble class
Rendered fromcb1class.Rmd
usingknitr::rmarkdown
on Nov 04 2024.Last update: 2024-08-27
Started: 2023-05-31
Creation and coercion
Rendered fromcb2create.Rmd
usingknitr::rmarkdown
on Nov 04 2024.Last update: 2024-08-27
Started: 2023-05-31
Compatibility with tsibble and sf
Rendered fromcb3tsibblesf.Rmd
usingknitr::rmarkdown
on Nov 04 2024.Last update: 2024-08-27
Started: 2023-06-15
Making a glyph map
Rendered fromcb4glyph.Rmd
usingknitr::rmarkdown
on Nov 04 2024.Last update: 2024-08-27
Started: 2023-06-15
Matching different data sources
Rendered fromcb5match.Rmd
usingknitr::rmarkdown
on Nov 04 2024.Last update: 2024-08-27
Started: 2023-06-15
Interactive graphics
Rendered fromcb6interactive.Rmd
usingknitr::rmarkdown
on Nov 04 2024.Last update: 2024-08-27
Started: 2023-06-15
Answers to common questions and extra examples
Rendered fromcb7misc.Rmd
usingknitr::rmarkdown
on Nov 04 2024.Last update: 2024-10-05
Started: 2023-10-11
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Accessors to a cubble object | names<-.spatial_cubble_df names<-.temporal_cubble_df [.spatial_cubble_df [.temporal_cubble_df [[<-.cubble_df |
'dplyr' methods | arrange.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 object | as_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 data | climate_aus historical_tmax |
Daily COVID count data (in 'tsibble') and Victoria LGA (in 'sf') | covid lga |
Create a cubble object | cubble make_cubble |
Pivot a cubble object between the nested/long (spatial/temporal) form | face_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 object | fill_gaps.temporal_cubble_df index_by.temporal_cubble_df scan_gaps.temporal_cubble_df |
Create glyph map with ggplot2 | geom_glyph geom_glyph_box geom_glyph_line |
Predicate functions on the object class | is_cubble is_cubble_spatial is_cubble_temporal is_sf is_tsibble |
Extract cubble attributes | coords 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 class | make_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 similarity | match_sites match_spatial match_temporal |
Print methods | print.cubble_df tbl_sum.spatial_cubble_df tbl_sum.temporal_cubble_df |
Australia river data | river |
Toy climate data | climate_flat climate_mel meteo meteo_ts stations stations_sf |
Augment spatial component into the long (temporal) form | unfold unfold.spatial_cubble_df unfold.temporal_cubble_df |
Temporary update cubble if the sf class take precedent of cubble classes | update_cubble update_cubble.spatial_cubble_df |