Return lookup query URL and lower and higher field codes
Source:R/return_spatial_query_info.R
return_spatial_query_info.Rd
Return lookup query URL and lower and higher field codes
Usage
return_spatial_query_info(
lookup,
lookup_year,
option,
chatty = rlang::is_interactive()
)
Arguments
- lookup
character. Lower level area code eg "lsoa", "wd", "lad". Equivalent to the
lookup
parameter inbounds()
.- lookup_year
numeric or character. A specific year for data relating to parameter
x
, if needed. Defaults toNULL
, which will return the most recent data.- option
numeric. Defaults to 1, which means that the URL will just be the first one from the list of possible services resulting from the level and year filters above. If this does not give you what you want, you can run the script again with a different option from the list.
- chatty
Boolean. Whether to print feedback on the 'decisions' the function has taken about which table to query. Default
TRUE
when the function is run in an interactive session,FALSE
otherwise.