home / cp40x

names

8 rows where case_id = 2477030

✎ 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
5406867 2477030 2477030 plaintiff Thornton John     Thornton, John 0
5406868 2477030 2477030 defendant Edward Bartholomew husbandman 590659 590659 Edward, Bartholomew, of Leveryngton, husbandman 0
5406869 2477030 2477030 defendant Pombe R--- husbandman 590659 590659 Pombe, R---, of Leveryngton, husbandman 1
5406870 2477030 2477030 defendant Frynge (illegible) husbandman 590659 590659 ~Frynge, ----, of Leveryngton, husbandman 2
5406871 2477030 2477030 defendant Hobson John husbandman 590659 590659 Hobson, John, of leveryngton, husbandman 3
5406872 2477030 2477030 defendant Wright John clerk 773500 773500 Wright, John, of Wisebech, clerk 4
5406873 2477030 2477030 defendant Tylson John husbandman 590659 590659 Tylson, John, of Leveryngton, husbandman 5
5406874 2477030 2477030 defendant Reynold William butcher 779513 779513 Reynold, William, of Wisbech, butcher 6

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