home / cp40x

names

7 rows where case_id = 2403278

✎ 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
5157312 2403278 2403278 plaintiff Palmer Thomas     Palmer, Thomas 0
5157313 2403278 2403278 defendant Noble John singleman 657467 657467 Noble, John, of Lubenham, singleman 0
5157314 2403278 2403278 defendant Aylyffe William husbandman 593000 593000 Aylyffe, William, of Lubbenham, husbandman 1
5157315 2403278 2403278 defendant Skevyngton John husbandman 593000 593000 Skevyngton, John, of Lubbenham, husbandman 2
5157316 2403278 2403278 defendant Skevyngton Joan     Joan, his wife 3
5157317 2403278 2403278 defendant Taberto John husbandman 780155 780155 Taberto, John, of Gomondley, husbandman 4
5157318 2403278 2403278 defendant Clerk John   854283 854283 Clerk, John, of Bramtpon by Dyngley, Nhants 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 16.362ms