Added flexibility to column names: Now, if the driver column is not found, the import_inputs helper function will try to string match the input type against column names. If it finds a match:
If a temperature input, it will look for matches to strings "conus" and "global". If conus matches, it will use that column and set tempType to "conus". Else if global matches, it will use that column and set tempType to "global". Otherwise, it will use the first matched column.
If a population input, it will look for matches to strings "state", "region", "conus", and "global". It will check for a match and use the first associated column, and set popArea accordingly. E.g., if "reg_pop" is present, but "state_pop" isn't, "reg_pop" will be used and the popArea set to "regional".
Otherwise, the first matched column will be used as the value column.
The function will then rename the matched column to the expected column.
No flexibility enhancements were made for ID columns.
Added flexibility to column names: Now, if the driver column is not found, the import_inputs helper function will try to string match the input type against column names. If it finds a match:
The function will then rename the matched column to the expected column.
No flexibility enhancements were made for ID columns.