home / cp40x

names

7 rows where place_id = 772801

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, surname, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4593262 2229188 2229188 defendant Bocher Richard   772801 772801 Bocher, Richard, of Herewich 2
4889410 2323479 2323479 defendant Crouche Richard, junior yeoman 772801 772801 Crouche, Richard, junior, of Herewich, yeoman 0
4889411 2323479 2323479 defendant Prodman Thomas yeoman 772801 772801 Prodman, Thomas, of Herewich, yeoman 1
4889412 2323479 2323479 defendant Heymond John shipman 772801 772801 Heymond, John, of Herewich, shipman 2
5023974 2363922 2363922 defendant Hyncheclyf Roger yeoman 772801 772801 Hyncheclyf, Roger, of Herewich, yeoman 1
5023975 2363922 2363922 defendant Draughton William merchant 772801 772801 Draughton, William, of Herewich, merchant 2
5235464 2425950 2425950 defendant Bocher Robert butcher 772801 772801 Bocher, Robert, of Herewich, butcher 1

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