You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OK I think I have made a couple of steps forward in understanding the process.
I was looking at the list of all national LSOAs and was wondering how to filter it down by LA code.
But, as I already have a list of the LSOA11CD codes for all LSOAs in the area, all I need actually is the code stem (str:valueset:UC_Monthly:V_F_UC_CASELOAD_FULL:COA_CODE:V_C_MASTERGEOG11_LSOA_TO_MSOA) and then I can easily create a new vector for all the codes based on the vector of LSOA codes. Then I need to include that in the query. Oli Hawkins' package shows what a query looks like so I just have to work out how to embed my vector into the recodes section of the query within this package's idiom.
The same with the dates that I want (I don't need all 49 months).
For anyone finding this issue: you can see what I did in the end, to work out how to achieve this, here.
NB that code draws on other functions (see the source line at the top) which use this dwpstat package to interface with StatXplore; it also draws on its context within that package, for example pulling in a vector of LSOA codes from a separate table. It was good to discover the standard ONS LSOA codes work in a StatXplore query, though.
I'd welcome comments or pull requests on my script as I am sure there are things I am missing that would make it more streamlined.
I'm not clear how to restrict the stat-xplore data download to specific areas (in particular, here, all LSOAs within a specific Local Authority).
I'm not clear how to use the recodes feature, basically!
Here's a reprex of my rather rudimentary code so far.
.
Created on 2020-02-11 by the reprex package (v0.3.0)
The text was updated successfully, but these errors were encountered: