Skip to content

Commit 3d4ce3b

Browse files
Reverse cooling order
1 parent 92ffe74 commit 3d4ce3b

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

R/data-duke_forest.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#' \item{type}{Type of home (all are Single Family).}
1414
#' \item{year_built}{Year the home was built.}
1515
#' \item{heating}{Heating sytem.}
16-
#' \item{cooling}{Cooling system (`central` or `other`).}
16+
#' \item{cooling}{Cooling system (`other` or `central`).}
1717
#' \item{parking}{Type of parking available and number of parking spaces.}
1818
#' \item{lot}{Area of the entire property, in acres.}
1919
#' \item{hoa}{If the home belongs to an Home Owners Association, the associted fee (`NA` otherwise).}

data-raw/duke_forest/duke_forest-dataprep.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ duke_forest <- duke_forest_raw %>%
1515
cooling == "Central" ~ "central",
1616
cooling == "Central, Other" ~ "central",
1717
TRUE ~ "other"
18-
)
18+
),
19+
cooling = fct_rev(cooling)
1920
) %>%
2021
rename(url = link) %>%
2122
relocate(url, .after = last_col())

data/duke_forest.rda

-26 Bytes
Binary file not shown.

man/duke_forest.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)