home / cp40x

names

7 rows where case_id = 2496835

✎ 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
5472844 2496835 2496835 plaintiff Meres Thomas esq   Meres, Thomas, esq 0
5472845 2496835 2496835 defendant Teryngton William yeoman 600051 600051 Teryngton, William, of Castre, yeoman 0
5472846 2496835 2496835 defendant Blyth William yeoman 586981 586981 Blyth, William, of Louth, yeoman 1
5472847 2496835 2496835 defendant Bolyon Thomas husbandman 890021 890021 Bolyon, Thomas, of Gosell, husbandman 2
5472848 2496835 2496835 defendant Broun Thomas yeoman 890022 890022 Broun, Thomas, of Langton by Partney, yeoman 3
5472849 2496835 2496835 defendant Warde John yeoman 598803 598803 Warde, John, of Alford, yeoman 4
5472850 2496835 2496835 defendant Rouce William yeoman 587620 587620 Rouce, William, of Saltfletby, yeoman 5

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