home / cp40x

names

7 rows where case_id = 2221810

✎ 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
4568750 2221810 2221810 plaintiff Walssh John goldsmith 585869 585869 Walssh, John, of London, goldsmith 0
4568751 2221810 2221810 defendant Orlton Thomas   586697 586697 Orlton, Thomas, of Shrewsbury 0
4568752 2221810 2221810 defendant Bayle Robert   587122 587122 Bayle, Robert, of Grenham 1
4568753 2221810 2221810 defendant Fookes John clerk   Fookes, John, clerk 2
4568754 2221810 2221810 defendant Bernevill John   615552 615552 Bernevill, John, of Devon 3
4568755 2221810 2221810 defendant Dawene John   615552 615552 Dawene, John, of Devon 4
4568756 2221810 2221810 defendant Whirwelle John goldsmith 585869 585869 Whirwelle, John, of London, goldsmith 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 16.109ms