home / cp40x

names

6 rows where case_id = 2506836

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5506128 2506836 2506836 plaintiff Bussh John     Bussh, John 0
5506129 2506836 2506836 defendant Hony or Hovy David mercer 586696 586696 Hony or Hovy, David, of Staunford, mercer 0
5506130 2506836 2506836 defendant Clyfton Hugh yeoman 894412 894412 Clyfton, Hugh, of Yerwell, Nhants, yeoman 1
5506131 2506836 2506836 defendant Edwyn Robert yeoman 877385 877385 Edwyn, Robert, of Apethorp, Nhants, yeoman 2
5506132 2506836 2506836 defendant Punchebe John tailor 586696 586696 Punchebe, John, of Staunford, tailor 3
5506133 2506836 2506836 defendant Barton John   894413 894413 Barton, John, of Thurleby juxta Burn, surgeon 4

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 7.935ms