home / cp40x

names

6 rows where place_id = 637651

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3837721 1969711 1969711 defendant Wyngate Robert yeoman 637651 637651 Wyngate, Robert, of Stotfeld, yeoman 0
3837722 1969711 1969711 defendant Couper John husbandman 637651 637651 Couper, John, of Stotfeld, husbandman 1
4456854 2187155 2187155 defendant Brounyng Thomas   637651 637651 Brounyng, Thomas, of Stotfeld 0
4480658 2194616 2194616 defendant Mordon John butcher 637651 637651 Mordon, John, of Stotfeld, butcher 1
5022613 2363520 2363520 defendant Knotte John laborer 637651 637651 Knotte, John, of Stotfeld, laborer 0
5556323 2521846 2521846 plaintiff Lorymer Richard yeoman 637651 637651 Lorymer, Richard, of Stotfeld, yeoman 0

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