otld.append.append_2010_2014.get_tanf_df¶
- otld.append.append_2010_2014.get_tanf_df(tanf_path: str | PathLike, sheets: list[str], year: int, column_dict: dict, level: str) DataFrame ¶
Get data from TANF Financial files
- Args:
tanf_path (str | os.PathLike): Path to TANF file. sheets (list[str]): List of sheets to extract. year (int): The year associated with the Excel workbook. column_dict (dict): A dictionary mapping line numbers to field names. level (str): Level of data: “State” or “Federal”.
- Returns:
pd.DataFrame: Appended workbooks as data frames.