home / cp40x

names

6 rows where case_id = 2312737

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4854233 2312737 2312737 plaintiff York   in   York, master of hospital of St Leonard, in 0
4854234 2312737 2312737 defendant Clerkson John, sen husbandman 589133 589133 Clerkson, John, sen, of Marton, husbandman 0
4854235 2312737 2312737 defendant Alerkson Robert husbandman 668017 668017 Alerkson, Robert, of Marton on More, husbandman 1
4854236 2312737 2312737 defendant Clerkson William husbandman 813159 813159 Clerkson, William, of Merton on More, husbandman 2
4854237 2312737 2312737 defendant Forster Thomas husbandman 589133 589133 Forster, Thomas, of Marton, husbandman 3
4854238 2312737 2312737 defendant Syn_ William husbandman 589133 589133 Syn_, William, of Marton, 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 14.672ms