Generate variable-level plots.

static_report_variable(entity_df, varname, space_cols = space_cols)

Arguments

entity_df

(data.frame) A data.frame containing entity-level data. The "data" child element of an entity-level list object in metajam output format.

varname

(character) Name of variable of interest.

space_cols

(character vector) Output from space_detective. Where data has explicit spatial columns, a two-element character vector indicating column names containing longitudes and latitudes. Otherwise, spatial plots will not be generated.

Value

A list object containing variable name and relevant plots.