home / cp40x

names

8 rows where case_id = 2185994

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4453157 2185994 2185994 plaintiff Langdon William de     Langdon, William de 0
4453158 2185994 2185994 plaintiff Roberd Alan     Roberd, Alan 1
4453159 2185994 2185994 plaintiff Robert Thomas   758127 758127 Robert, Thomas, of Algarkirk 2
4453160 2185994 2185994 defendant Fokes William   758347 758347 Fokes, William, of Kirkedon 0
4453161 2185994 2185994 defendant Fokes John     Fokes, John 1
4453162 2185994 2185994 defendant Wace Thomas son of Hugh   Wace, Thomas, son of Hugh 2
4453163 2185994 2185994 defendant Malyn John   596437 596437 Malyn, John, of Soterton, son of Lambert 3
4453164 2185994 2185994 defendant Whelewryght Thomas   739739 739739 Whelewryght, Thomas, of Kirketon 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 10.939ms