home / cp40x

names

8 rows where case_id = 2383326

✎ 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
5089570 2383326 2383326 plaintiff Lovell Ralph     Lovell, Ralph 0
5089571 2383326 2383326 defendant Cower William yeoman 616681 616681 Cower, William, of Brunsted, yeoman 0
5089572 2383326 2383326 defendant Terwyn Henry husbandman 616681 616681 Terwyn, Henry, of Brunsted, husbandman 1
5089573 2383326 2383326 defendant Kyng Clement husbandman 616681 616681 Kyng, Clement, of Brunsted, husbandman 2
5089574 2383326 2383326 defendant Benet Thomas husbandman 616681 616681 Benet, Thomas, of Brunsted, husbandman 3
5089575 2383326 2383326 defendant Rust John husbandman 616681 616681 Rust, John, of Brunsted, husbandman 4
5089576 2383326 2383326 defendant Ryst William husbandman 616681 616681 Ryst, William, of Brunsted, husbandman 5
5089577 2383326 2383326 defendant Tateshale Richard husbandman 586992 586992 Tateshale, Richard, of Ingham, husbandman 6

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.651ms