home / cp40x

names

6 rows where case_id = 1990507

✎ 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
3900827 1990507 1990507 plaintiff Chambers Richard     Chambers, Richard 0
3900828 1990507 1990507 defendant Leyster John smith 591580 591580 Leyster, John, of Yoxall, smith 0
3900829 1990507 1990507 defendant Wardull Richard laborer 593148 593148 Wardull, Richard, of Chedull, laborer 1
3900830 1990507 1990507 defendant Baddeley Thomas smith 593148 593148 Baddeley, Thomas, of Chedull, smith 2
3900831 1990507 1990507 defendant Smyth John smith 591578 591578 Smyth, John, of Uttoxatur, smith 3
3900832 1990507 1990507 defendant Wetton William tailor 645676 645676 Wetton, William, of Marchenton, tailor 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 15.192ms