home / cp40x

names

8 rows where case_id = 2061741

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4104098 2061741 2061741 plaintiff Meredyth William gent   Meredyth, William, gent 0
4104099 2061741 2061741 defendant Taylor John Thomas yeoman 694362 694362 Taylor, John Thomas, of Llanveyr, Brecon, yeoman 0
4104100 2061741 2061741 defendant Rosser Meredith yeoman 686063 686063 Rosser, Meredith, of Llanelly, Brecon, yeoman 1
4104101 2061741 2061741 defendant Rosser Thomas yeoman 694363 694363 Rosser, Thomas, of Llanelly, yeoman 2
4104102 2061741 2061741 defendant Rosser Morgan yeoman 694363 694363 Rosser, Morgan, of Llanelly, yeoman 3
4104103 2061741 2061741 defendant Rosser Meredith, junior yeoman 694363 694363 Rosser, Meredith, junior, of Llanelly, yeoman 4
4104104 2061741 2061741 defendant Thomas Richard Philip yeoman 694363 694363 Thomas, Richard Philip, of Llanelly, yeoman 5
4104105 2061741 2061741 defendant Lluwellen Thomas yeoman 694363 694363 Lluwellen, Thomas, of Llanelly, yeoman 6

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.073ms