home / cp40x

names

6 rows where case_id = 2379893

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5077965 2379893 2379893 plaintiff Botyll Robert prior, St John of Jerusalem   Botyll, Robert, prior, St John of Jerusalem 0
5077966 2379893 2379893 defendant Gyll Thomas husbandman 597828 597828 Gyll, Thomas, of Glatton, husbandman 0
5077967 2379893 2379893 defendant Barneger William husbandman 843753 843753 Barneger, William, of Parva Geddyng, husbandman 1
5077968 2379893 2379893 defendant Hoggesson John husbandman   Hoggesson, John, husbandman 2
5077969 2379893 2379893 defendant Torold John husbandman 597828 597828 Torold, John, of Glatton, husbandman 3
5077970 2379893 2379893 defendant Denys Thomas husbandman 608006 608006 Denys, Thomas, of Ogerston, 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 13.504ms