Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dataset-Chronic diseases #104

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mohamedsto7y
Copy link

Capture

@Mohitkumar6122
Copy link
Contributor

@mohamedsto7y, there is some error in your dataset added as normally after using retriever install csv ***** dataset is downloaded in csv format and output looks like :
image

"diabetes",
"hypertension"
],
"licenses": [],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

license is Public Domain

@henrykironde
Copy link
Contributor

Remember to run Python version.py
And since you want to edit the commit, after all the changes run.

git add -u
git commit --amend
# No need to change the commit message in this case
git push origin add-datasets -f

@mohamedsto7y mohamedsto7y force-pushed the add-datasets branch 2 times, most recently from 2be4fe9 to 9734bf5 Compare March 30, 2021 10:35
@henrykironde
Copy link
Contributor

@mohamedsto7y thanks for the update.
The url is wrong. It should be the url of of data.
Get the url as shown in the picture under share url.

Screen Shot 2021-03-30 at 1 41 45 PM

Additionally download the data again and run retriever autocreate. When I did run autocreate I notices that we have different values.

Here is my sample diff
Screen Shot 2021-03-30 at 2 27 57 PM

@mohamedsto7y
Copy link
Author

Capture1

@henrykironde
Copy link
Contributor

Why do you have two files? I think you need one json file

@mohamedsto7y mohamedsto7y force-pushed the add-datasets branch 2 times, most recently from 2225116 to ab57f7d Compare March 31, 2021 00:09
@mohamedsto7y
Copy link
Author

yes I removed one and the correct is shown in versions.py

cs

Copy link
Contributor

@henrykironde henrykironde left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's make these changes

@@ -0,0 +1,186 @@
{

"citation": "Centers for Disease Control and Prevention",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The citation is not included so leave this as "citation": "",

{

"citation": "Centers for Disease Control and Prevention",
"description": "DC's Division of Population Health provides cross-cutting set of 124 indicators that were developed by consensus and that allows states and territories and large metropolitan areas to uniformly define, collect, and report chronic disease data that are important to public health practice and available for states, territories and large metropolitan areas. In addition to providing access to state-specific indicator data, the CDI web site serves as a gateway to additional information and data resources.CDC's Division of Population Health provides cross-cutting set of 124 indicators that were developed by consensus and that allows states and territories and large metropolitan areas to uniformly define, collect, and report chronic disease data that are important to public health practice and available for states, territories and large metropolitan areas. In addition to providing access to state-specific indicator data, the CDI web site serves as a gateway to additional information and data resources.",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"description": "124 indicators by CDC's Division of Population Health used to uniformly define, collect, and report chronic disease data"

@henrykironde
Copy link
Contributor

Looks nice. It will test this later but I think it is ready.

@mohamedsto7y
Copy link
Author

Looking forward for any update.Thank you so much!

Copy link
Contributor

@henrykironde henrykironde left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have made some comments. These could improve the data package.

I am going to make one last test after that to make sure the URL is stable

"encoding": "utf-8",
"homepage": "https://data.world/cdc/us-chronic-disease-indicators",
"keywords": [
"chronic",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add USA to keywords

"cardiovascular disease",
"public health"
],
"name": "chronic-disease-indicators-in-us",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rename to chronic-disease-indicators-us and file name to chronic_disease_indicators_us.json

"dialect": {
"delimiter": ","
},
"name": "chronic_disease_indicators_in_us_cdi",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rename to a simple table name like. cdi_indicators

@henrykironde
Copy link
Contributor

What happened, looks like you did not do the commands right
The file is missing

Updated Link to Data Retriever Website
@mohamedsto7y
Copy link
Author

what to fix next?

@henrykironde
Copy link
Contributor

Thanks @mohamedsto7y. If this is working fine, could you go a head and run some commands, then paste the results here.
If you installed the data into Postgres or Mysql, you should provide a snapshot of the data just like I have been doing. Also do not forget to run python version.txt to update the version.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants