download_image_url: download image of the image column

Description Usage Arguments Value

View source: R/write.R

Description

download image of the image column

Usage

1
2
3
download_image_url(df, df_image_title_col_name, df_image_url_col_name,
  lsp_label = "LSP", image_file_extension = ".JPG",
  image_path = "~/images")

Arguments

df

a tbl or dataframe

df_image_title_col_name

the colname of the image title (usually the sku)

df_image_url_col_name

the colname of image url column

lsp_label

the common label of lsp (linshi product); There is no image for lsp

image_file_extension

the file extension of the image

image_path

where the image locates; default to ~/images

Value

df


shizidushu/hfun documentation built on Aug. 27, 2018, 8 a.m.