Mr Cheerful
2 April 2017
The Active Drilling Rig Count
Rig Count data is helpful in many decision making processes.
Rig Count Dashboard - graphical presentation of Rig Count.
The data is obtained from the Baker Hughes Rig Count which is published weekly. The source data may be obtained in an Excel spreadsheet from the Baker Huges website. The Canadian data table was exported to a CSV file with the header shown below.
RigData <- read.csv("./CanadaActiveRigs/RigData.csv", header=TRUE, as.is=TRUE)
RigData$DATE <- as.Date(RigData$DATE)
head(RigData,3)[,1:8]
DATE AB BC Kavik MB NB NL.Land NL.OS
1 2003-03-28 195 69 0 0 0 0 4
2 2003-04-04 164 40 0 0 0 0 3
3 2003-04-11 139 22 0 0 0 0 3
The following plot shows the full dataset. In the application, filters can be used to restrict the time range and the regions shown to enhance it's readibility and usefulness.
RD <- melt(RigData, id.vars="DATE", variable_name="Region")
g <- ggplot(RD, aes(x=DATE, y=value)) + geom_line() +
ylab("Number of Active Rigs") ; print(g)