Checks for and removes rows in which the scenario data column has malformed or missing spatial information.

clean_scenario_data(df, column_name = "scenario_data_0")

Arguments

df

A data frame containing the scenario data column.

column_name

Name of the column to inspect (default is `"scenario_data_0"`).

Value

The data frame with problematic rows removed.

Examples

df <- clean_scenario_data(df)
#> Error in clean_scenario_data(df): Column scenario_data_0 not found in dataframe!