home / cp40x

names

6 rows where case_id = 2442242

✎ 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
5290559 2442242 2442242 plaintiff Nyche Thomas mercer 585869 585869 Nyche, Thomas, of London, mercer 0
5290560 2442242 2442242 defendant Seton Richard chapman 586180 586180 Seton, Richard, of Bury St Edmunds, chapman 0
5290561 2442242 2442242 defendant Reynold Richard cordwainer 851308 851308 Reynold, Richard, of Eyreth, Kent, cordwainer 1
5290562 2442242 2442242 defendant Belt Richard yeoman 637438 637438 Belt, Richard, of Gravysende, Kent, yeoman 2
5290563 2442242 2442242 defendant Blaknall John tailor 590212 590212 Blaknall, John, of Dertford, Kent, tailor 3
5290564 2442242 2442242 defendant Tasburgh Robert mercer 588456 588456 Tasburgh, Robert, of Yarmouth, mercer 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 16.0ms