Giter Site home page Giter Site logo

covid19census's People

Contributors

c1au6i0 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

covid19census's Issues

Failed to retrieve US data

all_us <- getus_all(repo = "jhu")

This line of code fails. Here is what the output says:

Retrieving data...please wait!
US COVID-19 data up to 2022-07-29 successfully retrived from JHU repository!
US mobility data up to 2021-08-24 successfully retrived!
Error in vectbl_as_col_location():
! Can't subset columns that don't exist.
x Column dex_a doesn't exist.
Run rlang::last_error() to see where the error occurred.

When I run rlang::last_error() i get this:

<error/vctrs_error_subscript_oob>
Error in vectbl_as_col_location():
! Can't subset columns that don't exist.
x Column dex_a doesn't exist.

Backtrace:

  1. covid19census::getus_all(repo = "jhu")
  2. tibble:::[.tbl_df(dex_us, , c("fips", "date", "dex_a"))
  3. tibble:::vectbl_as_col_location(...)
    Run rlang::last_trace() to see the full context.

When I run rlang::last_trace() i get this:
<error/vctrs_error_subscript_oob>
Error in vectbl_as_col_location():
! Can't subset columns that don't exist.
x Column dex_a doesn't exist.

Backtrace:

  1. └─covid19census::getus_all(repo = "jhu")
  2. ├─dex_us[, c("fips", "date", "dex_a")]
  3. ├─readr:::[.spec_tbl_df(dex_us, , c("fips", "date", "dex_a"))
  4. ├─base::NextMethod([)
  5. └─tibble:::[.tbl_df(dex_us, , c("fips", "date", "dex_a"))
  6. └─tibble:::vectbl_as_col_location(...)
    
  7.   ├─tibble:::subclass_col_index_errors(...)
    
  8.   │ └─base::withCallingHandlers(...)
    
  9.   └─vctrs::vec_as_location(j, n, names)
    
  10.     └─vctrs `<fn>`()
    
  11.       └─vctrs:::stop_subscript_oob(...)
    
  12.         └─vctrs:::stop_subscript(...)
    
  13.           └─rlang::abort(...)
    

Can you please advice?

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.