Question: What is the title of the representative appointed by James K. Polk?
SQL: SELECT title FROM table_name_52 WHERE appointed_by = "james k. polk"