Created
May 2, 2024 16:01
-
-
Save seandavi/01383eb5b68eabd3ee7f10f6656b22dd to your computer and use it in GitHub Desktop.
Create jsonlines of US CDC cancer incidence data release
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
curl https://gis.cdc.gov/Cancer/DataVizApi/GetJSON/USCS_County | sed -e 's/<string xmlns="http:\/\/schemas.microsoft.com\/2003\/10\/Serialization\/">//g' -e 's/<\/string>//g'| jq -c '.[] | .USCS_County[]' > output.jsonl |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment