home / cp40x

names

7 rows where case_id = 2414923

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5197209 2414923 2414923 plaintiff Stokton John mercer 585869 585869 Stokton, John, of London, mercer 0
5197210 2414923 2414923 defendant Dokham John chapman 588866 588866 Dokham, John, of Toryngton, Devon, chapman 0
5197211 2414923 2414923 defendant Wyllys John champman 858448 858448 Wyllys, John, of Abbotstoke, Dorset, champman 1
5197212 2414923 2414923 defendant Roper Thomas chapman 618877 618877 Roper, Thomas, of Baunton, Devon, chapman 2
5197213 2414923 2414923 defendant Begon John chapman 587686 587686 Begon, John, of Stortford, Herts, chapman 3
5197214 2414923 2414923 defendant Rothir Thomas butcher 589395 589395 Rothir, Thomas, of Stortford, butcher 4
5197215 2414923 2414923 defendant Dons John   588338 588338 Dons, John, of Walyngford, Berks, chapm 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 14.585ms