PPM

Overview

PPM (Pesquisa da Pecuária Municipal - Municipal Livestock Survey) is Brazil’s comprehensive annual survey of livestock activities conducted by IBGE. This dataset provides:

PPM is the primary data source for understanding Brazil’s livestock sector, which is economically significant and globally important for beef, poultry, and dairy exports.

Data Source and Methodology

PPM data is compiled from: - Direct surveys of livestock producers - Agricultural censuses and administrative records - Municipal agriculture secretariats - Processed and validated by IBGE - Annual release with data for reference year

For more information, visit IBGE Livestock Statistics.


Available Datasets

1. ppm_livestock_inventory

Total livestock herds disaggregated by animal species.

2. ppm_sheep_farming

Specialized data on sheep production and wool/fleece harvest.

3. ppm_animal_origin_production

Production of animal-based products (milk, eggs, honey, wool, etc.).

4. ppm_cow_farming

Detailed dairy cow farming data with milking and productivity metrics.

5. ppm_aquaculture

Aquaculture activities including fish, shrimp, and mollusk farming.


Function Parameters

1. dataset

Selects which livestock/animal production dataset to download.

dataset = "ppm_livestock_inventory"     # Animal populations by species
dataset = "ppm_sheep_farming"           # Sheep and wool production
dataset = "ppm_animal_origin_production"  # Milk, eggs, honey, wool
dataset = "ppm_cow_farming"             # Dairy cow productivity
dataset = "ppm_aquaculture"             # Fish and aquaculture production

2. raw_data

Controls whether to download original or processed data.

raw_data = FALSE  # logical

3. geo_level

Specifies geographic aggregation level.

geo_level = "state"  # character string

4. time_period

Specifies which year(s) to download.

time_period = 2020              # single year
time_period = c(2010, 2020)     # specific years
time_period = 2010:2020         # range of years

Note: All datasets available from 1974 onwards, though aquaculture more complete from 2000s.

5. language

Output language for variable names.

language = "eng"  # character string

Examples

Example 1: Livestock inventory by state

# download treated livestock inventory data at the state level for 2020
livestock <- load_ppm(
  dataset = "ppm_livestock_inventory",
  raw_data = FALSE,
  geo_level = "state",
  time_period = 2020,
  language = "eng"
)

Example 2: Dairy cow farming by state

# download treated dairy cow data at the state level for 2020
dairy <- load_ppm(
  dataset = "ppm_cow_farming",
  raw_data = FALSE,
  geo_level = "state",
  time_period = 2020,
  language = "eng"
)

Example 3: Animal origin production at the country level

# download treated animal origin production data at the country level for 2020
animal_products <- load_ppm(
  dataset = "ppm_animal_origin_production",
  raw_data = FALSE,
  geo_level = "country",
  time_period = 2020,
  language = "eng"
)

Example 4: Sheep farming by state

# download treated sheep farming data at the state level for 2020
sheep <- load_ppm(
  dataset = "ppm_sheep_farming",
  raw_data = FALSE,
  geo_level = "state",
  time_period = 2020,
  language = "eng"
)

Example 5: Aquaculture by state over time

# download treated aquaculture data at the state level for 2015 to 2020
aquaculture <- load_ppm(
  dataset = "ppm_aquaculture",
  raw_data = FALSE,
  geo_level = "state",
  time_period = 2015:2020,
  language = "eng"
)

Data Notes

Data Structure

Each record typically contains: - Geographic identifier (state or municipality) - Year - Animal species or product type - Quantity (number of animals or production volume) - Value (if applicable) - Number of establishments

Units of Measurement

Raw vs. Treated Data

Important Limitations

  1. Survey-based data: Subject to sampling and reporting error
  2. Informal operations: May undercount small or informal livestock operations
  3. Data lag: Published with delay; recent years may not be available
  4. Aquaculture newer: Aquaculture data less complete for very early years
  5. Methodology changes: Survey methods may evolve; can affect comparability