Nothing
filter.site<-function(data,site)
{
if(!is.data.frame(data))
stop("Invalid input parameter specification: check data")
if(!is.character(site) || !grepl("^[a-zA-Z]+$",gsub(" ", "", site)))
stop("Invalid input parameter specification: check site format")
if(!("City"%in%names(data)))
stop("Error: data does not contain column named City")
if(!any(grepl(site,as.character(data$City))))
stop("No data for selected site")
data[substr(as.character(data$City),start=1,stop=nchar(site))==site,]
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.