This is a program that normalizes CSV files from RMD by Activity Insight ID. It can be used to extract values relating to Activity Insight IDs from CSV exports from RMD. The output can be used as input for for the oats merge command.
Example
An input file might look like this (see testdata/input.csv):
# Example: Extract value in "Activity insight postprint status" for each Activity Insight ID in the input,
# also rename the column "RMD_activity_insight_postprint_status" in the output:
go run main.go -c "Activity insight postprint status" -r "RMD_activity_insight_postprint_status" testdata/input.csv
ID,RMD_activity_insight_postprint_status
41074354177,Deposited to ScholarSphere
195361005568,Deposited to ScholarSphere
195357255680,Deposited to ScholarSphere