Skip to contents

A subset of the data stored in the Porowhitā Hauwha table called names.

Each facility, whether an asset, a space, or an entity, should have at least one record in this table: a name of role "primary". Some facilities also have at least one name of role "alternate" where we're aware of any alternate names. The primary name is also the name used in the relevant table, whether an asset, a space, or an entity.

This data has been made available for use in package documentation examples, and for the user to explore the kind of information stored in the live Porowhita Hauwhā database.

Usage

test_names

Format

'test_names'

A data frame with 7 rows and 4 columns:

id

Unique identifier. This is the primary key for the table.

value

The name of the facility, categorised by the role field.

role

Categorises the name stored in value as either the primary or alternate name used for this facility. A facility can have multiple alternate names.

facilities_attributes_id

A foreign key for joining to the facilities_attributes table, where more information about this facility is found.