Git Product home page Git Product logo

Comments (6)

robin-hutchinson avatar robin-hutchinson commented on June 18, 2024 1

No problem, thanks!

I just need to update some packages before I can install (rlang, vctrs, Rcpp), but will do this once I've sorted that!

from datefixr.

nathansam avatar nathansam commented on June 18, 2024

Absolutely! day.impute $\leq$ 28 was a simple way of ensuring days of the month never went out of bounds, but a system which takes into account the actual days in each month (factoring in leap years) is definitely needed. I'll get to work work on this.

from datefixr.

robin-hutchinson avatar robin-hutchinson commented on June 18, 2024

Thanks Nathan, let me know if I can be of any help!

from datefixr.

nathansam avatar nathansam commented on June 18, 2024

Thanks! I've just pushed a change which allows day.impute = 31. Days won't go out of bounds for each month so setting day.impute=31 will result in the last day of the month being imputed for missing days. At the moment the changes are on the devel branch.

If you could please install from this branch,

remotes::install_github("ropensci/datefixR", "devel")

and let me know if that works for your use case, that would be great!

from datefixr.

robin-hutchinson avatar robin-hutchinson commented on June 18, 2024

Hi Nathan - it's definitely working, thanks!

from datefixr.

nathansam avatar nathansam commented on June 18, 2024

Brilliant! Thanks. I will merge into main now. The change should be propagated to CRAN in about two weeks.

from datefixr.

Related Issues (20)

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.