prepare_core_housing_needs_tables {OHCSpackage}R Documentation

Combine CHN tables

Description

This function reads in a table of data on core housing needs by municipality and creates a combined table that separates out each variable in the data into its own column. The resulting table is exported as a CSV file if write_output is TRUE.

Usage

prepare_core_housing_needs_tables(
  input_path,
  output_path = NULL,
  write_output = TRUE
)

Arguments

input_path

Path to the input CSV file.

output_path

Path to save the output CSV file. If NULL, the file will be saved in the same directory as the input file with the name "combined_table.csv".

write_output

Logical. Should the combined table be written to a file? Default is TRUE.

Value

A data frame containing the combined data.


[Package OHCSpackage version 0.1.5 Index]