Create variable specific spatial heatmaps to show data availability and data summary over the geographical study area.

space_plot(space_cols = space_cols, df, var)

Arguments

space_cols

A character vector whose two elements are named "lat_col" and "lon_col". Outpur from space_detective

var

Name of variable to make data availability and summary. Remember to enclose in quotes.

Value

For all variables, function returns a data availability plot over the study area. For categorical column types, function returns an extra plot showing most prevalent level of that variable in each spatial grid cell over the study area. For numeric column types, function returns an extra plot showing mean of that variable in each spatial grid cell over the study area. Lat and lon are binned; there are 50 bins normalized to attempt to enforce equal scales along each dimension.