Code supporting “Early-warning of trends in commercial wildlife trade through novel machine-learning analysis of patent filing”.
Hinsley A., Challender D., Masters S., Milner-Gulland E., Macdonald D., Fraser J., Wright J.
Cleaned and processed patent data and analysis code for “Early-warning of trends in commercial wildlife trade through novel machine-learning analysis of patent filing” (Nature Communications, 2024). Original raw data retrieved from Google Patents. Code is largely R. Statistical modelling code uses Stan via the RStan R interface. Details of files and usage in included 'manifest.md' files.