Learn R Programming

BIS (version 0.4)

read_bis: Read a BIS data set from a local file

Description

Read a BIS data set from a local file

Usage

read_bis(file_path)

Value

A tibble data frame.

Arguments

file_path

Character. Path to the CSV file to be read (usually obtained via manual download from the BIS homepage).

Examples

Run this code
if (FALSE) {
# Example 1: Read a locally stored CSV
df <- read_bis("WS_CBPOL_csv_flat.csv")

# Example 2: Read a locally stored ZIP
df <- read_bis(.unzip_file("WS_CBPOL_csv_flat.zip"))
}

Run the code above in your browser using DataLab