home / cp40x

names

6 rows where case_id = 2522013

✎ 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
5557026 2522013 2522013 plaintiff Merler Thomas     Merler, Thomas 0
5557027 2522013 2522013 defendant Falshed John yeoman 613512 613512 Falshed, John, of Kexby, yeoman 0
5557028 2522013 2522013 defendant Taillour John tailor 590284 590284 Taillour, John, of Melburn, tailor 1
5557029 2522013 2522013 defendant Sparke Adam weaver 590284 590284 Sparke, Adam, of Melburn, weaver 2
5557030 2522013 2522013 defendant Thomson John laborer 846584 846584 Thomson, John, of Storthwayt, laborer 3
5557031 2522013 2522013 defendant Hoggeson Thomas yeoman 899805 899805 Hoggeson, Thomas, of Sutton on Durwent, 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 12.581ms