R Dataset / Package datasets / UKgas
On this R-data statistics page, you will find information about the UKgas data set which pertains to UK Quarterly Gas Consumption. The UKgas data set is found in the datasets R package. You can load the UKgas data set in R by issuing the following command at the console data("UKgas"). This will load the data into a variable called UKgas. If R says the UKgas data set is not found, you can try installing the package by issuing this command install.packages("datasets") and then attempt to reload the data with the library() command. If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the UKgas R data set. The size of this file is about 1,403 bytes.
UK Quarterly Gas Consumption
Description
Quarterly UK gas consumption from 1960Q1 to 1986Q4, in millions of therms.
Usage
UKgas
Format
A quarterly time series of length 108.
Source
Durbin, J. and Koopman, S. J. (2001) Time Series Analysis by State Space Methods. Oxford University Press. http://www.ssfpack.com/dkbook/
Examples
## maybe str(UKgas) ; plot(UKgas) ...
Dataset imported from https://www.r-project.org.