Skip to contents

Loading and reformatting of data files

Functions for loading and initial processing of data files

load_config()
Load configurations from a config file into the movenet environment
reformat_data()
Read in livestock movement or holding data, and reshape to movenet format
asciify()
Convert character strings to unique, ASCII-compliant, and syntactically valid column names

Enhancing the privacy of movement or holding data

Functions for making data less identifiable

anonymise()
Anonymise data by replacing holding identifiers with prefix-integer combinations
jitter_dates()
Jitter (add noise to) movement dates
jitter_weights()
Jitter (add noise to) numeric movement data
round_dates()
Round down movement dates, and/or summarise data by time unit
round_weights()
Round numeric movement data
create_anonymisation_effect_analysis_report()
Create a report analysing the effects of modifying movement weights on network properties

Network analysis of movement data

Functions for generating network representations of movement data and performing network analyses

movedata2igraph()
Create a static network representation of movenet-format movement data
movedata2networkDynamic()
Create a dynamic network representation of movenet-format movement data
create_temporal_network_analysis_report()
Create a temporal network analysis report from a movement network
create_anonymisation_effect_analysis_report()
Create a report analysing the effects of modifying movement weights on network properties
parallel_summarise_temporal_node_properties()
Extract summary stats for temporal network node properties, in parallel
trace_contact_chains()
Trace ingoing and outgoing contact chains and visualise data on a Leaflet map

Configurations

Functions for setting and changing movenet configurations

load_config()
Load configurations from a config file into the movenet environment
validate_config()
Validate a movenet config file
get_config()
Get the values of configurations currently set in the movenet environment
change_config()
Change individual configurations in the movenet environment
save_config()
Save current configurations to a config file
new_config()
Copy a config file template to your working directory

Example data

Example data files and structures included in movenet

example_admin_areas
Example administrative area boundaries
example_movement_data.csv
Example movement data file (delimited text)
example_movement_data
Example movenet-format movement data
example_holding_data.csv
Example holding data file (delimited text)
example_holding_data
Example movenet-format holding data
local_spread_probabilities_ASF
ASF local spread transmission probabilities