Coder Social home page Coder Social logo

ropensci-archive / dbhydror Goto Github PK

View Code? Open in Web Editor NEW
12.0 8.0 6.0 1.8 MB

R interface to the South Florida Water Management District's DBHYDRO Database :sweat_drops: :palm_tree:

Home Page: https://docs.ropensci.org/dbhydroR

R 96.21% TeX 3.79%
water-quality water-resources ecology geoscience groundwater government-data r rstats r-package peer-reviewed

dbhydror's Introduction

dbhydroR

Project Status: Unsupported Peer-review badge

This package has been archived. The former README is now in README-old.

dbhydror's People

Contributors

dependabot[bot] avatar jsta avatar karthik avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dbhydror's Issues

License

What license is this code under?

function get_hydro() broken

Returns error apparently for any and all dbkey and date range inputs. In the example below, data for the given dbkey can be successfully retrieved from DBHydro through the web interface.

get_hydro(dbkey = "HC940", date_min = "2018-05-01", date_max = "2018-05-02")
Error in get_hydro(dbkey = "HC940", date_min = "2018-05-01", date_max = "2018-05-02") :
No data found

dbkeys with leading zeros

a=get_hydro(dbkey="00910",date_min="1939-01-01",date_max="2017-01-01")

Error in dim(ordered) <- ns :
dims [product 1] do not match the length of object [0]

error on passing multiple stationids to get_hydro

get_hydro is returning a data.frame with only a single column in these cases

This works as expected:

get_hydro(dbkey = c("15081", "15069"), date_min = "2013-01-01",
    date_max = "2013-02-02")

This does not:

get_hydro(stationid = c("C-54", "M-1083", "G-561"), category = "GW", 
            freq = "DA", date_min = "1990-01-01", date_max = "2017-04-10", longest = TRUE))

function get_hydro() broken (again)

get_hydro returns error for any and all dbkey and date range inputs. An example taken from the documentation (but updated to an active dbkey value):

> get_hydro(dbkey = "HC940",
           date_min = "2013-01-01", date_max = "2013-02-02")

Error in get_hydro(dbkey = "HC940", date_min = "2013-01-01", date_max = "2013-02-02") :
No data found
In addition: Warning message:
In min(which(apply(raw[, 10:16], 1, function(x) all(is.na(x))))) :
no non-missing arguments to min; returning Inf

Data, including from this example, are accessible from the DBHydro web interface.

get_dbkey() and get_wq() appear to be functioning correctly.

transfer to ropensci

๐Ÿ‘‹ @jsta we no longer transfer onboarded packages to ropenscilabs but instead directly to ropensci so we should move this repo. Are you ok with my doing it? If so when would you have the time to update all links? I wouldn't transfer before you have time to do that, and it's not urgent to transfer anyway.

If possible could you please add this badge to the README of rnaturalearth when updating CI links?
[![Project Status: Active โ€“ The project has reached a stable, usable state and is being actively developed.](http://www.repostatus.org/badges/latest/active.svg)](http://www.repostatus.org/#active)

Thanks for your patience! ๐Ÿ™

Too Many Requests (RFC 6585) (HTTP 429)

Looping through multiple stations to download data for each station (dbkey). It keeps brining up this error "Error in dbh_GET(servfull, query = qy) Too Many Requests (RFC 6585) (HTTP 429)". It appears that the server is overwhelmed by the request and stops writing the data to either a dataframe or csv.

What endpoints are you using?

What endpoints are you using to get your data? Are you scraping the dbhydro browser directly or are there some specific endpoints you're calling?

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.