{"id":15219,"date":"2026-04-06T13:58:37","date_gmt":"2026-04-06T12:58:37","guid":{"rendered":"https:\/\/emilkirkegaard.dk\/en\/?p=15219"},"modified":"2026-04-06T14:21:16","modified_gmt":"2026-04-06T13:21:16","slug":"who-is-gaining-danish-citizenship","status":"publish","type":"post","link":"https:\/\/emilkirkegaard.dk\/en\/2026\/04\/who-is-gaining-danish-citizenship\/","title":{"rendered":"Who is gaining Danish citizenship?"},"content":{"rendered":"<p><a href=\"https:\/\/www.thedanishparliament.dk\/democracy\/the-constitutional-act\">The Danish constitution says<\/a>:<\/p>\n<blockquote><p>\u00a744<br \/>\n(1) No alien shall be naturalized except by<br \/>\nstatute.<br \/>\n(2) The extent of the right of aliens to become<br \/>\nowners of real property shall be laid down by<br \/>\nstatute<\/p><\/blockquote>\n<p>So there are two ways to be a Danish citizen. You are either granted it by virtue of birth to a Danish citizen, or parliament specifically makes a law to grant it to you. Since all laws are public, everybody who has been &#8216;naturalized&#8217; this way has their name written in a law somewhere. This fact means that we can track all such conversions for the purpose of seeing who is &#8216;becoming Danish&#8217; in this legal sense. Using Claude, I scraped all these laws and built a database. It turns out that the information available about the people also changes by year:<\/p>\n<p><a href=\"https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/region_by_year.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-15220\" src=\"https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/region_by_year.png\" alt=\"\" width=\"1800\" height=\"900\" srcset=\"https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/region_by_year.png 1800w, https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/region_by_year-300x150.png 300w, https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/region_by_year-1024x512.png 1024w, https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/region_by_year-768x384.png 768w, https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/region_by_year-1536x768.png 1536w\" sizes=\"auto, (max-width: 1800px) 100vw, 1800px\" \/><\/a><\/p>\n<p>For the pre-2000 laws, the text stated their birth country. <a href=\"https:\/\/www.retsinformation.dk\/eli\/lta\/1995\/392\">Here&#8217;s a snippet from a 1995 law<\/a>:<\/p>\n<blockquote><p>1)\u00a0<i>Samir Toufik Abbas,<\/i>\u00a0K\u00f8benhavn, f\u00f8dt i Libanon.<\/p>\n<p>2)\u00a0<i>Abdel Haq Abdel Razzag Abbas-Al-Awsi,<\/i>\u00a0Frederiksberg, f\u00f8dt i Irak.<\/p>\n<p>3)\u00a0<i>Farah-Legha Abdalkhani,<\/i>\u00a0Odense, f\u00f8dt i Iran.<\/p><\/blockquote>\n<p>&#8220;f\u00f8dt i&#8221; = born in. For the 2000-2020 laws, no information is given, <a href=\"https:\/\/www.retsinformation.dk\/eli\/lta\/2010\/592\">2010 example<\/a>:<\/p>\n<blockquote>\n<p class=\"Liste1\"><span id=\"Par1_Stk1_Num1\" class=\"Liste1Nr\">1)<\/span>\u00a0<span class=\"Italic\">Manuelito Sy Abalos,\u00a0<\/span>Albertslund.<\/p>\n<p class=\"Liste1\"><span id=\"Par1_Stk1_Num2\" class=\"Liste1Nr\">2)<\/span>\u00a0<span class=\"Italic\">Gulalay Abbassi,\u00a0<\/span>\u00c5rhus.<\/p>\n<p class=\"Liste1\"><span id=\"Par1_Stk1_Num3\" class=\"Liste1Nr\">3)<\/span>\u00a0<span class=\"Italic\">Farrokh Abdolkarimi Koohbanani,\u00a0<\/span>Aalborg.<\/p>\n<\/blockquote>\n<p>Only their current residence commune is given. From 2021 to present, broader regions are given:<\/p>\n<blockquote>\n<p id=\"ide61dff59-77e0-467e-846a-d295ff20c80d\" class=\"Paragraf\"><span id=\"Par2\" class=\"ParagrafNr\">\u00a7 2.<\/span>\u00a0Indf\u00f8dsret meddeles til f\u00f8lgende personer, som er statsborgere i andre vestlige lande end lande i Norden:<\/p>\n<p class=\"Liste1\"><span id=\"id3ff44be8-4092-4fc2-898a-1e56c129b06e\" class=\"Liste1Nr\">2)<\/span>\u00a0<span class=\"Italic\">Maiken Ellen Baird,<\/span>\u00a0bosiddende i Amerikas Forenede Stater.<\/p>\n<p class=\"Liste1\"><span id=\"id389dd550-1386-4344-8292-3417db782337\" class=\"Liste1Nr\">3)<\/span>\u00a0<span class=\"Italic\">Bente Beckmann,<\/span>\u00a0bosiddende i Forbundsrepublikken Tyskland.<\/p>\n<p class=\"Liste1\"><span id=\"id41b6a3f1-7abe-4442-be55-27e14b027bf5\" class=\"Liste1Nr\">4)<\/span>\u00a0<span class=\"Italic\">Ian-Alexandru Aakmann Businschi,<\/span>\u00a0bosiddende i Silkeborg Kommune.<\/p>\n<\/blockquote>\n<p>But these concern now citizenship not birth country. As such, we have no data aside from names 2000-2020 and citizenship for 2021-present. In total, there are ~31k people with complete information which we can train on. There are laws before 2000 but they follow a different database format, are harder to get, and won&#8217;t have many people.<\/p>\n<p>Before going further, it is reasonable to look at the counts of names. First names:<\/p>\n<p><a href=\"https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/top_first_names.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-15224\" src=\"https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/top_first_names.png\" alt=\"\" width=\"1200\" height=\"1200\" srcset=\"https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/top_first_names.png 1200w, https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/top_first_names-300x300.png 300w, https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/top_first_names-1024x1024.png 1024w, https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/top_first_names-150x150.png 150w, https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/top_first_names-768x768.png 768w, https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/top_first_names-600x600.png 600w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/a><\/p>\n<p>There&#8217;s a variety of versions of Mohammad, and it is in fact the most common naturalized name. Merging the spelling variants:<\/p>\n<p><a href=\"https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/top_first_names_merged.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-15225\" src=\"https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/top_first_names_merged.png\" alt=\"\" width=\"1200\" height=\"1200\" srcset=\"https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/top_first_names_merged.png 1200w, https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/top_first_names_merged-300x300.png 300w, https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/top_first_names_merged-1024x1024.png 1024w, https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/top_first_names_merged-150x150.png 150w, https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/top_first_names_merged-768x768.png 768w, https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/top_first_names_merged-600x600.png 600w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/a><\/p>\n<p>The last names are less conspicuously foreign:<\/p>\n<p><a href=\"https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/top_last_names.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-15226\" src=\"https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/top_last_names.png\" alt=\"\" width=\"1200\" height=\"1200\" srcset=\"https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/top_last_names.png 1200w, https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/top_last_names-300x300.png 300w, https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/top_last_names-1024x1024.png 1024w, https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/top_last_names-150x150.png 150w, https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/top_last_names-768x768.png 768w, https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/top_last_names-600x600.png 600w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/a><\/p>\n<p>There are a lot of Danish ones, which presumably reflect foreign spouses taking a Danish name and eventually acquiring citizenship. The most common is the Vietnamese Nguyen.<\/p>\n<p>Using the names of people, we can attempt to infer their ethnicity for the years we have no birth country data. There are a variety of such name-to-ethnicity prediction models available. A commonly used one is <a href=\"https:\/\/github.com\/appeler\/ethnicolr\">ethnicolr<\/a>. It produces these results:<\/p>\n<p><a href=\"https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/ethnicity_by_year.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-15221\" src=\"https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/ethnicity_by_year.png\" alt=\"\" width=\"2100\" height=\"1050\" srcset=\"https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/ethnicity_by_year.png 2100w, https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/ethnicity_by_year-300x150.png 300w, https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/ethnicity_by_year-1024x512.png 1024w, https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/ethnicity_by_year-768x384.png 768w, https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/ethnicity_by_year-1536x768.png 1536w, https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/ethnicity_by_year-2048x1024.png 2048w\" sizes=\"auto, (max-width: 2100px) 100vw, 2100px\" \/><\/a><\/p>\n<p>There&#8217;s a surprising number of Nordic and British names. However, checking these we see that they are often wrong:<\/p>\n<ul>\n<li>Nicolette King &#8211; ethnicolr: British, actual: born in Denmark (likely Anglo parent)<\/li>\n<li>Seyd Ahmad Maasoumivishget &#8211; ethnicolr: British, actual: Iranian<\/li>\n<li>Jason Mikaeli &#8211; ethnicolr: British, actual: Iranian (Western first name, Iranian surname)<\/li>\n<li>Marie Noelle Tranemose &#8211; ethnicolr: British, actual: French<\/li>\n<li>Cathrine Falck &#8211; ethnicolr: British, actual: Norwegian<\/li>\n<\/ul>\n<p>Of particular concern is that this prediction model has no Turkish group, but Turks are the largest foreigner group in Denmark. Of course, for people with mixed origin names, we cannot determine for sure what ethnicity they belong to, but we can at least make a reasonable guess. So I decided to build my own prediction model using the pre-2000 names and origin countries. This gives us this result:<\/p>\n<p><a href=\"https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/origin_by_year.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-15222\" src=\"https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/origin_by_year.png\" alt=\"\" width=\"2100\" height=\"1050\" srcset=\"https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/origin_by_year.png 2100w, https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/origin_by_year-300x150.png 300w, https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/origin_by_year-1024x512.png 1024w, https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/origin_by_year-768x384.png 768w, https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/origin_by_year-1536x768.png 1536w, https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/origin_by_year-2048x1024.png 2048w\" sizes=\"auto, (max-width: 2100px) 100vw, 2100px\" \/><\/a><\/p>\n<p>There are too many small groups though, so if we simplify it to 10 broader groups:<\/p>\n<p><a href=\"https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/origin_simple_by_year.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-15223\" src=\"https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/origin_simple_by_year.png\" alt=\"\" width=\"1950\" height=\"900\" srcset=\"https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/origin_simple_by_year.png 1950w, https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/origin_simple_by_year-300x138.png 300w, https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/origin_simple_by_year-1024x473.png 1024w, https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/origin_simple_by_year-768x354.png 768w, https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/origin_simple_by_year-1536x709.png 1536w\" sizes=\"auto, (max-width: 1950px) 100vw, 1950px\" \/><\/a><\/p>\n<p>There are remaining issues. Ehiopia, for instance, as an origin group is mixed of Christian, Muslim, and African names, so they follow 3 different linguistic patterns, and the model obviously has issues with this. We don&#8217;t have enough of them to split them into these 3 groups. Similar issue for South Africa, which is mainly Anglo names with some Dutch (Afrikaans), and a few African ones. Nevertheless, it is an improvement. In terms of model accuracy:<\/p>\n<p><a href=\"https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/model_summary.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-15227\" src=\"https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/model_summary.png\" alt=\"\" width=\"1500\" height=\"345\" srcset=\"https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/model_summary.png 1500w, https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/model_summary-300x69.png 300w, https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/model_summary-1024x236.png 1024w, https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/model_summary-768x177.png 768w\" sizes=\"auto, (max-width: 1500px) 100vw, 1500px\" \/><\/a><\/p>\n<p>Accuracy tells you whether the model predicted most likely origin was the same as the one the data says (origin). AUC is the better metric in general, and it was extremely high. AUC measures how far part the probability distributions are for true cases and true negatives (in 2-way comparison) and the one above is a multi-class generation of this idea. We can understand that when we look at the predicted probabilities:<\/p>\n<p><a href=\"https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/confidence_auc_21group.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-15228\" src=\"https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/confidence_auc_21group.png\" alt=\"\" width=\"2400\" height=\"1800\" srcset=\"https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/confidence_auc_21group.png 2400w, https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/confidence_auc_21group-300x225.png 300w, https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/confidence_auc_21group-1024x768.png 1024w, https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/confidence_auc_21group-768x576.png 768w, https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/confidence_auc_21group-1536x1152.png 1536w, https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/confidence_auc_21group-2048x1536.png 2048w\" sizes=\"auto, (max-width: 2400px) 100vw, 2400px\" \/><\/a><\/p>\n<p>The larger groups have very distinctive probability distributions. Almost all the Vietnamese names are assigned with high probabilities and the non-Vietnamese names are not assigned high probabilities often. For smaller groups, it doesn&#8217;t work out so well. Latin American names are Spanish, so they get confused with the south European Spanish ones. Better is to look at the 10-group version:<\/p>\n<p><a href=\"https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/confidence_auc_10group.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-15229\" src=\"https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/confidence_auc_10group.png\" alt=\"\" width=\"2100\" height=\"1200\" srcset=\"https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/confidence_auc_10group.png 2100w, https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/confidence_auc_10group-300x171.png 300w, https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/confidence_auc_10group-1024x585.png 1024w, https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/confidence_auc_10group-768x439.png 768w, https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/confidence_auc_10group-1536x878.png 1536w, https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/confidence_auc_10group-2048x1170.png 2048w\" sizes=\"auto, (max-width: 2100px) 100vw, 2100px\" \/><\/a><\/p>\n<p>Most of them are now looking good, but some are not. Sub-Saharan African names can be Christian or Muslim and thus get confused with the European or MENAP clusters. The confusion matrix shows this:<\/p>\n<p><a href=\"https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/confusion_matrix_10group.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-15230\" src=\"https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/confusion_matrix_10group.png\" alt=\"\" width=\"1500\" height=\"1200\" srcset=\"https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/confusion_matrix_10group.png 1500w, https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/confusion_matrix_10group-300x240.png 300w, https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/confusion_matrix_10group-1024x819.png 1024w, https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/confusion_matrix_10group-768x614.png 768w\" sizes=\"auto, (max-width: 1500px) 100vw, 1500px\" \/><\/a><\/p>\n<p>They are row-normalized (percentage), so you start with a row and read the values to see how each &#8216;true&#8217; origin (birth country) is classified according to the model. For the main Muslim group MENAP, 98% are classified that way. For SS African, 34% are classified as MENAP due to Muslim names. The various European groups can&#8217;t get pulled apart cleanly, e.g. 16% of Romance origin names are classified into Germanic, presumably due to shared cultural origins, and the usual Frankish-Germanic mixture in France. Note that while some East Asian names are very distinctive, say, Japanese, there are only 34 Japan-born people in this dataset:<\/p>\n<ul>\n<li>Kenichi Nakashima<\/li>\n<li>Toshio Aoyagi<\/li>\n<li>Miyako Jensen<\/li>\n<li>Atsuko Kj\u00e6r<\/li>\n<li>Taeko M\u00f8ller<\/li>\n<\/ul>\n<p>And only some of them have full Japanese names, the others took Danish last names from spouses, confusing the model.<\/p>\n<p>Autistic model details aside, this is the final best guess distribution of the people naturalizing in Denmark:<\/p>\n<p><a href=\"https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/origin_simple_pooled.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-15231\" src=\"https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/origin_simple_pooled.png\" alt=\"\" width=\"1500\" height=\"750\" srcset=\"https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/origin_simple_pooled.png 1500w, https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/origin_simple_pooled-300x150.png 300w, https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/origin_simple_pooled-1024x512.png 1024w, https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/origin_simple_pooled-768x384.png 768w\" sizes=\"auto, (max-width: 1500px) 100vw, 1500px\" \/><\/a><\/p>\n<p>About half of them are Muslims (MENAP + Turkey), and the rest are a scattering mix of others. The most surprising is the number of East Europeans. There are 1600+ Poles alone. I guess this is the Danish version of the Poles in the UK pattern.<\/p>\n<p>One could take this project further using other countries. Norway and Sweden don&#8217;t appear to do this by law, but France does. Applying our 10-cluster model to France and Denmark for comparison:<\/p>\n<p><a href=\"https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/france_vs_denmark_2025.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-15235\" src=\"https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/france_vs_denmark_2025.png\" alt=\"\" width=\"1500\" height=\"900\" srcset=\"https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/france_vs_denmark_2025.png 1500w, https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/france_vs_denmark_2025-300x180.png 300w, https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/france_vs_denmark_2025-1024x614.png 1024w, https:\/\/emilkirkegaard.dk\/en\/wp-content\/uploads\/france_vs_denmark_2025-768x461.png 768w\" sizes=\"auto, (max-width: 1500px) 100vw, 1500px\" \/><\/a><\/p>\n<p>France is getting more Muslims than Denmark in % terms. I only used <a href=\"https:\/\/www.legifrance.gouv.fr\/jorf\/id\/JORFTEXT000051690470\">one law from June 2025<\/a> because they are in PDF format and behind anti-scraping measures, so getting all the files may be a hassle. If some French person can get these for me, I can apply the prediction model.<\/p>\n<p>Anyway, that&#8217;s it for now. <a href=\"https:\/\/rpubs.com\/EmilOWK\/Danish_naturalization\">R notebook is here<\/a>. <a href=\"https:\/\/github.com\/Deleetdk\/Danish_citizenship_grants\">Code is here<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Danish constitution says: \u00a744 (1) No alien shall be naturalized except by statute. (2) The extent of the right of aliens to become owners of real property shall be laid down by statute So there are two ways to be a Danish citizen. You are either granted it by virtue of birth to a [&hellip;]<\/p>\n","protected":false},"author":17,"featured_media":15223,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3636,2468],"tags":[3850,2698,2744,2176,3851,3849],"class_list":["post-15219","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-demographics","category-immigration","tag-citizenship","tag-country-of-origin","tag-machine-learning","tag-names","tag-naturalization","tag-origin","entry","has-media"],"_links":{"self":[{"href":"https:\/\/emilkirkegaard.dk\/en\/wp-json\/wp\/v2\/posts\/15219","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/emilkirkegaard.dk\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/emilkirkegaard.dk\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/emilkirkegaard.dk\/en\/wp-json\/wp\/v2\/users\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/emilkirkegaard.dk\/en\/wp-json\/wp\/v2\/comments?post=15219"}],"version-history":[{"count":4,"href":"https:\/\/emilkirkegaard.dk\/en\/wp-json\/wp\/v2\/posts\/15219\/revisions"}],"predecessor-version":[{"id":15236,"href":"https:\/\/emilkirkegaard.dk\/en\/wp-json\/wp\/v2\/posts\/15219\/revisions\/15236"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/emilkirkegaard.dk\/en\/wp-json\/wp\/v2\/media\/15223"}],"wp:attachment":[{"href":"https:\/\/emilkirkegaard.dk\/en\/wp-json\/wp\/v2\/media?parent=15219"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/emilkirkegaard.dk\/en\/wp-json\/wp\/v2\/categories?post=15219"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/emilkirkegaard.dk\/en\/wp-json\/wp\/v2\/tags?post=15219"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}