title: How to create example data set from private data (replacing variable names and levels with uninformative place holders)?
body: <p>To provide a reproducible example of an approach, a data set must often be provided.  Instead of building an example data set, I wish to use some of my own data.  However this data can not be released.  I wish to replace variable (column) names and factor levels with uninformative place holders (eg. V1....V5, L1....L5).</p>
  
  <p><em><strong>Is an automated way to do this available?</em></strong></p>
  
  <p>Ideally, this would be done in R, taking in a data.frame and producing this anonymous data.frame.</p>
  
  <p>With such a data set, simply search and replace variable names in your script and you have a publicly releasable reproducible example.</p>
  
  <p>Such a process may increase the inclusion of appropriate data in reproducible examples and even the inclusion of reproducible examples in questions, comments and bug reports.</p>