Skip to content

Bridged-Race Population Estimates (Table D163) #11

Open

Description

@wdefreitas

Wondering if we can use the wonderapi package to query the Bridged-Race Population Estimates (Table D163)?

Activity

  1. jtr13 commented on Oct 28, 2021

    @jtr13
    Contributor

    Sorry for the delay... I didn't have the email notifications set up properly.

    You can do this:

    library(wonderapi)
    mydata <- getData(TRUE, "D66", list(list("Group Results By", "D66.V2 "),
                                        list("Year", "2019")))
    mydata
    #> # A tibble: 4 × 2
    #>   `Mother's Bridged Race`           Births
    #>   <chr>                              <dbl>
    #> 1 American Indian or Alaska Native   41750
    #> 2 Asian or Pacific Islander         280702
    #> 3 Black or African American         634642
    #> 4 White                            2790446

    Created on 2021-10-28 by the reprex package (v2.0.1)

    But doesn't sound like that's what you want. I'm working on adding the "Natality 2016-2019, Expanded" dataset (https://wonder.cdc.gov/controller/datarequest/D149) but ran into trouble figuring out the right parameters to send. I have default queries now from the CDC so I'll give it another go as soon as I get a chance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions