home / cp40x

names

6 rows where case_id = 2284910

✎ 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
4764583 2284910 2284910 plaintiff Hert William   600142 600142 Hert, William, of Thomston 0
4764584 2284910 2284910 defendant Hokham Peter gent 588583 588583 Hokham, Peter, of Caston, gent 0
4764585 2284910 2284910 defendant Grene John husbandman 592999 592999 Grene, John, of Merton, husbandman 1
4764586 2284910 2284910 defendant Kelyng William husbandman 592999 592999 Kelyng, William, of Merton, husbandman 2
4764587 2284910 2284910 defendant Gaubriell John husbandman 655143 655143 Gaubriell, John, of Great Elyngham, husbandman 3
4764588 2284910 2284910 defendant Maryon Thomas husbandman 591103 591103 Maryon, Thomas, of Attilburgh, 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 16.949ms