makeConstructions: Make the CONSTRUCTIONS table

Description Usage Arguments

View source: R/makeTables.R

Description

Function to create the CONSTRUCTIONS database table.

Usage

1
makeConstructions(constructions, con, updateID)

Arguments

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.


kaijagahm/ygdpAddSurvey documentation built on July 22, 2021, 2:11 p.m.