Learn R Programming

ibawds (version 1.0.0)

get_reading_exercise_files: Get Files for File Reading Exercise

Description

Copy the files for an exercise for reading files to a directory.

Usage

get_reading_exercise_files(path, unzip = TRUE)

Value

Logical indicating the success of the copy operation.

Arguments

path

path where the files should be copied to.

unzip

logical indicating whether the files should be unzipped. Set this to FALSE if unzipping fails.

Details

There are 8 files in total. Apart from a few errors that were introduced for the purpose of the exercise, they all contain the same data: information about 100 randomly selected Swiss municipalities. The full file can be downloaded from https://www.bfs.admin.ch/bfsstatic/dam/assets/7786544/master.