home / cp40x

names

6 rows where case_id = 2221880

✎ 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
4568964 2221880 2221880 plaintiff Warde Robert merchant 586067 586067 Warde, Robert, of York, merchant 0
4568965 2221880 2221880 defendant Cleveland John goldsmith 586067 586067 Cleveland, John, of York, goldsmith 0
4568966 2221880 2221880 defendant Blyth John dyer 586067 586067 Blyth, John, of York, dyer 1
4568967 2221880 2221880 defendant Cardmakere John   586067 586067 Cardmakere, John, of York 2
4568968 2221880 2221880 defendant Lyndesay John de merchant 586067 586067 Lyndesay, John de, of York, merchant 3
4568969 2221880 2221880 defendant Selby John dyer 686336 686336 Selby, John, of Pountefract, dyer 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 17.619ms