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

Issue while running python code to get the claims data #50

Closed
Ratanr opened this issue Mar 13, 2018 · 6 comments
Closed

Issue while running python code to get the claims data #50

Ratanr opened this issue Mar 13, 2018 · 6 comments

Comments

@Ratanr
Copy link

Ratanr commented Mar 13, 2018

Hi All,

I am trying to run the Python code to get the claims data directly from the website that is available on the site i.e get_synpuf_files.py. but I am getting the syntax error. could you please let me know the correct steps to run this successfully?

image

Thanks,
Ratan

@ericaVoss
Copy link
Contributor

Are you just looking to get a copy of the data? You don't need to generate it yourself. In fact we just updated to V5.2.

This doesn't solve the Python issue, but you don't need to solve it if you just want the data.

Let me know and then we can work on getting it to you. Since we just finished generating it we don't have it formally released somewhere yet.

@Ratanr
Copy link
Author

Ratanr commented Mar 13, 2018

Hi Erica,

I only need a copy of CMS synthetic claims data. I was able to manually download the claims data DE_1 to DE_20 from CMS site.

Since we have to convert one of the datasets to CDM and I am new to ODHSI so wanted to understand the full workflow of it by executing all the steps of the different dataset. I will be able to use the data which I downloaded manually but still wanted to understand why that particular code did not work?.
I am also having problems with other steps which I will be posting after trying all alternatives from my side.

Thank you for the updates on V5.2. Any particular date on which the V5.2 is getting released?

Thanks,
Ratan

@ChristopheLambert
Copy link
Contributor

Hi Ratan,

You did not type the python command at the beginning of your command line. Plus you did not specify a valid output directory. You should replace "path/to/output/directory" with a pathname of where to store the data. It is also strange you are currently working from the Python27 directory -- presumably your installation directory for python, instead of a folder where all of the ETL-CMS files are stored.

Sincerely,
Christophe

@Ratanr
Copy link
Author

Ratanr commented Mar 13, 2018

Hi Chris,

sorry for the confusion, I just used the path as an example however I missed the python command at the beginning of command line.

I have used the below path to generate output files but still getting the same issue. please suggest a way forward.

image

Thanks,
Ratan

@ChristopheLambert
Copy link
Contributor

Look inside the python file and see if it looks like html. If so, you did not properly retrieve it from github -- make sure to get the raw version of the file.

Christophe

@Ratanr
Copy link
Author

Ratanr commented Mar 14, 2018

Hi Christophe,

done. I was able to execute and download the data from my side now. Thank you.

I was having some problem because of JDK version.

Thanks,
Ratan

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

No branches or pull requests

3 participants