Skip to content
Snippets Groups Projects
Commit ac8ae9c3 authored by Azadpour, Elmera's avatar Azadpour, Elmera
Browse files

update fxn parameters on new lines and up raster map cols to be darker per Cee's suggt

parent 36db3660
No related branches found
No related tags found
1 merge request!90Add raster maps
...@@ -116,24 +116,40 @@ p3_targets <- list( ...@@ -116,24 +116,40 @@ p3_targets <- list(
format = "file" format = "file"
), ),
# population density raster plot # population density raster plot
tar_target( tar_target(
p3_pop_density_plot, p3_pop_density_plot,
plot_raster(in_raster = p2_pop_density_processed, conus_sf = p2_conus_sf_proj, viz_config_df = p0_viz_config_df, plot_raster(in_raster = p2_pop_density_processed,
conus_inner = p2_conus_inner, viz_config_pal = p0_viz_config_pal$living_conditions, conus_sf = p2_conus_sf_proj,
width = p0_viz_config_df$width_desktop, height = p0_viz_config_df$height_desktop, viz_config_df = p0_viz_config_df,
font_size = p0_viz_config_df$font_size_desktop, barwidth = 20, barheight = 1, counties_sf = p2_conus_counties_sf, conus_inner = p2_conus_inner,
outfile_path = "3_visualize/out/pop_density_rast_2020_en.png", low_ramp_col = "#E8F4F4"), viz_config_pal = "#38837a",
width = p0_viz_config_df$width_desktop,
height = p0_viz_config_df$height_desktop,
font_size = p0_viz_config_df$font_size_desktop,
barwidth = 20,
barheight = 1,
counties_sf = p2_conus_counties_sf,
outfile_path = "3_visualize/out/pop_density_rast_2020_en.png",
low_ramp_col = "#E8F4F4"),
format = "file"), format = "file"),
# impervious surfaces raster plot # impervious surfaces raster plot
tar_target( tar_target(
p3_imp_surf_plot, p3_imp_surf_plot,
plot_imp_surf_raster(in_raster = p2_imp_surf_processed, conus_sf = p2_conus_sf_proj, viz_config_df = p0_viz_config_df, plot_imp_surf_raster(in_raster = p2_imp_surf_processed,
conus_col = "gray90", conus_inner = p2_conus_inner, viz_config_pal = p0_viz_config_pal$living_conditions, conus_sf = p2_conus_sf_proj,
width = p0_viz_config_df$width_desktop, height = p0_viz_config_df$height_desktop, viz_config_df = p0_viz_config_df,
font_size = p0_viz_config_df$font_size_desktop, barwidth = 20, barheight = 1, conus_col = "gray90",
outfile_path = "3_visualize/out/imp_surface_rast_2022_en.png", counties_sf = p2_conus_counties_sf, conus_inner = p2_conus_inner,
low_ramp_col = "white") viz_config_pal = "#38837a",
), width = p0_viz_config_df$width_desktop,
height = p0_viz_config_df$height_desktop,
font_size = p0_viz_config_df$font_size_desktop,
barwidth = 20,
barheight = 1,
outfile_path = "3_visualize/out/imp_surface_rast_2022_en.png",
counties_sf = p2_conus_counties_sf,
low_ramp_col = "white"),
format = "file"),
# Spanish version's of maps ----------------------------------------------- # Spanish version's of maps -----------------------------------------------
tar_target( tar_target(
p3_med_income_png_es, p3_med_income_png_es,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment