I would like to use LOAD CSV together with CASE. Depending on a value in one of the columns of each line, nodes with varying label should be created. In my example, I am dealing with two labels ("Input" and "Variable"). I tried the following:
The case statement does not provide that functionality. It is not a control statement, but a method that returns a value. You have a number of options. You can use the apoc.do.when procedure to do what you tried to do with the case statement.