home / cp40x

names

6 rows where case_id = 2235922

✎ 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
4615738 2235922 2235922 plaintiff Feryby Goscellus de (legal representative) 596711 596711 Feryby, Goscellus de, of Gaynesburgh, vicar, executors of 0
4615739 2235922 2235922 plaintiff Hartelpole John Chancery clerk for the King of England   (Hartelpole, John, Chancery clerk for the King of England 1
4615740 2235922 2235922 plaintiff Edryche Walter   762592 762592 Edryche, Walter, of Hepham, parson 2
4615741 2235922 2235922 plaintiff Eton William de chaplain   Eton, William de, chaplain 3
4615742 2235922 2235922 defendant Fereby John de   586344 586344 Fereby, John de, of Burton Stather 0
4615743 2235922 2235922 defendant Fereby John de   588486 588486 Fereby, John de, of Wynterton 1

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.971ms