home / cp40x

names

6 rows where case_id = 1907425

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3640385 1907425 1907425 plaintiff Acton Hugh merchant tailor 585869 585869 Acton, Hugh, of London, merchant tailor 0
3640386 1907425 1907425 defendant Tryste Thomas gent 600271 600271 Tryste, Thomas, of Cambulton, Beds, gent 0
3640387 1907425 1907425 defendant Wyntersall William yeoman 585869 585869 Wyntersall, William, of London, yeoman 1
3640388 1907425 1907425 defendant Orwell John yeoman 600272 600272 Orwell, John, of Newport, Isle of Wight, yeoman 2
3640389 1907425 1907425 defendant Willoughby Edward gent 585869 585869 Willoughby, Edward, of London, gent 3
3640390 1907425 1907425 defendant Willebe Richard gent 585869 585869 Willebe, Richard, of London, gent 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.662ms