home / cp40x

names

7 rows where case_id = 1995026

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3913995 1995026 1995026 plaintiff Browne Thomas     Browne, Thomas 0
3913996 1995026 1995026 defendant Browne John husbandman 587074 587074 Browne, John, of Donyngton, husbandman 0
3913997 1995026 1995026 defendant Cowper Thomas weaver 587074 587074 Cowper, Thomas, of Donyngton, weaver 1
3913998 1995026 1995026 defendant Benet William husbandman 587074 587074 Benet, William, of Donyngton, husbandman 2
3913999 1995026 1995026 defendant Fulgeam Robert husbandman 587074 587074 Fulgeam, Robert, of Donyngton, husbandman 3
3914000 1995026 1995026 defendant Grey Thomas husbandman 650794 650794 Grey, Thomas, of Momby, husbandman 4
3914001 1995026 1995026 defendant Rawson Christopher husbandman 650795 650795 Rawson, Christopher, of Kyrkby Bayn, 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 14.434ms