read_migration: Read a migration structure in a text file.

View source: R/read_migration.R

read_migrationR Documentation

Read a migration structure in a text file.

Description

Read a migration structure in a text file.

Usage

read_migration(file_name)

Arguments

file_name

A file name.

Value

A migration structure or NULL if file does not exist.

Examples

migr <- generate_toy_migration()
write_migration( migr, "toy_migration.txt")
read_migration("toy_migration.txt")
unlink("toy_migration.txt") # delete the file to pass package check

FlywayNet documentation built on March 18, 2022, 7:21 p.m.