home / cp40x

names

7 rows where case_id = 2357475

✎ 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
5001960 2357475 2357475 plaintiff Moyne Thomas     Moyne, Thomas 0
5001961 2357475 2357475 plaintiff Iclyffe John     Iclyffe, John 1
5001962 2357475 2357475 defendant Wesylhed Thomas husbandman 833374 833374 Wesylhed, Thomas, of Askeby by Horncastell, husbandman 0
5001963 2357475 2357475 defendant Mouter Robert mercer 596792 596792 Mouter, Robert, of Horncastell, mercer 1
5001964 2357475 2357475 defendant Webster John weaver 596792 596792 Webster, John, of Horncastell, weaver 2
5001965 2357475 2357475 defendant Cawdrey Richard husbandman 754654 754654 Cawdrey, Richard, of Askeby, husbandman 3
5001966 2357475 2357475 defendant Tupholme Alan husbandman 754654 754654 Tupholme, Alan, of Askeby, 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 16.608ms