t;- &quot;1 means yes and 0 means no.&quot;

attr(pd$firstName, &quot;shortDescription&quot;) &lt;- &quot;Only literal first names, no inclusion of middle names or initials&quot;</code></pre>
<p>And we add labels:</p>
<pre class="r"><code>attr(pd$favoriteNumber, &quot;label&quot;) &lt;- &quot;Favorite number&quot;

attr(pd$assassinationAttempt, &quot;label&quot;) &lt;- &quot;Was there an assassination attempt on the president?&quot;

attr(pd$firstName, &quot;label&quot;) &lt;- &quot;First name&quot;

attr(p