home / cp40x

names

7 rows where case_id = 2264343

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4696365 2264343 2264343 plaintiff Caperon Henry     Caperon, Henry 0
4696366 2264343 2264343 defendant Scot John laborer 632158 632158 Scot, John, of St Laurence, laborer 0
4696367 2264343 2264343 defendant Scot Lucy     Lucy, his wife 1
4696368 2264343 2264343 defendant Clerk Richard   618644 618644 Clerk, Richard, of Lanlyvery, parish clerk 2
4696369 2264343 2264343 defendant Clerk Nicola     Nicola, his wife 3
4696370 2264343 2264343 defendant Tyllyk Emma spinster 605076 605076 Tyllyk, Emma, of Bodmin, spinster 4
4696371 2264343 2264343 defendant Guy John painter 638548 638548 Guy, John, of Toryton, Devon, painter 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 13.142ms