Function to create the CONSTRUCTIONS database table.
1 | makeConstructions(constructions, con, updateID)
|
constructions |
A csv file, which you need to create separately before running this script. The table should have three columns: constructionID (existing or new ID's for all of the constructions contained in this survey), constructionName (the name of each construction, corresponding to the ID's), and pageYGDP (the URL of the YGDP page corresponding to this construction, if applicable.) |
con |
A connection to the existing database, created with RSQLite. |
updateID |
Character string that will become the 'updateID' column for this table. For example, "survey11Add" for Survey 11. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.