Distance travelled to work
Description
This method returns Census 2021 estimates that classify usual residents aged 16 years and over in employment the week before the census by the distance they travelled to work.
Distance travelled to work is the distance, in kilometres, between a person's residential postcode and their workplace postcode measured in a straight line. A distance travelled of 0.1km indicates that the workplace postcode is the same as the residential postcode. Distances over 1200km are treated as invalid, and an imputed or estimated value is added.
"Work mainly at or from home" is made up of those that ticked either the 'Mainly work at or from home' box for the address of workplace question, or the "Work mainly at or from home" box for the method of travel to work question.
"Other" includes no fixed place of work, working on an offshore installation and working outside of the UK.
Distance is calculated as the straight line distance between the enumeration postcode and the workplace postcode.
The estimates are as at Census Day, 21 March 2021.
Parameters
Name | Description |
---|---|
location path string | Postcode, coordinates in the lat,long format or UPRN in the uprn12345678 format. |
area_type query enum | Area types used in Census 2021. The method returns results based on the inclusion of the postcode/coordinate/UPRN within the designated geographical area. For instance, when using 'oa' as a parameter, the returned results will be for the Output Area that contains the specified postcode/coordinate/UPRN.
|
api_key query enum | Your API key. DEMO key allows you to test the method in the W6 0 postcode sector, or in the [[51.492, -0.25], [51.502, -0.225]] rectangle. |