home / cp40x

names

6 rows where case_id = 2436121

✎ 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
5269295 2436121 2436121 plaintiff Byrde John (legal representative) 604261 604261 Byrde, John, of Wells, glover, executor of 0
5269296 2436121 2436121 plaintiff lychefeld John     lychefeld, John 1
5269297 2436121 2436121 defendant Mayne William fuller 866447 866447 Mayne, William, of Wymburn Minster, Dors, fuller 0
5269298 2436121 2436121 defendant Lawetry Thomas butcher 591348 591348 Lawetry, Thomas, of Dreycote, butcher 1
5269299 2436121 2436121 defendant Caas Robert yeoman 606659 606659 Caas, Robert, of Mellys, yeoman 2
5269300 2436121 2436121 defendant Rose John yeoman 599338 599338 Rose, John, of Bruton, yeoman 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 15.138ms