cdata1.2.1 package

Fluid Data Transformations

blocks_to_rowrecs

Map data records from block records to row records.

blocks_to_rowrecs_q

Map sets rows to columns (query based, take name of table).

blocks_to_rowrecs_spec

Create a block records to row records transform specification.

build_pivot_control

Build a blocks_to_rowrecs()/rowrecs_to_blocks() control table that spe...

build_pivot_control_q

Build a blocks_to_rowrecs_q() control table that specifies a pivot (qu...

build_unpivot_control

Build a rowrecs_to_blocks() control table that specifies a un-pivot (o...

cdata-package

cdata: Fluid Data Transformations.

check_cols_form_unique_keys

Check columns form unique keys

convert_cdata_spec_to_yaml

Convert a layout_specification, blocks_to_rowrecs_spec, or rowrecs_to_...

convert_records

General transform from arbitrary record shape to arbitrary record shap...

convert_yaml_to_cdata_spec

Read a cdata record transform from a simple object (such as is importe...

get_transform_details

Upack details of a cdata record transform.

grapes-slash-slash-grapes

Factor-out (aggregate/project) block records into row records.

grapes-times-times-grapes

Multiply/join row records into block records.

layout_by.blocks_to_rowrecs_spec

Use transform spec to layout data.

layout_by.cdata_general_transform_spec

Use transform spec to layout data.

layout_by

Use transform spec to layout data.

layout_by.rowrecs_to_blocks_spec

Use transform spec to layout data.

layout_specification

Create a record to record spec.

map_fields

Map field values from one column into new derived columns (takes a `da...

map_fields_q

Map field values from one column into new derived columns (query based...

pivot_to_rowrecs

Map data records from block records that have one row per measurement ...

qlook

Quick look at remote data

rowrecs_to_blocks

Map a data records from row records to block records.

rowrecs_to_blocks_q

Map a set of columns to rows (query based, take name of table).

rowrecs_to_blocks_spec

Create a row records to block records transform specification.

rows_are_uniquely_keyed

Check if table rows are uniquely keyed by keyset.

unpivot_to_blocks

Map a data records from row records to block records with one record r...

Supplies higher-order coordinatized data specification and fluid transform operators that include pivot and anti-pivot as special cases. The methodology is describe in 'Zumel', 2018, "Fluid data reshaping with 'cdata'", <https://winvector.github.io/FluidData/FluidDataReshapingWithCdata.html> , <DOI:10.5281/zenodo.1173299> . This package introduces the idea of explicit control table specification of data transforms. Works on in-memory data or on remote data using 'rquery' and 'SQL' database interfaces.

  • Maintainer: John Mount
  • License: GPL-2 | GPL-3
  • Last published: 2023-08-20