The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Biomarkers » hypertension other biomarkers doesn't exist error
hypertension other biomarkers doesn't exist error [message #28749] Sat, 02 March 2024 20:54 Go to next message
krittika03 is currently offline  krittika03
Messages: 7
Registered: March 2024
Member
hello, i am trying into the women's file (IR) and want to look into how education can impact health behaviors. since my R is not able to load the whole dataset, I had to select columns to import. the hypertension, cancer or other similar biomarkers are coming as doesn't exist in R. (cc below)

DHSIR <- import("D:/Thesis 101/data/Individual Recode/IAIR7EFL.DTA", col_select = c("v106", "s116", "v025", "v101", "v130", "v190", "s728c", "v463a"))
Error in `skip_cols()`:
! Can't subset columns that don't exist.
✖ Column `s728c` doesn't exist.
Backtrace:
1. rio::import(...)
3. rio:::.import.rio_dta(file = file, ...)
5. rio:::.docall(haven::read_dta, ..., args = list(file = file))
9. haven (local) `<fn>`(col_select = `<chr>`, file = `<rio_dta>`)
10. haven:::skip_cols(...)
>
what is happening? is there any other way? am i doing something wrong?

[Updated on: Sat, 02 March 2024 20:54]

Report message to a moderator

Re: hypertension other biomarkers doesn't exist error [message #28750 is a reply to message #28749] Sat, 02 March 2024 21:39 Go to previous message
krittika03 is currently offline  krittika03
Messages: 7
Registered: March 2024
Member
I FOUND THE BUG!!! nevermind hahah
Previous Topic: variable SHB53 Time since last ate
Next Topic: From Fizz to Fact: The impact of carbonated beverage taxation on morbidity rates in India
Goto Forum:
  


Current Time: Wed Nov 13 05:16:18 Coordinated Universal Time 2024