home / cp40x

names

6 rows where case_id = 2348896

✎ 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
4973126 2348896 2348896 plaintiff Ledys John fishmonger 585869 585869 Ledys, John, of London, fishmonger 0
4973127 2348896 2348896 defendant Wardale Thomas merchant 611011 611011 Wardale, Thomas, of Scardeburgh, Yorks, merchant 0
4973128 2348896 2348896 defendant Theccher William chapman 642867 642867 Theccher, William, of Buklond, Berks, chapman 1
4973129 2348896 2348896 defendant Tailour John rypyer or fishmonger 829200 829200 Tailour, John, of Hiche, Kent, rypyer or fishmonger 2
4973130 2348896 2348896 defendant Foche John rypyer or fishmonger 603818 603818 Foche, John, of Fulston, Kent, rypyer or fishmonger 3
4973131 2348896 2348896 defendant Robynson John merchant 589401 589401 Robynson, John, of Scardeburgh, merchant 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 17.022ms