home / cp40x

names

6 rows where case_id = 2106566

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4231631 2106566 2106566 plaintiff Alyfe Thomas     Alyfe, Thomas 0
4231632 2106566 2106566 defendant Allyngham Thomas husbandman 589607 589607 Allyngham, Thomas, of Reygate, husbandman 0
4231633 2106566 2106566 defendant Jelly Robert, junior husbandman 589607 589607 Jelly, Robert, junior, of Reygate, husbandman 1
4231634 2106566 2106566 defendant Allyngham Agnes single woman 589607 589607 together with Allyngham, Agnes, of Reygate, single woman 2
4231635 2106566 2106566 defendant Stacy Thomas husbandman 589607 589607 Stacy, Thomas, of Reygate, husbandman 3
4231636 2106566 2106566 defendant Killicke Thomas, junior husbandman 589607 589607 Killicke, Thomas, junior, of Reygate, 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 16.483ms