njtierney / datadevtools

Development tools for sharing data
7 stars 0 forks source link

insert_metadata_tbl() #13

Open njtierney opened 5 years ago

njtierney commented 5 years ago

The README should be built up using blocks that insert tables and stuff.

So you could have a function that's like:

insert_metadata_tbl("metadata-dat1")

And this finds a file called metadata-dat1 and inserts it into the README document.

This means that you don't need to worry about cutting + pasting the tables in, as it would be automated.

See for example the incarceration trends data from tidy tuesday, where they show the data files and data dictionaries. These could maybe be stored in separate files and then printed out using one of these insert functions?