Hello, im trying to read a simple excel file saved as CSV. the file in question is just two columns with 19 numbers, no titles. However, im getting a "expected literal value" and i dont know how to solve it as i just have numbers.
The full code is down here. Thanks in advance
extensions [csv]
globals [ turtle-data ]
turtles-own [ awareness income housingtype adopt ]
to setup
clear-all
reset-ticks
create-turtles 20
ask turtles [
set color white
]
ask turtles [
setxy random-xcor random-ycor
]
;load-turtle-data
; setup-turtles
load-data
end
to load-data
file-open "Ejemplocsv.csv"
while [not file-at-end?] [
ask turtles [
set income file-read
set housingtype file-read
set size 1.5]
ask turtles [setxy random-xcor random-ycor]]
file-close
show "file read"
end