repair_header | R Documentation |
Fix column names to be like conventional relational database names
repair_header(x)
x |
names to convert |
Returns fixed names guaranteed to be unique
x <- c(
"DR_NO", "Quarter", "Date Rptd",
"DATE OCC", "TIME OCC", "AREA", "AREA NAME",
"Rpt Dist No", "Part 1-2", "Crm Cd", "Crm Cd Desc", "Mocodes",
"Vict Age", "Vict Sex", "Vict Descent", "Premis Cd", "Premis Desc",
"Weapon Used Cd", "Weapon Desc", "Status", "Status Desc", "Crm Cd 1",
"Crm Cd 2", "Crm Cd 3", "Crm Cd 4", "LOCATION|().,{}''", "Cross Street",
"LAT", "LON", "FXEXCHANGERATE...COM",
"Currency Symbols ", "_Currency Symbols - FX Exchange Rate",
"Home#", "Currency___Converter!",
"World__Countries", "Gold%", ' ', "Currency Codes(ISO)",
"100", "m$", "£", "€", "QUARTER")
repair_header(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.