Skip to content

Commit

Permalink
Update comdat (2024)
Browse files Browse the repository at this point in the history
Replaced 2023 dataset with 2024 dataset. Rebuilt comdat into ecodata with new changes.
  • Loading branch information
BBeltz1 committed Dec 13, 2023
1 parent 0a5cb55 commit c32c83c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Binary file added data-raw/Commercial_data_pull_24.RData
Binary file not shown.
5 changes: 3 additions & 2 deletions data-raw/get_comdat.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ library(dplyr)

raw.dir <- here::here("data-raw")

comdat_RData<-"Commercial_data_pull_23 (7).RData"
comdat_RData<-"Commercial_data_pull_24.RData"

get_comdat <- function(save_clean = F){

Expand All @@ -20,7 +20,8 @@ get_comdat <- function(save_clean = F){
dplyr::rename(EPU = Region) %>%
dplyr::select(-Source)%>%
tibble::as_tibble() %>%
dplyr::select(Time, Var, Value, EPU, Units)
dplyr::select(Time, Var, Value, EPU, Units) %>%
dplyr::arrange(Var, Time)

# metadata ----
attr(comdat, "tech-doc_url") <- "https://noaa-edab.github.io/tech-doc/comdat.html"
Expand Down
Binary file modified data/comdat.rda
Binary file not shown.

0 comments on commit c32c83c

Please sign in to comment.