IDEAS home Printed from https://ideas.repec.org/a/jss/jstsof/v040i03.html
   My bibliography  Save this article

Dates and Times Made Easy with lubridate

Author

Listed:
  • Grolemund, Garrett
  • Wickham, Hadley

Abstract

This paper presents the lubridate package for R, which facilitates working with dates and times. Date-times create various technical problems for the data analyst. The paper highlights these problems and offers practical advice on how to solve them using lubridate. The paper also introduces a conceptual framework for arithmetic with date-times in R.

Suggested Citation

  • Grolemund, Garrett & Wickham, Hadley, 2011. "Dates and Times Made Easy with lubridate," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 40(i03).
  • Handle: RePEc:jss:jstsof:v:040:i03
    DOI: http://hdl.handle.net/10.18637/jss.v040.i03
    as

    Download full text from publisher

    File URL: https://www.jstatsoft.org/index.php/jss/article/view/v040i03/v40i03.pdf
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v040i03/lubridate_0.2.4.tar.gz
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v040i03/v40i03.R
    Download Restriction: no

    File URL: https://libkey.io/http://hdl.handle.net/10.18637/jss.v040.i03?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Zeileis, Achim & Grothendieck, Gabor, 2005. "zoo: S3 Infrastructure for Regular and Irregular Time Series," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 14(i06).
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Malte Willmes & Katherine M Ransom & Levi S Lewis & Christian T Denney & Justin J G Glessner & James A Hobbs, 2018. "IsoFishR: An application for reproducible data reduction and analysis of strontium isotope ratios (87Sr/86Sr) obtained via laser-ablation MC-ICP-MS," PLOS ONE, Public Library of Science, vol. 13(9), pages 1-15, September.
    2. Bouras V. David & Wesseh Wollo, 2020. "Oligopoly Power, Cross-Market Effects and Demand Relatedness: An Empirical Analysis," European Journal of Economics and Business Studies Articles, Revistia Research and Publishing, vol. 6, September.
    3. Nicholas John Tierney & Dianne Cook & Tania Prvan, 2020. "brolgar: An R package to BRowse Over Longitudinal Data Graphically and Analytically in R," Monash Econometrics and Business Statistics Working Papers 43/20, Monash University, Department of Econometrics and Business Statistics.
    4. Michael Berlemann & Julia Freese & Sven Knoth, 2020. "Dating the start of the US house price bubble: an application of statistical process control," Empirical Economics, Springer, vol. 58(5), pages 2287-2307, May.
    5. Jiří Sedláček, 2013. "Using R in Finance [Využití R v oblasti financí]," Český finanční a účetní časopis, Prague University of Economics and Business, vol. 2013(4), pages 145-163.
    6. Stübinger, Johannes & Endres, Sylvia, 2017. "Pairs trading with a mean-reverting jump-diffusion model on high-frequency data," FAU Discussion Papers in Economics 10/2017, Friedrich-Alexander University Erlangen-Nuremberg, Institute for Economics.
    7. Judith M. Ament & Robin Freeman & Chris Carbone & Anna Vassall & Charlotte Watts, 2020. "An Empirical Analysis of Synergies and Tradeoffs between Sustainable Development Goals," Sustainability, MDPI, vol. 12(20), pages 1-12, October.
    8. Anota, Amélie & Savina, Marion & Bascoul-Mollevi, Caroline & Bonnetain, Franck, 2017. "QoLR: An R Package for the Longitudinal Analysis of Health-Related Quality of Life in Oncology," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 77(i12).
    9. Ohana-Levi, Noa & Munitz, Sarel & Ben-Gal, Alon & Netzer, Yishai, 2020. "Evaluation of within-season grapevine evapotranspiration patterns and drivers using generalized additive models," Agricultural Water Management, Elsevier, vol. 228(C).
    10. Percebois, Jacques & Pommeret, Stanislas, 2019. "Storage cost induced by a large substitution of nuclear by intermittent renewable energies: The French case," Energy Policy, Elsevier, vol. 135(C).
    11. Ferstl, Robert & Hayden, Josef, 2010. "Zero-Coupon Yield Curve Estimation with the Package termstrc," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 36(i01).
    12. Golyandina, Nina & Korobeynikov, Anton & Shlemov, Alex & Usevich, Konstantin, 2015. "Multivariate and 2D Extensions of Singular Spectrum Analysis with the Rssa Package," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 67(i02).
    13. Chris Heaton & Natalia Ponomareva & Qin Zhang, 2020. "Forecasting models for the Chinese macroeconomy: the simpler the better?," Empirical Economics, Springer, vol. 58(1), pages 139-167, January.
    14. Thelma Dede Baddoo & Zhijia Li & Yiqing Guan & Kenneth Rodolphe Chabi Boni & Isaac Kwesi Nooni, 2020. "Data-Driven Modeling and the Influence of Objective Function Selection on Model Performance in Limited Data Regions," IJERPH, MDPI, vol. 17(11), pages 1-26, June.
    15. Hansin Bilgili & Chwen Sheu, 2022. "A Bibliometric Review of the Mathematics Journal," Mathematics, MDPI, vol. 10(15), pages 1-17, July.
    16. Perpiñán Lamigueiro, Oscar, 2012. "solaR: Solar Radiation and Photovoltaic Systems with R," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 50(i09).
    17. Georgia Papacharalampous & Hristos Tyralis & Demetris Koutsoyiannis, 2018. "Univariate Time Series Forecasting of Temperature and Precipitation with a Focus on Machine Learning Algorithms: a Multiple-Case Study from Greece," Water Resources Management: An International Journal, Published for the European Water Resources Association (EWRA), Springer;European Water Resources Association (EWRA), vol. 32(15), pages 5207-5239, December.
    18. Shrub, Yuliya & Rieger, Jonas & Müller, Henrik & Jentsch, Carsten, 2022. "Text data rule - don't they? A study on the (additional) information of Handelsblatt data for nowcasting German GDP in comparison to established economic indicators," Ruhr Economic Papers 964, RWI - Leibniz-Institut für Wirtschaftsforschung, Ruhr-University Bochum, TU Dortmund University, University of Duisburg-Essen.
    19. Golyandina, Nina & Korobeynikov, Anton, 2014. "Basic Singular Spectrum Analysis and forecasting with R," Computational Statistics & Data Analysis, Elsevier, vol. 71(C), pages 934-954.
    20. Nikolaus Umlauf & Georg Mayr & Jakob Messner & Achim Zeileis, 2011. "Why Does It Always Rain on Me? A Spatio-Temporal Analysis of Precipitation in Austria," Working Papers 2011-25, Faculty of Economics and Statistics, Universität Innsbruck.

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:jss:jstsof:v:040:i03. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Christopher F. Baum (email available below). General contact details of provider: http://www.jstatsoft.org/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.