home / cp40x

names

8 rows where case_id = 2228812

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4591871 2228812 2228812 plaintiff Mulle John     Mulle, John 0
4591872 2228812 2228812 defendant Bole Walter   769189 769189 Bole, Walter, of Forstbury 0
4591873 2228812 2228812 defendant Parker Henry   772676 772676 Parker, Henry, of Ferenam 1
4591874 2228812 2228812 defendant Childe Richard   598267 598267 Childe, Richard, of Rugge 2
4591875 2228812 2228812 defendant Piper John   772676 772676 Piper, John, of Ferenam 3
4591876 2228812 2228812 defendant Cripse John   772677 772677 Cripse, John, of Chissebury 4
4591877 2228812 2228812 defendant Cripse Margery     Margery, his wife 5
4591878 2228812 2228812 defendant Conyng John jun, of Aldebourne   Conyng, John, jun, of Aldebourne 6

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 17.893ms