home / cp40x

names

6 rows where place_id = 762004

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4483607 2195564 2195564 defendant Norman Alexander   762004 762004 Norman, Alexander, of Ouesden 1
4674478 2257628 2257628 defendant Clerk John   762004 762004 Clerk, John, of Ouesden 0
4871051 2317922 2317922 defendant Farewell Simon clerk 762004 762004 Farewell, Simon, of Ouesden, clerk 0
4993964 2355068 2355068 defendant Cotys William   762004 762004 Cotys, William, of Ouesden, parson 0
5131814 2395790 2395790 defendant Roger John husbandman 762004 762004 Roger, John, of Ouesden, husbandman 2
5131815 2395790 2395790 defendant Howes William husbandman 762004 762004 Howes, William, of Ouesden, 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 13.915ms