home / cp40x

names

8 rows where case_id = 1930420

✎ 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
3713120 1930420 1930420 plaintiff Wyngar George (legal representative) 585869 585869 Wyngar, George, of London, grocer, executors of 0
3713121 1930420 1930420 plaintiff Colman Thomas clerk   (Colman, Thomas, clerk 1
3713122 1930420 1930420 plaintiff Warde Stephen   585869 585869 Warde, Stephen, of London, wax chandler 2
3713123 1930420 1930420 defendant Yong Richard grocer 585869 585869 Yong, Richard, of London, grocer 0
3713124 1930420 1930420 defendant Hughson Richard grocer 585936 585936 Hughson, Richard, of Norwich, grocer 1
3713125 1930420 1930420 defendant Newman William armorer 585869 585869 Newman, William, of London, armorer 2
3713126 1930420 1930420 defendant Lane Richard tailor 616191 616191 Lane, Richard, of London, St Clement Danes, tailor 3
3713127 1930420 1930420 defendant Lyon John currier 585869 585869 Lyon, John, of London, currier 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.572ms