home / cp40x

names

7 rows where case_id = 2509834

✎ 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
5515940 2509834 2509834 plaintiff Sporyer John     Sporyer, John 0
5515941 2509834 2509834 defendant Curtes William collier 587629 587629 Curtes, William, of Chesthunt, collier 0
5515942 2509834 2509834 defendant Lowyn Peter brewer 587629 587629 Lowyn, Peter, of Chesthunt, brewer 1
5515943 2509834 2509834 defendant Ellyn Andrew barber 648783 648783 Ellyn, Andrew, of Wormley, barber 2
5515944 2509834 2509834 defendant Bardell William husbandman 613197 613197 Bardell, William, of Bayford, husbandman 3
5515945 2509834 2509834 defendant Sutton John smith 801372 801372 Sutton, John, of Iclyngton, Cams, smith 4
5515946 2509834 2509834 defendant Fox Alexander collier 590469 590469 Fox, Alexander, of Ardyngton, Middx, collier 5

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