home / cp40x

names

7 rows where case_id = 2407803

✎ 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
5172920 2407803 2407803 plaintiff Notyngham William     Notyngham, William 0
5172921 2407803 2407803 defendant Iskell John   855949 855949 Iskell, John, of Teteney, Lincs 0
5172922 2407803 2407803 defendant Stephenson Thomas merchant 803019 803019 Stephenson, Thomas, of Teteney, merchant 1
5172923 2407803 2407803 defendant Davy John merchant 759943 759943 Davy, John, of Kingeston upon Hull, merchant 2
5172924 2407803 2407803 defendant B_ Robert merchant 605984 605984 B_, Robert, of Newcastle upon Tyne, merchant 3
5172925 2407803 2407803 defendant Lylburne Robert merchant 605984 605984 Lylburne, Robert, of Newcastle upon Tyne, merchant 4
5172926 2407803 2407803 defendant Rednson (illegible) merchant 605984 605984 Rednson, _, of Newcastle upon Tyne, merchant 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.032ms