clean_fish: Cleans FAO's Fishery and Aquaculture Production Data

Description Usage Arguments Value Examples

View source: R/clean_fish.R

Description

clean_fish takes FAO's Global Fishery and Aquaculture Production data downloaded from FishStatJ, cleans the time series data and makes it "tidy" (i.e., long format).

Usage

1
clean_fish(path_to_file)

Arguments

path_to_file

File path to FAO data

dataset

FAO dataset

Value

A cleaned, tidy dataset.

Examples

1
2
clean_fish("~/OneDrive - american.edu/FAO Global capture production-QUANTITY.csv")
clean_fish("C:\\Users\\kdgor\\OneDrive - american.edu\\FAO Global capture production-QUANTITY.csv")

kdgorospe/fishstatr documentation built on May 22, 2020, 12:08 a.m.