home / cp40x

names

6 rows where case_id = 1910434

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3650201 1910434 1910434 plaintiff Ryce Thomas     Ryce, Thomas 0
3650202 1910434 1910434 defendant Broke John husbandman 592109 592109 Broke, John, of Kersey, husbandman 0
3650203 1910434 1910434 defendant Thurger Ralph husbandman 587004 587004 Thurger, Ralph, of Preston, husbandman 1
3650204 1910434 1910434 defendant Pratt William husbandman 590448 590448 Pratt, William, of Alton, husbandman 2
3650205 1910434 1910434 defendant Downys Ralph tailor 586953 586953 Downys, Ralph, of Sudbury, tailor 3
3650206 1910434 1910434 defendant Robson Geoffrey sherman 587882 587882 Robson, Geoffrey, of Lavenham, sherman 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 8.084ms