home / cp40x

names

6 rows where case_id = 2500115

✎ 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
5483852 2500115 2500115 plaintiff Luyt Thomas     Luyt, Thomas 0
5483853 2500115 2500115 defendant Proude William husbandman 587058 587058 Proude, William, of Sutton, husbandman 0
5483854 2500115 2500115 defendant Crosse Hugh husbandman 593267 593267 Crosse, Hugh, of Longedon, husbandman 1
5483855 2500115 2500115 defendant Fryser William sherman 586697 586697 Fryser, William, of Shrewsbury, sherman 2
5483856 2500115 2500115 defendant Spenell John butcher 586697 586697 Spenell, John, of Shrewsbury, butcher 3
5483857 2500115 2500115 defendant Irlond Edward gent 589669 589669 Irlond, Edward, of Bathe, soms, gent 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 17.313ms