Converts a parliament.uk Hansard URL into a TheyWorkForYou one, if possible.
convertURL(url)
url | url you want to convert |
---|
A one row data.frame with columns gid
and url
.
# NOT RUN { site <- "http://www.publications.parliament.uk" page <- "/pa/cm201212/cmhansrd/cm120418/debtext/120418-0001.htm" in_page <- "#12041847002086" address <- paste0(site, page, in_page) res <- convertURL(address) names(res) # gid, url # }