home / cp40x

names

6 rows where case_id = 2316855

✎ 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
4867656 2316855 2316855 plaintiff Holland John Earl of Huntingdon   Holland, John, Earl of Huntingdon 0
4867657 2316855 2316855 defendant Trygot John husbandman 681132 681132 Trygot, John, of Kirkeby juxta Doncaster, husbandman 0
4867658 2316855 2316855 defendant Coke John husbandman 814923 814923 Coke, John, of South Elmeshall, husbandman 1
4867659 2316855 2316855 defendant Roper William husbandman 814924 814924 Roper, William, of North Elmeshall, husbandman 2
4867660 2316855 2316855 defendant Whytell John husbandman 681132 681132 Whytell, John, of Kirkeby juxta Doncaster, husbandman 3
4867661 2316855 2316855 defendant Stele John   589887 589887 Stele, John, of Pontefract, bailiff 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 14.657ms