data-raw/dow_jones_industrial/dow_jones_industrial.R

library(tidyverse)
library(lubridate)

dow_jones_industrial <- read_csv(here::here("data-raw", "Dow_Jones", "DJI.csv")) %>%
  mutate(
    date = mdy(Date),
    open = Open,
    high = High,
    low = Low,
    close = Close,
    volume = Volume
  ) %>%
  select(date, open, high, low, close, volume)

devtools::use_data(dow_jones_industrial, overwrite = TRUE)
clauswilke/dviz.supp documentation built on Aug. 25, 2020, 2:12 a.m.