GithubHelp home page GithubHelp logo

hakai-api-client-r's People

Contributors

br-johnson avatar chrishakai avatar n-a-t-e avatar tayden avatar

Stargazers

 avatar  avatar  avatar

Watchers

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

Forkers

chrishakai

hakai-api-client-r's Issues

Can't open a connection with api

When I run client <- hakaiApi::Client$new() and log in using the browser to receive my key and then paste the key into R I get the following error:

Error in file(private$credentials_file, "w") : cannot open the connection In addition: Warning message: In file(private$credentials_file, "w") : cannot open file '/Users/pkgbuild/.hakai-api-auth-r': No such file or directory

I'm using the version of this package downloaded from CRAN on R version 4.0.5 (2021-03-31) on Mac OS

Downloading data within range of dates

When I try to download seagrass data between dates (ie . sgEndpoint = sprintf("%s/%s", client$api_root, "eims/views/output/mg_seagrass_habitat?date>=2016-01-01&date<2019-01-01") ), only a subset of the data (20 of 667 records) is loaded.

If instead I try to load the last 1000 records (ie. sgEndpoint = sprintf("%s/%s", client$api_root, "eims/views/output/mg_seagrass_habitat?limit=1000")), all the records work.

Am I misunderstanding how to use this function, or is this a bug?

Thanks!

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.