home / cp40x

names

6 rows where case_id = 2018484

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3982415 2018484 2018484 plaintiff Sanforde Edward merchant tailor 585869 585869 Sanforde, Edward, of London, merchant tailor 0
3982416 2018484 2018484 defendant Frauncis Thomas gent 666787 666787 Frauncis, Thomas, of Brickesham, Devon, gent 0
3982417 2018484 2018484 defendant Blewytt Nicholas gent 666788 666788 Blewytt, Nicholas, of Cotte, Soms, gent 1
3982418 2018484 2018484 defendant Pollarde Mathew gent 586435 586435 Pollarde, Mathew, of Leicester, gent 2
3982419 2018484 2018484 defendant Towers Peter yeoman 666789 666789 Towers, Peter, of Wickham, Bucks, yeoman 3
3982420 2018484 2018484 defendant Fordame William yeoman 666790 666790 Fordame, William, of Brokesbourne Strete, Herts, yeoman 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.267ms