-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathegg-report.Rmd
31 lines (22 loc) · 1.38 KB
/
egg-report.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
---
title: "UK egg statistics"
output:
govdown::govdown_document:
font: "sans-serif"
title: "Demo: {drake} for RAP"
page_title: "Demo: {drake} for RAP"
logo_text: ""
phase: beta
feedback_url: "https://github.com/matt-dray/drake-egg-rap/issues"
---
## Background
The ['latest UK egg statistics' publication](https://www.gov.uk/government/statistics/egg-statistics) contains the latest quarterly UK statistics about eggs.
It's published by the [Department for Environment, Food and Rural Affairs](https://www.gov.uk/government/organisations/department-for-environment-food-rural-affairs).
This report is the output from a demo of using [the {drake} package](https://github.com/ropensci/drake) for R. It's not an official government publication.
## Throughput
Below is a recreation of Figure 2 from the [UK egg statistics notice](https://www.gov.uk/government/statistics/egg-statistics) document. It shows egg production over time, split by production methods.
```{r, egg-throughput, warning=FALSE, echo=FALSE, fig.width=8, fig.height=6, dpi=100}
readd(plot)
```
The eggs are class A and there are 360 eggs per case.
The data are available from the [UK egg packing station throughput and prices dataset](https://www.gov.uk/government/statistics/egg-statistics). The data set is Crown copyright but may be reproduced without formal permission or charge for personal or in-house use.