home / cp40x

names

6 rows where case_id = 2522349

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5558198 2522349 2522349 plaintiff Parker Thomas     Parker, Thomas 0
5558199 2522349 2522349 defendant Stevyns William husbandman 640530 640530 Stevyns, William, of Est Claydon, husbandman 0
5558200 2522349 2522349 defendant Ponfex John husbandman 625193 625193 Ponfex, John, of Claydon, husbandman 1
5558201 2522349 2522349 defendant Cheyny Henry husbandman 878271 878271 Cheyny, Henry, of Bot Claydon,husbandman 2
5558202 2522349 2522349 defendant Gorge William husbandman 591319 591319 Gorge, William, of Wynslowe, husbandman 3
5558203 2522349 2522349 defendant Buckyngham Richard husbandman 592525 592525 Buckyngham, Richard, of Wolverton, husbandman 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 12.748ms