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 uk egg statistics #1413

Merged
merged 2 commits into from
Aug 2, 2023
Merged

Add uk egg statistics #1413

merged 2 commits into from
Aug 2, 2023

Conversation

pabloarosado
Copy link
Contributor

Add Defra data on UK egg statistics.
Additionally, install a library to be able to open .ods files.

@pabloarosado pabloarosado self-assigned this Aug 2, 2023
@pabloarosado pabloarosado marked this pull request as ready for review August 2, 2023 14:36
Copy link
Contributor

@spoonerf spoonerf left a comment

Choose a reason for hiding this comment

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

Looks good. Would it also be interesting to calculate the total number of eggs and then the % of each type of egg shown here?

date_accessed: 2023-08-01
is_public: true
description: |
DEFRA runs a quarterly survey of registered UK egg packing stations. It is a voluntary sample survey of 27 respondents that collects information on throughput by production type and prices of graded eggs and sales of ungraded eggs. The response rate is typically 100 per cent and the survey accounts for 75 per cent of eggs packed in the UK. The survey figures are raised up to give UK estimates using information on the number of commercial laying hens, average egg yields, average mortality rates, the proportion of UK eggs that go through packing stations. Throughput by egg type for packing stations not surveyed is calculated using data provided by packing stations responding to the survey. The raised figures are published in this statistics notice and the associated datasets. The figures in this notice therefore represent all Class A eggs passed over a grader in the UK, including seconds.
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe not important but I'm not sure all of this is relevant and it's not totally clear to me what the 'seconds' in the last sentence refers to.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't understand this explanation either. I think "seconds" means "Class B". But the sentence doesn't make sense to me.

Copy link
Contributor

Choose a reason for hiding this comment

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

Ah yes I think you're right about the Class B!

@pabloarosado
Copy link
Contributor Author

Looks good. Would it also be interesting to calculate the total number of eggs and then the % of each type of egg shown here?

Thanks Fiona! That's a good idea, although this data should be used to replace this chart, in which case we can just use the "relative" option.
Additionally, I may have to come back to this dataset, given that there are a few issues, so I'll not polish the metadata just yet.

@pabloarosado pabloarosado merged commit 53c8908 into master Aug 2, 2023
7 checks passed
@pabloarosado pabloarosado deleted the add-uk-egg-statistics branch August 2, 2023 15:12
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

Successfully merging this pull request may close these issues.

2 participants