validate_format | R Documentation |
Validate file format
validate_format(df, req_cols = c("address", "id"), opt_cols = c("lat", "lng"))
df |
a dataframe consisting of permitted columns, either required and optional. |
req_cols |
required columns |
opt_cols |
optional columns |
df
tdf <- data.frame( id = "123", address = "1600 Pennsylvania Avenue NW, Washington, DC 20500" ) validate_format(tdf)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.