NOT CURRENTLY IMPLEMENTED wrapper to `getData()` which calls the CDC Wonder API and returns a tidy data frame (tibble)
Arguments
- ...
list of words to indicate the group_by variables desired in the query. Words will be interpreted according to the first letter (not case-sensitive):
A = "Age of Mother Year"
B = "Birth Weight 100 gram increments"
D = "Delivery Method"
E = "Education"
G = "Gender"
H = "Hispanic Origin"
M = "Month"
O = "Live Birth Order"
P = "Birthplace"
R = "Race"
S = "Marital Status"
P = "Month Prenatal Care Began"
W = "Weekday"
Notes
`getBirths()` is designed to be easier to use than `getData()` for simple queries. Only the first letter needs to be correct. For more options, use `getData()`.
Examples
mydata <- getBirths(age, educcation, wieght, gender)
mydata
#> [[1]]
#> [[1]][[1]]
#> [1] "B_1"
#>
#> [[1]][[2]]
#> [1] "Age of Mother Year"
#>
#>
#> [[2]]
#> [[2]][[1]]
#> [1] "B_2"
#>
#> [[2]][[2]]
#> [1] "Education"
#>
#>
#> [[3]]
#> [[3]][[1]]
#> [1] "B_3"
#>
#> [[3]][[2]]
#> [1] "Weekday"
#>
#>
#> [[4]]
#> [[4]][[1]]
#> [1] "B_4"
#>
#> [[4]][[2]]
#> [1] "Gender"
#>
#>