title: How do I build a UK postcode area map in R?
body: <h2>Input</h2>
  
  <p>I have count data by first 2 letter UK postcode in this form:</p>
  
  <pre><code>Postcode Count
  BD       45
  DE       123
  L8       90
  </code></pre>
  
  <h2>Desired output</h2>
  
  <p>I would like to create a postcode map using a shapefile based on the 2 letter postcode, and colour the map based on count, similar to this:</p>
  
  <p><a href="https://i.stack.imgur.com/rKHKa.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rKHKa.jpg" alt="enter image description here"></a></p>
  
  <p>My question is, <strong>how would I be able to produce a map like this in R?</strong></p>