Skip to contents

All functions

add_bounds_to_table()
Use an existing tibble as the basis for a spatial query
bounds()
Return boundary data at a specified level and area from the ONS OG API
build_id_req()
Build an API request for IDs only
create_lookup_table()
Create a lookup table by querying the ONS OpenGeography API
opengeo_api_req()
Basic OpenGeography API request
points()
Return centroid points at a specified level and area from the ONS OG API
query_opengeo_api()
Perform an API query using a request object
return_lookup_query_info()
Return lookup query URL and lower and higher field codes
return_result_ids()
Perform an API query and extract the returned IDs
return_spatial_data()
Perform an API query and handle the returned spatial data
return_spatial_query_info()
Return lookup query URL and lower and higher field codes
return_table_data()
Perform an API query and handle the returned table data
spatial_data_req()
Build an API request for spatial (geojson) data
table_data_req()
Build an API request for table data