home / cp40x

names

8 rows where case_id = 2505045

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5500319 2505045 2505045 plaintiff Ruen John (legal representative)   Ruen, John, executrix of 0
5500320 2505045 2505045 plaintiff Ruen Margaret former wife of Ruen, John, senior   Ruen, Margaret, former wife of Ruen, John, senior 1
5500321 2505045 2505045 defendant Trevelens John (legal representative)   Trevelens, John, executors of 0
5500322 2505045 2505045 defendant Trewethyan Henry huasbandman 893811 893811 (Trewethyan, Henry, of Trevelens, huasbandman 1
5500323 2505045 2505045 defendant Hendre John husbandman 874977 874977 Hendre, John, of Medysholl, husbandman 2
5500324 2505045 2505045 defendant Cardell William husbandman 893812 893812 Cardell, William, of Elynclas, husbandman 3
5500325 2505045 2505045 defendant Nicholas Alan husbandman 893813 893813 Nicholas, Alan, of Trevithyk, husbandman 4
5500326 2505045 2505045 defendant Ceyche Walter husbandman 893814 893814 Ceyche, Walter, of Kelesykmour, husbandman 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 15.251ms