quantity_spec: File specification for the Quantity Report

quantity_specR Documentation

File specification for the Quantity Report

Description

A list containing two data frames: fields and tables.

Usage

quantity_spec

Format

An object of class list of length 2.

tables

tables is a data frame with 13 rows and 5 variables:

table

The table name in the specification

entity

The entity name in the specification

snake_table

A snake_case version of table

type

Either submission or enum

is_scalar

Boolean whether the table is a list of scalars or a data table

fields

fields is a data frame with 71 rows and 9 variables:

table

The table name in the specification

field

The field name in the specification

snake_name

A snake_case version of field

safe_name

A database-safe version of field

type

SQL data type for the field

pk

Boolean if the field is a primary key

fk_table

Foreign key constraint table, if applicable

fk_field

Foreign key constraint field, if applicable

optional

Boolean if the field is optional or not

See Also

Other Data Specs: flexfile_spec, maintrepair_spec, techdatareport_spec


Technomics/readflexfile documentation built on Jan. 10, 2024, 6:25 p.m.