home / cp40x

names

6 rows where case_id = 2175095

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4433066 2175095 2175095 plaintiff Eston John de   753624 753624 Eston, John de, of Wermouth, parson 0
4433067 2175095 2175095 defendant Warde Robert   755967 755967 Warde, Robert, of Croft upon Tese 0
4433068 2175095 2175095 defendant Corta William   755968 755968 Corta, William, of Croft upon Tees 1
4433069 2175095 2175095 defendant Ingelby John de     Ingelby, John de 2
4433070 2175095 2175095 defendant Mareschall William of Croft upon Tese     Mareschall, William of Croft upon Tese 3
4433071 2175095 2175095 defendant Bellerby William de   755969 755969 Bellerby, William de, of Walburn 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 15.392ms