home / cp40x

names

10 rows where case_id = 2266943

✎ 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
4705013 2266943 2266943 plaintiff Kent John     Kent, John 0
4705014 2266943 2266943 plaintiff Kent Joan     Joan, his wife 1
4705015 2266943 2266943 plaintiff Staynland William     Staynland, William 2
4705016 2266943 2266943 plaintiff Staynland Margery     Margery, his wife 3
4705017 2266943 2266943 defendant Lynthwayt Joan de widow 787877 787877 Lynthwayt, Joan de, of Crosselande, widow 0
4705018 2266943 2266943 defendant Lynthwayt William husbandman 769125 769125 Lynthwayt, William, of Lynthwayt, husbandman 1
4705019 2266943 2266943 defendant Lokwod Thomas yeoman 787878 787878 Lokwod, Thomas, of Pollersley, yeoman 2
4705020 2266943 2266943 defendant Roweley Richard husbandman 787879 787879 Roweley, Richard, of Miltham, husbandman 3
4705021 2266943 2266943 defendant Smyth Thomas laborer 769125 769125 Smyth, Thomas, of Lynthwayt, laborer 4
4705022 2266943 2266943 defendant Whitle Thurstan laborer 769125 769125 Whitle, Thurstan, of Lynthwayt, laborer 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 18.641ms