one_year_survival
Calculates the share of companies by SIC code not dissolved within one year, comparing a chosen area to the rest of Great Britain with a significance test or listing standout council areas.
Instructions
Of the companies registered in the period with these primary SIC codes, what share were not dissolved within a year? For one area, compares it with the rest of Great Britain with a significance test; for 'UK', gives the national rate and lists the council areas whose rate passes a test for a difference (the bar is raised for testing hundreds of areas). Only quarters whose companies have all had a full year are allowed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| area | No | 'UK' for the national rate plus the council areas that stand out, or a council area, region or nation code from find_area to compare it with the rest of Great Britain | UK |
| limit | No | ||
| sic_codes | Yes | SIC codes from find_sic: 5 digits, a 2-4 digit group such as '812' for all of it, or a ready-made bundle id such as 'ai-and-data' (approximate). Choose codes for the activity asked about, e.g. cleaning: ['812']; digital and tech: ['62011', '62012', '62020', '62090', '63110', '63120', '58290']; every industry: ['all']. The choice can change the answer, so say which codes you used. | |
| to_quarter | No | YYYY-Qn; default and latest: four quarters before the last complete one | |
| from_quarter | No | YYYY-Qn, from 2021-Q1; default three quarters before to_quarter |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | Yes | ||
| answer | Yes | The summary plus both must-quote caveats, ready to pass on as one text. | |
| caveats | Yes | The first two are must-quote: include them in any answer. | |
| summary | Yes | Quote this sentence word for word. | |
| excluded | Yes | ||
| snapshot_date | Yes | ||
| snapshot_sha256 | Yes |