Skip to content

Could not download data if selecting "AK" in the "State" selector and any counties in the "County" selector #231

@ycwwang

Description

@ycwwang

Describe the bug

The query with a selection with "AK" in the "State" menu and any counties in the "County" menu will lead to the tool to stop working.

To Reproduce

Steps to reproduce the behavior:

  1. Go to the Load tab.

  2. Select "AK" in the "State" menu, and select any counties in the "County" menu.

  3. Click "Run Query"

  4. The tool will stop working.

Screenshots

Here is a screenshot when the error occurs. The countyCdLookup function from the dataRetrieval package seems to be the source of the issue.

Image

Additional context

The following is an exmaple showing that dataRetrieval::countyCdLookup leads to this error.

Image

Reminders for TADA contributors addressing this issue

Bug fixes should include the following work:

  • Create or edit the code.

  • Document all code using line/inline and/or multi-line/block comments
    to describe what is does.

  • Create or edit tests in tests/testthat folder to help prevent and/or
    troubleshoot potential future issues.

  • If your code edits impact other functionality in the shiny
    app, ensure those are updated as well.

  • Run styler::style_pkg(), devtools::document(), and devtools::check()
    and address any new notes or issues before creating a pull request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions