Giter Club home page Giter Club logo

leaidr's People

Contributors

ivelasq avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

leaidr's Issues

Error when downloading whole US

After running

lea <-
  lea_get(state = NULL)

I get error:

Error: [ENOENT] Failed to make directory '../../../var/folders': no such file or directory

use OSF to store the data (and the OSF API to access it)?

Hi all, in #5, @datalorax you mentioned the possibility of using OSF to store the data (and using the OSF API via {osfr} to access it).

Just as a proof of concept, I checked whether it is possible to download a file in a public OSF repository without adding an OSF API key, and it does appear to be so. So, if this worked and was not less efficient than the current route (with the data stored in a separate repository), then it would remove the step of adding a GITHUB PAT (or any kind of key/token)... which may be cool?

@ivelasq is it worth possibly exploring in a branch? I don't think it would take too long to try out (just to gauge whether or not it may be worth it with our actual data.

library(osfr)
f <- osfr::osf_retrieve_file('63d7f')
osfr::osf_download(f)

Pulling the school districts-error

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.