Skip to content
This repository was archived by the owner on Dec 13, 2025. It is now read-only.

GBADsInformatics/RTools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Repository Archived

This repository was archived on 13 December 2025 as part of a transition toward updated implementations that reflect current GBADs Informatics best practices.

The contents of this repository remain available for reference and reproducibility only. Development and maintenance have ceased, and no further updates are planned.

Ongoing and future work is implemented in active repositories within the GBADs Informatics GitHub organization, which incorporate improved standards for structure, documentation, versioning, and governance.

CC BY-NC-SA 4.0

R Tools

R tools to access, use, and visualize data

Files

GBADsAPI.R

Description:

R code to access GBADs Public API. Currently supported - livestock population numbers from OIE and FAOSTAT QCL dataset

Dependencies:

library(RCurl)

library(httr)

Functions:

  1. get_all_tables
  • Lists all available tables in the API
  1. livestock_population
  • Accepts year, country, species, source and destfile as parameters where source is either oie or faostat
  • Default destination file for downloaded data is output.csv

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

CC BY-NC-SA 4.0

About

R tools to access, use, and visualize data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages