Read the file using the appropriate method based on the file extension and filter the data such that data are not duplicated. For example, Canadian data are in the cumulative file but a better version was provided by Chris Grandin in 2022 as a csv file.

weight_at_age_read(file)

Arguments

file

The file path, full or relative, to the .csv file you are importing. The file should have the following seven columns: Source, Weight_kg, Sex, Age_yrs, Length_cm, Month, and Year.

Value

A data frame of weight-at-age information. The data frame includes the following columns:

  1. Source

  2. Weight_kg

  3. Sex

  4. Age_yrs

  5. Length_cm

  6. Month

  7. Year

  8. OutlierL

.

See also

Other weight-at-age: weight_at_age_outlier()

Author

Ian G. Taylor