home / cp40x

names

7 rows where case_id = 2197157

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4488597 2197157 2197157 plaintiff Sumpter John   587801 587801 Sumpter, John, of St Osith, son of John 0
4488598 2197157 2197157 defendant Cotell William   586470 586470 Cotell, William, of Colchester 0
4488599 2197157 2197157 defendant Ilger Robert formerly servant of William Fraunceys   Ilger, Robert, formerly servant of William Fraunceys 1
4488600 2197157 2197157 defendant Arwesmyth John     Arwesmyth, John 2
4488601 2197157 2197157 defendant Bisshop John   586470 586470 Bisshop, John, of Colchester 3
4488602 2197157 2197157 defendant Boclee William     Boclee, William 4
4488603 2197157 2197157 defendant Nokelot Thomas     Nokelot, Thomas 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.839ms