|
4 | 4 | "cell_type": "markdown",
|
5 | 5 | "metadata": {},
|
6 | 6 | "source": [
|
7 |
| - "# Start of analysis\n", |
| 7 | + "# COVID-19 Impact on Structural Occupation and Labour Force Distribution\n", |
8 | 8 | "\n",
|
9 |
| - "Calculate whether each geocode is a net loser or gainer of employment.\n", |
| 9 | + "I have spent the last four years building https://sqwyre.com, which is an open data commercial location data explorer. Every quarter, we update (partially via FOI) all local authorities in England and Wales.\n", |
10 | 10 | "\n",
|
11 |
| - "If loser: \n", |
| 11 | + "These data give me the current occupation status of all commercial properties, and – derived from that – that m2 per employee which permits this calculation to work:\n", |
12 | 12 | "\n",
|
13 |
| - "- Categories lost in m2 and units\n", |
| 13 | + "- Sqwyre gives me the total actively-used floor area of commercial property in each Standard Industry Code (SIC);\n", |
| 14 | + "- ONS publish employment data by place-of-work;\n", |
| 15 | + "- Divide the one by the other and … we have m2/job;\n", |
14 | 16 | "\n",
|
15 |
| - "If gainer:\n", |
| 17 | + "However, ONS publish employment by both place-of-work and place-of-residence. The difference – bluntly and fuzzily – is an indication of those who commute from home to work outside of their local authority: \n", |
16 | 18 | "\n",
|
17 |
| - "- Categories required in m2 and units\n", |
| 19 | + "- [Earnings and hours worked, place of residence by local authority: ASHE Table 8](https://www.ons.gov.uk/employmentandlabourmarket/peopleinwork/earningsandworkinghours/datasets/placeofresidencebylocalauthorityashetable8)\n", |
| 20 | + "- [Earnings and hours worked, place of work by local authority: ASHE Table 7](https://www.ons.gov.uk/employmentandlabourmarket/peopleinwork/earningsandworkinghours/datasets/placeofworkbylocalauthorityashetable7)\n", |
18 | 21 | "\n",
|
19 |
| - "First get winners/losers, then calculate ratio of employment" |
| 22 | + "Combine these and apply, and you get the dataseries I developed. Run a scenario – say 10% of those currently commuting stop doing so, set the proportions by their current area of occupation (Retail, Office, Leisure, Industrial) – and you have a rough guide to the implications." |
20 | 23 | ]
|
21 | 24 | },
|
22 | 25 | {
|
|
40 | 43 | "#from tqdm import tqdm\n",
|
41 | 44 | "#https://stackoverflow.com/questions/42855972/printing-on-the-same-line-on-a-jupyter-notebook\n",
|
42 | 45 | "\n",
|
43 |
| - "dfe = pd.read_csv(\"C:/Users/Turukawa/OneDrive/Whythawk/Projects/Pikhaya/Custom_draws/employment_by_place_of_residence.csv\")\n", |
44 |
| - "dfs = pd.read_csv(\"C:/Users/Turukawa/OneDrive/Whythawk/Projects/Pikhaya/Custom_draws/report_summary.csv\")\n", |
45 |
| - "dfa = pd.read_csv(\"C:/Users/Turukawa/OneDrive/Whythawk/Projects/Pikhaya/Custom_draws/report_summary_all_quarters.csv\")" |
| 46 | + "dfe = pd.read_csv(\"~/Custom_draws/employment_by_place_of_residence.csv\")\n", |
| 47 | + "dfs = pd.read_csv(\"~/Custom_draws/report_summary.csv\")\n", |
| 48 | + "dfa = pd.read_csv(\"~/Custom_draws/report_summary_all_quarters.csv\")" |
46 | 49 | ]
|
47 | 50 | },
|
48 | 51 | {
|
|
865 | 868 | "metadata": {},
|
866 | 869 | "outputs": [],
|
867 | 870 | "source": [
|
868 |
| - "df.to_excel(\"C:/Users/Turukawa/OneDrive/Whythawk/Projects/Pikhaya/Custom_draws/covid-19-impact.xlsx\", index=False)" |
| 871 | + "df.to_excel(\"~/Custom_draws/covid-19-impact.xlsx\", index=False)" |
869 | 872 | ]
|
870 | 873 | },
|
871 | 874 | {
|
|
955 | 958 | "metadata": {},
|
956 | 959 | "outputs": [],
|
957 | 960 | "source": [
|
958 |
| - "df = pd.read_excel(\"C:/Users/Turukawa/OneDrive/Whythawk/Projects/Pikhaya/Custom_draws/covid-19-impact.xlsx\")" |
| 961 | + "df = pd.read_excel(\"~/covid-19-impact.xlsx\")" |
959 | 962 | ]
|
960 | 963 | },
|
961 | 964 | {
|
|
977 | 980 | "\n",
|
978 | 981 | "google_source = \"https://www.google.com/covid19/mobility/\"\n",
|
979 | 982 | "google_url = \"https://www.gstatic.com/covid19/mobility/Global_Mobility_Report.csv\"\n",
|
980 |
| - "google_file = \"C:/Users/Turukawa/OneDrive/Whythawk/Projects/Pikhaya/Custom_draws/google-mobility-report.csv\"\n", |
| 983 | + "google_file = \"~/google-mobility-report.csv\"\n", |
981 | 984 | "\n",
|
982 | 985 | "clr = {\n",
|
983 | 986 | " \"red\": \"#D33826\",\n",
|
|
0 commit comments