home / cp40x

names

6 rows where place_id = 761808

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, role, surname, forename, raw_segment, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4482015 2195082 2195082 defendant Mayre John   761808 761808 Mayre, John, of Langthorn 0
4482100 2195113 2195113 defendant Mayre John   761808 761808 Mayre, John, of Langthorn 0
4612637 2235019 2235019 plaintiff Crakall Robert de   761808 761808 Crakall, Robert de, of Langthorn 0
4612638 2235019 2235019 defendant Souterson John   761808 761808 Souterson, John, of Langthorn 0
4621051 2237569 2237569 defendant Fever Thomas   761808 761808 Fever, Thomas, of Langthorn 1
4951724 2342492 2342492 defendant Billyngham Richard husbandman 761808 761808 Billyngham, Richard, of Langthorn, husbandman 3

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