Second address indicator
Description
This method returns Census 2021 estimates that classify usual residents in England and Wales by their use of a second address, and whether the second address is inside or outside the UK.
Second address is an address (in or out of the UK) a person stays at for more than 30 days per year that is not their place of usual residence. Second addresses typically include:
- armed forces bases
- addresses used by people working away from home
- a student's home address
- the address of another parent or guardian
- a holiday home
If a person with a second address was staying there on census night, they were classed as a visitor to the second address but counted as a usual resident at their home address.
“Second address indicator” is split into 4 categories including total.
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. Postcode with or without space. This argument is case-insensitive. |
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.
|
{
"data": {
"residents": {
"Total": 192,
"No second address": 180,
"Second address is in the UK": 1,
"Second address is outside the UK": 11
},
"rank": {
"No second address": 7,
"Second address is in the UK": 1,
"Second address is outside the UK": 6
}
},
"dataDate": "2021-03-21",
"refreshedDate": "2021-03-21"
}
{
"error": "No such API key or it is not valid anymore."
}
{
"error": "You have exhausted the available calls provided by your package."
}
{
"error": "API key is invalid for the given action."
}
{
"error": "Can't find such location."
}
{
"error": "Too many requests have been sent in one second."
}
{
"error": "We have already started working on a resolution!"
}