home / cp40x

names

6 rows where case_id = 2469789

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5381591 2469789 2469789 plaintiff Honyton John merchant 586470 586470 Honyton, John, of Colchester, merchant 0
5381592 2469789 2469789 defendant Constantyne William husbandman 592730 592730 Constantyne, William, of Bradwell, husbandman 0
5381593 2469789 2469789 defendant Portewey William laborer 767155 767155 Portewey, William, of Mapulsted, laborer 1
5381594 2469789 2469789 defendant Borle John smith 620453 620453 Borle, John, of Coksale, smith 2
5381595 2469789 2469789 defendant Lorkyn John   591323 591323 Lorkyn, John, of Earls Colne, sheep wright 3
5381596 2469789 2469789 defendant Jamys John yeoman 591323 591323 Jamys, John, of Earls Colne, yeoman 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 21.856ms