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

fingertips_data function for GP profiles #75

Open
stephshadwell opened this issue Jun 13, 2019 · 4 comments
Open

fingertips_data function for GP profiles #75

stephshadwell opened this issue Jun 13, 2019 · 4 comments
Labels

Comments

@stephshadwell
Copy link

We are trying to run the fingertips_data function for the gp profiles?

df <- fingertips_data(ProfileID = 20, AreaTypeID = 7)
however this returns the following error message:
Error: object 'Indicator Name' not found

i have tried running no specifying the AreaTypeID
df <- fingertips_data(ProfileID = 20)

but this then returns a dataframe with 0 obs of 26 variables.

I have tried running for other profiles such as PHOF & Local Health but don't seem to be having the same issue.

I an currently using version 0.2.6 of the package (which i believe is the latest version)

@sebastian-fox
Copy link
Member

Hi @stephshadwell, having spoken to the Fingertips developer team I can provide their response to you regarding the first issue (df <- fingertips_data(ProfileID = 20, AreaTypeID = 7)):

The issue is due to the amount of data being returned. If the server returned that data as a CSV then it would be a file of 1.7GB. The application on the server is throwing an OutOfMemory exception.

The answer to why df <- fingertips_data(ProfileID = 20) returns 0 records is because the default AreaTypeID is 102, which doesn't exist in the GP Profiles.

I think it is worth leaving this issue open so others can see that it is unresolved if they come across the same issue...

Thanks for raising it.
Seb

@stephshadwell
Copy link
Author

thanks @sebastian-fox

@stephshadwell
Copy link
Author

@sebastian-fox is there any update on this. Josh has raised the same question on our East of England slack channel this week, as he is having issues in Norfolk

@sebastian-fox
Copy link
Member

@stephshadwell - apologies for the delay, I've been away. I've spoken with the developers and they have some ideas for how to proceed. They've created a ticket for it and will try to look at it in the next few weeks

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

No branches or pull requests

2 participants