home / cp40x

names

8 rows where case_id = 2393131

✎ 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
5122892 2393131 2393131 plaintiff Wastnes John     Wastnes, John 0
5122893 2393131 2393131 defendant Bradill Hugh smith 849011 849011 Bradill, Hugh, of Mirkeston, Derbs, smith 0
5122894 2393131 2393131 defendant Fraunces Robert husbandman 625449 625449 together with Fraunces, Robert, of Bole, husbandman 1
5122895 2393131 2393131 defendant Symson John husbandman 849012 849012 Symson, John, of Clumver, husbandman 2
5122896 2393131 2393131 defendant Wastnes Ralph husbandman 606154 606154 Wastnes, Ralph, of Strelley, husbandman 3
5122897 2393131 2393131 defendant Coke William yeoman 606154 606154 Coke, William, of Strelley, yeoman 4
5122898 2393131 2393131 defendant Sewall Thomas husbandman 597305 597305 Sewall, Thomas, of Oxton, husbandman 5
5122899 2393131 2393131 defendant Bradshawe Richard yeoman 593956 593956 Bradshawe, Richard, of Barneby, yeoman 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 9.426ms