home / cp40x

names

6 rows where case_id = 2465499

✎ 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
5367548 2465499 2465499 plaintiff Cokesey Thomas   878442 878442 Cokesey, Thomas, of Warwick & Leicester, sherrif 0
5367549 2465499 2465499 defendant Batelyng Robert husbandman 878443 878443 Batelyng, Robert, of Atterton, husbandman 0
5367550 2465499 2465499 defendant Smyth Hugh   878443 878443 Smyth, Hugh, of Atterton 1
5367551 2465499 2465499 defendant Clerk Richard husbandman 878444 878444 Clerk, Richard, of Wadirley, husbandman 2
5367552 2465499 2465499 defendant Dunchurche Robert yeoman 878445 878445 Dunchurche, Robert, of Wedirley, yeoman 3
5367553 2465499 2465499 defendant Bollesore Richard husbandman 878445 878445 Bollesore, Richard, of Wedirley, husbandman 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 13.944ms