home / cp40x

names

6 rows where case_id = 2498927

✎ 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
5479660 2498927 2498927 plaintiff Clerk Thomas tailor 595741 595741 Clerk, Thomas, of Nuneton, tailor 0
5479661 2498927 2498927 defendant Smyth John husbandman 754102 754102 Smyth, John, of Bedeworth, husbandman 0
5479662 2498927 2498927 defendant Whoretop John husbandman 754102 754102 Whoretop, John, of Bedeworth, husbandman 1
5479663 2498927 2498927 defendant Dey John husbandman 620859 620859 Dey, John, of Maxstoke, husbandman 2
5479664 2498927 2498927 defendant Graver John husbandman 591692 591692 Graver, John, of Over Wytaker, husbandman 3
5479665 2498927 2498927 defendant Sanders Richard clerk 615345 615345 Sanders, Richard, of Bedworth, clerk 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.394ms