This is a quick and dirty introduction to the CVR API.
You can only install the development version from github, using Hadley Wickham's devtools package:
if(!require("devtools")) install.packages("devtools") library("devtools") install_github("rOpenGov/dkstat")
library(cvrapi)
This is how you use the search function. The result is a list with a nested data.frame in 'productionunits'.
cvr_get(search = "RK Foto ApS", country = "dk")
You can also search directly in the names of companies.
cvr_get(search = "RK Foto ApS", country = "dk", search_in = "name")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.