Rename series loop
Posted: Tue Nov 11, 2014 5:28 pm
Hello,
I am attempting to rename a group of series by replacing part of the series name with an equivalent but different name. See below for an example:
pop_35614 rename as pop_newy
pop_31084 rename as pop_losa
Basically, I have two lists: one with the numbers (35614, 31084, etc.) and a matching one with the replacements (newy, losa, etc.). Since there are 71 different series, how can I rename these without having to rename them one by one?
Thanks!
I am attempting to rename a group of series by replacing part of the series name with an equivalent but different name. See below for an example:
pop_35614 rename as pop_newy
pop_31084 rename as pop_losa
Basically, I have two lists: one with the numbers (35614, 31084, etc.) and a matching one with the replacements (newy, losa, etc.). Since there are 71 different series, how can I rename these without having to rename them one by one?
Thanks!