{"id":446060,"date":"2019-12-28T11:38:14","date_gmt":"2019-12-28T06:08:14","guid":{"rendered":"https:\/\/techvidvan.com\/tutorials\/?p=74810"},"modified":"2019-12-28T11:38:14","modified_gmt":"2019-12-28T06:08:14","slug":"r-data-types-2","status":"publish","type":"post","link":"https:\/\/techvidvan.com\/tutorials\/r-data-types-2\/","title":{"rendered":"R Data Types &#8211; Elementary variables used in R calculations"},"content":{"rendered":"<p><strong><span data-preserver-spaces=\"true\">Finally, the time has come to get our hands dirty and explore the basics of the R programming language.<\/span><\/strong><\/p>\n<p>Variables are the key building blocks in any programming language. As you may have noticed, these variables always have a type. This type shows what kind of data stored in the variable.<\/p>\n<p>Every language has certain data types it can handle. In this tutorial, we will learn about the various R data types. Let\u2019s jump right into it!<\/p>\n<h2>What are the Data Types in R?<\/h2>\n<p>There are fundamentally five data types in R. Though straight forward and obvious at first glance, they have a few surprises hidden in them. These elementary data types are:<\/p>\n<ol>\n<li>Numeric<\/li>\n<li>Integer<\/li>\n<li>Complex<\/li>\n<li>Character<\/li>\n<li>Logical<\/li>\n<\/ol>\n<p>These data types are often combined to form data structures. Let us explore the meaning of each data type in detail.<\/p>\n<p>But before reading further it is recommended to<em><strong> <a href=\"https:\/\/techvidvan.com\/tutorials\/install-r\/\">install R &amp; RStudio<\/a> <\/strong><\/em>on your system by following our step by step article for R installation.<\/p>\n<h3>1. Numeric Data Type<\/h3>\n<p>Numeric data consists of <strong>decimal<\/strong> <strong>values<\/strong>.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">&gt; num &lt;- 12.5 #assigns a value of 12.5 to the variable num\n&gt; num #shows the value of the variable num<\/pre>\n<p><strong>Output<\/strong>:<\/p>\n<div class=\"code-output\">[1] 12.5<\/div>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2019\/12\/data-types-numeric-num-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-74875 size-full\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2019\/12\/data-types-numeric-num-1.png\" alt=\"data types numeric num - R data types \" width=\"1299\" height=\"741\" \/><\/a><\/p>\n<p>The value doesn\u2019t have to be decimal for the variable to be numeric. For example, the following code will result in a numeric value as well.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">&gt; num2 &lt;- 5 #assigns a value of 5 to the variable num2\n&gt; num2\n&gt; class(num2) #shows the class or type of the variable num2<\/pre>\n<p><strong>Output:<\/strong><\/p>\n<div class=\"code-output\">[1] 5<br \/>\n[1] &#8220;numeric&#8221;<\/div>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2019\/12\/data-types-numeric-num2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-74928\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2019\/12\/data-types-numeric-num2.png\" alt=\"numeric - data types \" width=\"1299\" height=\"741\" \/><\/a><\/p>\n<p>The numeric data type works by default. If you assign a number to any variable it has a type of numeric unless specified otherwise.<\/p>\n<p><strong>Note<\/strong>: the numeric class is a collection of multiple classes. The most common of these are \u201cdouble (for double-precision floating-point numbers)\u201d and \u201cintegers\u201d.<\/p>\n<h3>2. Integer data type<\/h3>\n<p>In R, there are two ways to create an integer variable. The first is to invoke the <strong>as.integer()<\/strong> function.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">&gt; int &lt;- as.integer(3) #makes int an integer with value 3\n&gt; int\n&gt; class(int)<\/pre>\n<p><strong>Output:<\/strong><\/p>\n<div class=\"code-output\">[1] 3<br \/>\n[1] &#8220;integer&#8221;<\/div>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2019\/12\/data-types-integers-int-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-74898 size-full\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2019\/12\/data-types-integers-int-1.png\" alt=\"data types integers in R\" width=\"1299\" height=\"741\" \/><\/a><\/p>\n<p>Another method of creating an integer variable is to use \u2018the capital <strong>L<\/strong>\u2019.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">&gt; int2 &lt;- 5L #makes int2 an integer with value 5\n&gt; int2\n&gt; class(int2)<\/pre>\n<p><strong>Output:<\/strong><\/p>\n<div class=\"code-output\">[1] 5<br \/>\n[1] &#8220;integer&#8221;<\/div>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2019\/12\/data-types-integers-int2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-74921\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2019\/12\/data-types-integers-int2.png\" alt=\"data types - integers \" width=\"1299\" height=\"741\" \/><\/a><\/p>\n<p><strong>Note<\/strong>: In R, numeric is the default type for numbers. It stores all numbers as floating-point numbers (numbers with decimals). This is because most statistical calculations deal with numbers with up to two decimals.<\/p>\n<p>It is easier to store numbers with decimals than to convert integers into numeric whenever they are needed for calculations.<\/p>\n<p>R handles the conversion behind-the-scenes by storing them all as numerics. We recommend using the integer data type only when you know that you will not have to convert the variable. For eg: ID values or indexing.<\/p>\n<h3>3. Complex data type<\/h3>\n<p>The complex data type in R is for complex numbers or numbers with imaginary values.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">&gt; comp &lt;- 12 + 3i #makes comp a complex type with value 12+3i\n&gt; comp\n&gt; class(comp)<\/pre>\n<p><strong>Output<\/strong>:<\/p>\n<div class=\"code-output\">[1] 12+3i<br \/>\n[1] &#8220;complex&#8221;<\/div>\n<h3><\/h3>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2019\/12\/data-types-complex-comp.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-74922\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2019\/12\/data-types-complex-comp.png\" alt=\"data types - complex comp\" width=\"1299\" height=\"741\" \/><\/a><\/p>\n<p><strong>Note<\/strong>: In R, \u2018<strong>i<\/strong>\u2019 signifies an imaginary number only when suffixed to a number. \u2018i\u2019 on its own can be a variable of any kind.<\/p>\n<p>For eg: 5i is an imaginary number while \u2018i\u2019 alone can be a variable.<\/p>\n<h3>4. Character data type<\/h3>\n<p>The character data type is used to store strings in R. A character variable can be created in two ways in <a href=\"https:\/\/www.r-project.org\/\">R<\/a>.<\/p>\n<p>The first is to invoke the <strong>as.character()<\/strong> function.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">&gt; char &lt;- as.character(\"techvidvan\") #makes a character variable char with value \"techvidvan\"\n&gt; char\n&gt; class(char)<\/pre>\n<p><strong>Output:<\/strong><\/p>\n<div class=\"code-output\">[1] &#8220;techvidvan&#8221;<br \/>\n[1] &#8220;character&#8221;<\/div>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2019\/12\/data-types-characters-char-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-74901 size-full\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2019\/12\/data-types-characters-char-1.png\" alt=\"characters - R data types \" width=\"1299\" height=\"741\" \/><\/a><\/p>\n<p>Another way to create a character variable is by using <strong>inverted<\/strong> <strong>commas<\/strong>.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">&gt; char2 &lt;- \"something\" #makes a character variable char with value \"something\"\n&gt; char2\n&gt; class(char2)<\/pre>\n<p><strong>Output<\/strong>:<\/p>\n<div class=\"code-output\">[1] &#8220;something&#8221;<br \/>\n[1] &#8220;character&#8221;<\/div>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2019\/12\/data-types-characters-char2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-74882 size-full\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2019\/12\/data-types-characters-char2.png\" alt=\"R data types characters \" width=\"1299\" height=\"741\" \/><\/a><\/p>\n<p><strong>Note<\/strong>: Within the inverted commas, everything is a character. Thus, a variable assigned a value of \u201c3.14\u201d will be of character type.<\/p>\n<h3>5. Logical data type<\/h3>\n<p>A logical variable can have two values either <strong>TRUE<\/strong> or <strong>FALSE<\/strong>. Logical are generally created when there is a comparison between variables.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">&gt; a &lt;- 5\n&gt; b &lt;- 6\n&gt; log &lt;- a &lt; b #assigns TRUE to k if a &lt; b else FALSE\n&gt; log\n&gt; class(log)<\/pre>\n<p><strong>Output<\/strong>:<\/p>\n<div class=\"code-output\">[1] TRUE<br \/>\n[1] &#8220;logical&#8221;<\/div>\n<div><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2019\/12\/data-types-logical.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-74883 size-full\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2019\/12\/data-types-logical.png\" alt=\"logical - R data types \" width=\"1299\" height=\"741\" \/><\/a><\/div>\n<p><strong>Note<\/strong>: The as.numeric() function can convert logical variables into numerics. They take the value of <strong>0 for FALSE<\/strong> and <strong>1 for TRUE<\/strong>. Conversely, the as.logical() function can convert numeric values into logical, giving the value FALSE for 0 and TRUE for anything else.<\/p>\n<h2>Data structures in R<\/h2>\n<p>R operates with named data structures. These data structures store data in an organized manner. This makes data manipulation and other data operations more efficient. There are many data structures in R like vectors, matrices, data frames, lists, etc. These data structures contain elements that may be values of one of the basic data types or other data structures.<\/p>\n<h2>Summary<\/h2>\n<p>In this tutorial, we explored the elementary data types in R. These types are numerics, integers, complex, logical, and characters. We also learned about their weird quirks, the differences between them and about what are their uses.<\/p>\n<p>If you are a newbie to R programming don&#8217;t skip many more <a href=\"https:\/\/techvidvan.com\/tutorials\/r-features\/\"><em><strong>R features<\/strong><\/em><\/a> and take full advantage of R programming.<\/p>\n<p>And if you like the R Data Types article, do <strong>rate us<\/strong> on Google and share your feedback in the <strong>comment<\/strong> section.<\/p>\n<p>Keep learning!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Finally, the time has come to get our hands dirty and explore the basics of the R programming language. Variables are the key building blocks in any programming language. As you may have noticed,&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":75040,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1020],"tags":[1214,1216,1217,1219,1221,1223],"class_list":["post-446060","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-r","tag-atomic-data-types-in-r","tag-check-data-type-in-r","tag-data-types-in-r","tag-data-types-in-r-programming","tag-r-boolean","tag-r-data-types"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>R Data Types - Elementary variables used in R calculations - TechVidvan<\/title>\n<meta name=\"description\" content=\"Explore primary data types in R that are frequently used for R calculations. R supports five types of variables like numeric, integer, complex, etc..\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/techvidvan.com\/tutorials\/r-data-types-2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"R Data Types - Elementary variables used in R calculations - TechVidvan\" \/>\n<meta property=\"og:description\" content=\"Explore primary data types in R that are frequently used for R calculations. R supports five types of variables like numeric, integer, complex, etc..\" \/>\n<meta property=\"og:url\" content=\"https:\/\/techvidvan.com\/tutorials\/r-data-types-2\/\" \/>\n<meta property=\"og:site_name\" content=\"TechVidvan\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/TechVidvan\/\" \/>\n<meta property=\"article:published_time\" content=\"2019-12-28T06:08:14+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2019\/12\/data-types-in-R-4-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"802\" \/>\n\t<meta property=\"og:image:height\" content=\"420\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"TechVidvan Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@vidvantech\" \/>\n<meta name=\"twitter:site\" content=\"@vidvantech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"TechVidvan Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"R Data Types - Elementary variables used in R calculations - TechVidvan","description":"Explore primary data types in R that are frequently used for R calculations. R supports five types of variables like numeric, integer, complex, etc..","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/techvidvan.com\/tutorials\/r-data-types-2\/","og_locale":"en_US","og_type":"article","og_title":"R Data Types - Elementary variables used in R calculations - TechVidvan","og_description":"Explore primary data types in R that are frequently used for R calculations. R supports five types of variables like numeric, integer, complex, etc..","og_url":"https:\/\/techvidvan.com\/tutorials\/r-data-types-2\/","og_site_name":"TechVidvan","article_publisher":"https:\/\/www.facebook.com\/TechVidvan\/","article_published_time":"2019-12-28T06:08:14+00:00","og_image":[{"width":802,"height":420,"url":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2019\/12\/data-types-in-R-4-1.jpg","type":"image\/jpeg"}],"author":"TechVidvan Team","twitter_card":"summary_large_image","twitter_creator":"@vidvantech","twitter_site":"@vidvantech","twitter_misc":{"Written by":"TechVidvan Team","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/techvidvan.com\/tutorials\/r-data-types-2\/#article","isPartOf":{"@id":"https:\/\/techvidvan.com\/tutorials\/r-data-types-2\/"},"author":{"name":"TechVidvan Team","@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/person\/e9c26e74dd3d87421f7ada9433b8cd22"},"headline":"R Data Types &#8211; Elementary variables used in R calculations","datePublished":"2019-12-28T06:08:14+00:00","mainEntityOfPage":{"@id":"https:\/\/techvidvan.com\/tutorials\/r-data-types-2\/"},"wordCount":744,"commentCount":0,"publisher":{"@id":"https:\/\/techvidvan.com\/tutorials\/#organization"},"image":{"@id":"https:\/\/techvidvan.com\/tutorials\/r-data-types-2\/#primaryimage"},"thumbnailUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2019\/12\/data-types-in-R-4-1.jpg","keywords":["atomic data types in r","check data type in r","Data types in R","data types in r programming","r boolean","R Data Types"],"articleSection":["R Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/techvidvan.com\/tutorials\/r-data-types-2\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/techvidvan.com\/tutorials\/r-data-types-2\/","url":"https:\/\/techvidvan.com\/tutorials\/r-data-types-2\/","name":"R Data Types - Elementary variables used in R calculations - TechVidvan","isPartOf":{"@id":"https:\/\/techvidvan.com\/tutorials\/#website"},"primaryImageOfPage":{"@id":"https:\/\/techvidvan.com\/tutorials\/r-data-types-2\/#primaryimage"},"image":{"@id":"https:\/\/techvidvan.com\/tutorials\/r-data-types-2\/#primaryimage"},"thumbnailUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2019\/12\/data-types-in-R-4-1.jpg","datePublished":"2019-12-28T06:08:14+00:00","description":"Explore primary data types in R that are frequently used for R calculations. R supports five types of variables like numeric, integer, complex, etc..","breadcrumb":{"@id":"https:\/\/techvidvan.com\/tutorials\/r-data-types-2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/techvidvan.com\/tutorials\/r-data-types-2\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/techvidvan.com\/tutorials\/r-data-types-2\/#primaryimage","url":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2019\/12\/data-types-in-R-4-1.jpg","contentUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2019\/12\/data-types-in-R-4-1.jpg","width":802,"height":420,"caption":"R data types"},{"@type":"BreadcrumbList","@id":"https:\/\/techvidvan.com\/tutorials\/r-data-types-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/techvidvan.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"R Data Types &#8211; Elementary variables used in R calculations"}]},{"@type":"WebSite","@id":"https:\/\/techvidvan.com\/tutorials\/#website","url":"https:\/\/techvidvan.com\/tutorials\/","name":"TechVidvan Blogs","description":"","publisher":{"@id":"https:\/\/techvidvan.com\/tutorials\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/techvidvan.com\/tutorials\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/techvidvan.com\/tutorials\/#organization","name":"TechVidvan","url":"https:\/\/techvidvan.com\/tutorials\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/logo\/image\/","url":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2024\/03\/techvidvan-logo-200x50-1.webp","contentUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2024\/03\/techvidvan-logo-200x50-1.webp","width":200,"height":50,"caption":"TechVidvan"},"image":{"@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/TechVidvan\/","https:\/\/x.com\/vidvantech"]},{"@type":"Person","@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/person\/e9c26e74dd3d87421f7ada9433b8cd22","name":"TechVidvan Team","description":"The TechVidvan Team delivers practical, beginner-friendly tutorials on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. Our experts are here to help you upskill and excel in today\u2019s tech industry."}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/posts\/446060","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/comments?post=446060"}],"version-history":[{"count":0,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/posts\/446060\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/media\/75040"}],"wp:attachment":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/media?parent=446060"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/categories?post=446060"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/tags?post=446060"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}