Description Usage Arguments Details Value Examples
This package takes a dataframe containing a column of postcodes (and other information) and uses it to look up IMD ranks for that area
1 | imd_lookup(postcodes, pcdcolumn)
|
postcodes |
This is the dataframe containing all data |
pcdcolumn |
This is the index of the column that contains the postcode data (1 being the 1st column in the daataframe) |
Lookup IMD Using Postcode
Function for looking up a column of postcodes and returning information about the indices of deprivation about that area.
Uses the SPARQL endpoint at Open Data Communities - The Ministry of Housing, Communities and Local Government in the UK. Coverage - England only.
returns a dataframe with the original data with extra columns containing deprivation ranks
1 | new_dataframe <- imd_lookup(dataToBeMatched,3) [3 is the index of the column with the postcode in]
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.