home / cp40x

names

6 rows where case_id = 2438501

✎ 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
5277508 2438501 2438501 plaintiff Arnesby John     Arnesby, John 0
5277509 2438501 2438501 defendant Beke alias Jakkes William husbandman 847859 847859 Beke alias Jakkes, William, of Tyrlyngton, Leics, husbandman 0
5277510 2438501 2438501 defendant Dunche William husbandman 593184 593184 Dunche, William, of Tyrlyngton, husbandman 1
5277511 2438501 2438501 defendant Bryght Richard husbandman 593184 593184 Bryght, Richard, of Tyrlyngton, husbandman 2
5277512 2438501 2438501 defendant Horneby William butcher 586670 586670 Horneby, William, of Medburn, Leics, butcher 3
5277513 2438501 2438501 defendant Peke John husbandman 605043 605043 Peke, John, of Burton Overey, Leics, 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 11.093ms