home / cp40x

names

6 rows where case_id = 1870361

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3608631 1870361 1870361 plaintiff Tutte Thomas     Tutte, Thomas 0
3608632 1870361 1870361 defendant Waterman John husbandman 592721 592721 Waterman, John, of Whytechurch, husbandman 0
3608633 1870361 1870361 defendant Cooke John husbandman 592722 592722 Cooke, John, of North Langley, Wilts, husbandman 1
3608634 1870361 1870361 defendant Symons John butcher 592723 592723 Symons, John, of Cosseham, Wilts, butcher 2
3608635 1870361 1870361 defendant Blome John smith 592724 592724 Blome, John, of Rumsey, smith 3
3608636 1870361 1870361 defendant Luffe John husbandman 592725 592725 Luffe, John, of Pollesholt, 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 13.778ms