home / cp40x

names

7 rows where case_id = 2449586

✎ 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
5315144 2449586 2449586 plaintiff Clerk William, senior     Clerk, William, senior 0
5315145 2449586 2449586 defendant Hunston Thomas husbandman 720099 720099 Hunston, Thomas, of Tydd St Giles, husbandman 0
5315146 2449586 2449586 defendant Chamberleyn Philip husbandman 720099 720099 Chamberleyn, Philip, of Tydd St Giles, husbandman 1
5315147 2449586 2449586 defendant Hunt Walter husbandman 599080 599080 Hunt, Walter, of West Walton, Norf, husbandman 2
5315148 2449586 2449586 defendant Fyssher William tailor 720099 720099 Fyssher, William, of Tydd St Giles, tailor 3
5315149 2449586 2449586 defendant Blewyk Thomas husbandman 700047 700047 Blewyk, Thomas, of Emnethe, Norf, husbandman 4
5315150 2449586 2449586 defendant Mey Richard husbandman 786801 786801 Mey, Richard, of Walskyn, Norf, husbandman 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 14.748ms