Skip to content

Commit a6e80f9

Browse files
author
Maanasa Rajeshwer
committed
Changed parameters for query 1
1 parent 69412e1 commit a6e80f9

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Trivariate_Example_Two/02_make_univariate_tables.Rmd

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ We first get the univariate counts for all features (variables) the ICEES databa
3434

3535
```{r univariate, message=FALSE}
3636
## no need to see uninformative messages in the markdown document
37-
url <- "https://icees.renci.org/1.0.0/patient/2010/cohort/COHORT%3A22/features"
37+
url <- "https://icees.renci.org/3.0.0/patient/2010/cohort/COHORT%3A22/features"
3838
## extract the data in json format
3939
univariate.call <- httr::GET(url,
4040
accept_json(),
@@ -51,7 +51,6 @@ Note that the current data object, `univariate.list`, has the univariate binned
5151

5252
```{r}
5353
names(univariate.list)
54-
##this is a change
5554
```
5655

5756
The first component of the output are the frequencies and percentages in each bin.
@@ -125,8 +124,8 @@ length(unique(uni_all_df$feature))
125124
We select the three features of interest and rename the variables with simpler names for use later.
126125

127126
* `EDVisits` = Total ED/Inpatient Visits,
128-
* `MaxPMExposure` = Maximum Daily PM 2.5 Exposure (qcut),
129-
* `RoadwayExposure` = Major Roadway Highway Exposure.
127+
* `AvgDailyPMExposure` = Average Daily PM 2.5 Exposure (qcut),
128+
* `Race` = Race.
130129

131130
```{r}
132131
uni_df <- uni_all_df %>%

0 commit comments

Comments
 (0)