Skip to contents

A fully synthetic livestock movement dataset, created to illustrate the structure of movenet-format movement data tibbles.

Usage

example_movement_data

Format

A data frame (tibble) with 5,000 rows and 5 columns:

departure_cph

Unique identifier of the holding where the movement originates; a character string in the format of a UK County Parish Holding (CPH) number. This column corresponds to the from data field, required in movenet-format movement data.

dest_cph

Unique identifier of the holding where the movement is destined for; a character string in the format of a UK County Parish Holding (CPH) number. This column corresponds to the to data field, required in movenet-format movement data.

departure_date

Movement date, using the R Date class. This column corresponds to the date data field, required in movenet-format movement data.

qty_pigs

Movement weight/quantity (number of pigs moved), in numeric (double) format. This column corresponds to the weight data field, required in movenet-format movement data.

movement_reference

A movement reference number. This column illustrates an optional data field in movenet-format movement data.

Source

The content of this dataset was generated by random number and text generation, using UK-inspired data formats (e.g. County Parish Holding (CPH) identifiers). It does not correspond to or derive from any real movement data.

The csv-format data file that this movement data tibble was derived from is accessible at system.file("extdata/example_movement_data.csv", package = "movenet"). The tibble was obtained by calling reformat_data() on this csv file.

See also

vignette("movenet") for a detailed illustration of how this tibble was obtained from example_movement_data.csv.

Other example data files and structures: example_admin_areas, example_holding_data, example_holding_data.csv, example_movement_data.csv, local_spread_probabilities_ASF