makeUpdateMetadata: Make the UPDATE_METADATA table

Description Usage Arguments

Description

This function creates the row of the UPDATE_METADATA table that corresponds to the updateID that we've been using for all the other database tables.

Usage

1
makeUpdateMetadata(updateID, date, updater, description, con, sourceCode)

Arguments

updateID

Character string that will become the 'updateID' column for this table. For example, "survey11Add" for Survey 11.

date

Date of the update, in the format YYYY-MM-DD

updater

Name of the person doing the update (first and last), e.g. Kaija Gahm

description

Description of the update. For a standard database update, it's just "added [surveyID]".

con

A connection to the existing database, created with RSQLite.

sourceCode

The name of the R script used to perform this update.


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