Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Find information on food businesses in the UK using the Food Standards Agency database
ResourceFunction["FindFoodUK"][query] searches for businesses that provide food in the UK. |
"Name" | part of the name of the business |
"BusinessType" | partial or complete substring indicating the business type |
"Address" | part of the postal address of the business |
"Rating" | the food hygiene rating provided by the local authority |
GeoCenter | the GeoLocation or Entity to search near |
GeoRange | the search distance from GeoCenter |
Find food providing establishments whose names contain a string:
In[1]:= |
Out[1]= |
Find establishments in a given location:
In[2]:= |
Out[2]= |
Multiple keys can be combined in a search:
In[3]:= |
Out[3]= |
Search by part of an address:
In[4]:= |
Out[4]= |
Search food hygiene rating as given by the Food Standards Agency. In England, Wales and Northern Ireland, this is given as an integer from 0 (urgent improvement required) to 5 (very good). In Scotland, only "Pass" and "Fail" are given:
In[5]:= |
Out[5]= |
LessEqualThan and GreaterEqualThan are supported:
In[6]:= |
Out[6]= |
GeoCenter and GeoRange can search by location. GeoRange is rounded to whole numbers of miles:
In[7]:= |
Out[7]= |
The API that serves FindFoodUK limits the number of records returned to 5000. You can further reduce this number with MaxItems:
In[8]:= |
Out[8]= |
To access more items, you must also use the option "PageNumber" to retrieve blocks of data with multiple queries:
In[9]:= |
Out[9]= |
In[10]:= |
Out[10]= |
Wolfram Language 11.3 (March 2018) or above
This work is licensed under a Creative Commons Attribution 4.0 International License