home / cp40x

names

7 rows where case_id = 2172413

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4424178 2172413 2172413 plaintiff Hopton William de     Hopton, William de 0
4424179 2172413 2172413 defendant Mullehous Henry de     Mullehous, Henry de 0
4424180 2172413 2172413 defendant Rend Richard     Rend, Richard 1
4424181 2172413 2172413 defendant Tednstile John de son of John   Tednstile, John de, son of John 2
4424182 2172413 2172413 defendant Petrich Nicholas   598464 598464 Petrich, Nicholas, of Erdyngton 3
4424183 2172413 2172413 defendant W_ William   754936 754936 W_, William, of Tedustile 4
4424184 2172413 2172413 defendant Warde William   754936 754936 Warde, William, of Tedustile, son of William 5

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