Skip to content

Pulling the school districts-error #10

Open
@Kicsbr

Description

@Kicsbr

Hi,
I am trying to pull a state shapefile and it seems that something is 'broken'. I found the website with the example of using leaidr package, and when I run the line it give this message:

tn <- lea_get("tn")
trying URL 'https://github.com/datalorax/us-district-shapefiles/raw/master/individ-districts/47.dbf'
Content type 'application/octet-stream' length 210592 bytes (205 KB)
downloaded 205 KB

trying URL 'https://github.com/datalorax/us-district-shapefiles/raw/master/individ-districts/47.prj'
Content type 'text/plain; charset=utf-8' length 147 bytes
downloaded 147 bytes

trying URL 'https://github.com/datalorax/us-district-shapefiles/raw/master/individ-districts/47.shp'
Content type 'application/octet-stream' length 7345380 bytes (7.0 MB)
downloaded 7.0 MB

trying URL 'https://github.com/datalorax/us-district-shapefiles/raw/master/individ-districts/47.shx'
Content type 'application/octet-stream' length 1364 bytes
downloaded 1364 bytes

Error in ogrInfo(dsn = dsn, layer = layer, encoding = encoding, use_iconv = use_iconv, :
Cannot open layer

I tried with other states, and it gives me the same error. Am I doing this correctly? I have installed all the pacakges that the Isabella's webiste asked, but still fails.

By the way, my project is a survey at the school districts in IA, and what you have here is exactly what I needed. I just cannot figure out what is wrong.

Thanks.

Ki

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions