home / cp40x

names

5 rows where case_id = 2088421

✎ 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
4179828 2088421 2088421 plaintiff Lorence Robert     Lorence, Robert 0
4179829 2088421 2088421 defendant A Moore Thomas, junior yeoman 709724 709724 A Moore, Thomas, junior, of Telsecombe, yeoman 0
4179830 2088421 2088421 defendant A Foorde William yeoman 672927 672927 A Foorde, William, of Chiltington, yeoman 1
4179831 2088421 2088421 defendant Myller William   687851 687851 Myller, William, of Southese, mason 2
4179832 2088421 2088421 defendant Myller John of Southover mason   Myller, John of Southover, mason 3

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 10.257ms