home / cp40x

names

7 rows where case_id = 1873552

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3618992 1873552 1873552 plaintiff Hill Richard (legal representative) 585869 585869 Hill, Richard, of London, tailor, administrator of 0
3618993 1873552 1873552 plaintiff Matok Nicholas     (Matok, Nicholas 1
3618994 1873552 1873552 plaintiff Nynes or Nyves Nicholas     Nynes or Nyves, Nicholas 2
3618995 1873552 1873552 defendant Norwell Richard chapman 586859 586859 Norwell, Richard, of Salisbury, chapman 0
3618996 1873552 1873552 defendant Bramston Roger chapman 595123 595123 Bramston, Roger, of Est Wycombe, Bucks, chapman 1
3618997 1873552 1873552 defendant Briggys William chapman 595124 595124 Briggys, William, of Halefax, Lincs, chapman 2
3618998 1873552 1873552 defendant Brewer John clothman 595125 595125 Brewer, John, of Castelcombe, Wilts, clothman 3

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE names (
    id INTEGER PRIMARY KEY AUTOINCREMENT,
    case_id INTEGER NOT NULL REFERENCES cases(id) ON DELETE CASCADE,
    role TEXT NOT NULL CHECK (role IN ('plaintiff', 'defendant')),
    surname TEXT NOT NULL,
    forename TEXT,
    occupation TEXT,
    place_id INTEGER REFERENCES places(id),
    raw_segment TEXT NOT NULL,
    seq INTEGER NOT NULL DEFAULT 0
);
CREATE INDEX idx_names_case_id ON names(case_id);
CREATE INDEX idx_names_surname ON names(surname);
CREATE INDEX idx_names_place_id ON names(place_id);
CREATE INDEX idx_names_role_surname ON names(role, surname);
Powered by Datasette · Queries took 11.546ms