library(rgdal)
writeOGR(pm10sel, "PG:dbname=user", "pm10", driver = "PostgreSQL")
writeOGR(co2sp, "PG:dbname=user", "co2", driver = "PostgreSQL")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.