Hi everyone,
I am having some trouble in reading the Indian Parliamentary Constituency shapefiles (
https://github.com/datameet/maps/tree/master/parliamentary-constituencies) in R. I am able to read shapefiles from other sources from all over the internet, but not the shapefiles on the datameet repository on Github (
India_pc_2014 and 2011_dist). Also, I am getting an error while opening these files on QGIS shapeviewer.
Can anyone help me in figuring out how to read them into R? I primarily use R for these analysis and my understanding of python is very limited, so will appreciate the help. I got some help from Devdatta but it hasn't solved the problem of not reading these specific files into R
Here are the details and error:
R:
> library(maptools)
> shape<-readShapeSpatial("india_pc_2014.shp")
Error in getinfo.shape(fn) : Error opening SHP file
I have downloaded 5 files (india_pc_2014.shx, shp, qpj, prj, dbf); All are in the same folder.
Any help will be appreciated.
THanks