chrisbrunsdon / getcartr

Front end for rcartogram
8 stars 9 forks source link

Issue with non-unique Polygons ID slot values #4

Open lorisjunod86 opened 7 years ago

lorisjunod86 commented 7 years ago

I am rather new in the field of making map. I am not therefore completely sure that my question concerns only the getcartr package. I am trying to map Swiss states according to the elections résultat, and I have to deal in this sort of exercices with à states containing polygons with the same number in the key column i need to merge th sp objet with my data. Those duplicated polygons are differentiated with another columns, the usual plot don't make any issue. But I failed to use the quick.carto function, with the error "invalid class "spatialpolygjns" object ; non-unique polygons ID slot value"

Is there any way to solve this error in the quick carto function ?

Thanks in advance for the help