home / cp40x

names

6 rows where case_id = 1863912

✎ 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
3588037 1863912 1863912 plaintiff Banwell William mercer 586117 586117 Banwell, William, of Coventry, mercer 0
3588038 1863912 1863912 defendant Bacon Thomas chapman 586149 586149 Bacon, Thomas, of Dedyngworth, Nhants, chapman 0
3588039 1863912 1863912 defendant Pachet Roger mercer 586150 586150 Pachet, Roger, of Stretford on Avon, Warks, mercer 1
3588040 1863912 1863912 defendant Fleccher William   586117 586117 Fleccher, William, of Coventry, vestment maker 2
3588041 1863912 1863912 defendant Hurst William tailor 586152 586152 Hurst, William, of Warwick, tailor 3
3588042 1863912 1863912 defendant Hunt William weaver 586117 586117 Hunt, William, of Coventry, weaver 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 6.015ms