home / cp40x

names

7 rows where case_id = 2360716

✎ 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
5013269 2360716 2360716 plaintiff atte Hall William   786027 786027 atte Hall, William, of Appethorp 0
5013270 2360716 2360716 defendant Jacob John husbandman 835124 835124 Jacob, John, of Stewekeley, Hunts, husbandman 0
5013271 2360716 2360716 defendant Hall John husbandman 835125 835125 Hall, John, of Stewekeley, husbandman 1
5013272 2360716 2360716 defendant Jarwelton John husbandman 835126 835126 Jarwelton, John, of Offord Danys, Hunts, husbandman 2
5013273 2360716 2360716 defendant Faux John husbandman 763690 763690 Faux, John, of Tychemerssh, husbandman 3
5013274 2360716 2360716 defendant Alyn John husbandman 607716 607716 Alyn, John, of Corby, husbandman 4
5013275 2360716 2360716 defendant Fernam William husbandman 770869 770869 Fernam, William, of Luffwyk, husbandman 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 15.59ms