import_lynx_1942: Annual Canadian Lynx Trappings 1821-1939

Description Usage Examples

Description

This function crates the lynx_1942 data by importing the observations from a local CSV file and returning them as as uts_vector object. It is not meant to be called directly, but provided for reproducability.

Usage

1

Examples

1
2
3
4
5
6
7
8
9
# Show the raw data
file.show(system.file(file.path("exdata", "lynx_1942.csv"), package="utsData"))

# Import and save the data
lynx_1942 <- import_lynx_1942()
## Not run: 
  save(lynx_1942, file=file.path("data", "lynx_1942.rda"), compress="xz")

## End(Not run)

andreas50/utsData documentation built on May 13, 2019, 12:52 p.m.