Skip to content

Commit

Permalink
Datasets from Stata 16 now
Browse files Browse the repository at this point in the history
  • Loading branch information
ellessenne committed Jan 15, 2021
1 parent 3a14dfe commit 476d885
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data-raw/make-data.R
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ usethis::use_data(icd10cm_2017, overwrite = TRUE)

########################################################################################################################
### Dataset #6: Adult same-day discharges, 2010 (from Stata)
nhds2010 <- haven::read_dta("https://www.stata-press.com/data/r15/nhds2010.dta")
nhds2010 <- haven::read_dta("https://www.stata-press.com/data/r16/nhds2010.dta")
attr(nhds2010, "spec") <- NULL
nhds2010 <- labelled::remove_labels(nhds2010, user_na_to_na = TRUE)

Expand All @@ -135,7 +135,7 @@ usethis::use_data(nhds2010, overwrite = TRUE)

########################################################################################################################
### Dataset #7: Australian mortality data, 2010 (from Stata)
australia10 <- haven::read_dta("https://www.stata-press.com/data/r15/australia10.dta")
australia10 <- haven::read_dta("https://www.stata-press.com/data/r16/australia10.dta")
attr(australia10, "spec") <- NULL
australia10 <- labelled::remove_labels(australia10, user_na_to_na = TRUE)

Expand Down
Binary file modified data/australia10.rda
Binary file not shown.
Binary file modified data/nhds2010.rda
Binary file not shown.

0 comments on commit 476d885

Please sign in to comment.