home / cp40x

names

6 rows where case_id = 2483942

✎ 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
5430112 2483942 2483942 plaintiff Haryson John     Haryson, John 0
5430113 2483942 2483942 defendant Jakson Thomas husbandman 886696 886696 Jakson, Thomas, of Towethorp, Yorks, husbandman 0
5430114 2483942 2483942 defendant Jakson John husbandman 590545 590545 Jakson, John, of Towethorp, husbandman 1
5430115 2483942 2483942 defendant Flaxton William husbandman 886697 886697 Flaxton, William, of Strynsall, Yorks, husbandman 2
5430116 2483942 2483942 defendant Agyr John husbandman 655017 655017 Agyr, John, of Huntyngton, Yorks, husbandman 3
5430117 2483942 2483942 defendant Ilys John husbandman 810333 810333 Ilys, John, of Scrayngham, Yorks, husbandman 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 11.912ms