Rsoc/soc.ca — Issue #39: The entire label workflow is faulty
Author: antongrau
Created: 2012-03-09 12:59:42+00:00
State: open

The workflow needs to be changed. The idea that you can edit inside R is flawed - because we then rely on a data editor. This causes problems in Rstudio.

Workflow should be as follows:

1. export.labels from soc.ca result in a .csv
2. edit your labels in a spreadsheet editor.
3. import and assign labels in one command.

export.labels(result)

1. exports in csv.
2. Uses objectname as filename
3. Does not overwrite existing files
4. No unnecessary columns

assign.label(result, file="exported.labels.csv")
1. Assigns the labels
2. Prints the new labels