home / cp40x

names

8 rows where case_id = 2002908

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3937598 2002908 2002908 plaintiff Owen alias Owyn William butler 607066 607066 Owen alias Owyn, William, of Lincoln's Inn, butler 0
3937599 2002908 2002908 defendant Perne Christopher gent 585869 585869 Perne, Christopher, of London, gent 0
3937600 2002908 2002908 defendant Bulbye Robert tanner 597387 597387 Bulbye, Robert, of Southwell, tanner 1
3937601 2002908 2002908 defendant Mylner William mercer 586901 586901 Mylner, William, of Nottingham, mercer 2
3937602 2002908 2002908 defendant Shaw Thomas tailor 655790 655790 Shaw, Thomas, of Chesterfeld, Derby, tailor 3
3937603 2002908 2002908 defendant Smythe John husbandman 655791 655791 Smythe, John, of Northbeck Wheatley, husbandman 4
3937604 2002908 2002908 defendant Hytte Edmund laborer 589865 589865 Hytte, Edmund, of Newark, laborer 5
3937605 2002908 2002908 defendant Wright Richard butcher 621051 621051 Wright, Richard, of Trowell, butcher 6

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 6.776ms