Time series with implicit missing data

Hello,

I have hourly weather data from 42 stations for 2 months. The data set is an irregular series (See the HR/hour column). I want to add the missing rows to make it a regular series.

I am new to R, so I don't have much knowledge to complete the task.

Can anyone please help me in this regard?!
Screenshot%20(3)|690x316

Can you please share a small part of the data set in a copy-paste friendly format?

In case you don't know how to do it, there are many options, which include:

  1. If you have stored the data set in some R object, dput function is very handy.

  2. In case the data set is in a spreadsheet, check out the datapasta package. Take a look at this link.

(post withdrawn by author, will be automatically deleted in 24 hours unless flagged)

The process outlined by andresrcs is neither lengthy, nor complicated.

You are requesting people to help you. The bare minimum you are requested to do is to present your problem and the data in a convenient manner.

1 Like

The error indicates that your RAM has been exhausted.

The first thing to try is to run from a clean session and only to load the objects you require. Memory can get clogged up if you have been running many things in the same session.

You could also close any other applications which are consuming large amounts of RAM.

If that doesn't work then you could use the far more memory efficient data.table package:
https://cran.r-project.org/web/packages/data.table/index.html

Otherwise you could look to install more RAM or run off a cloud server.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.