From 922b8e66991ea2b672935c36cdee6eeafd8a80cd Mon Sep 17 00:00:00 2001 From: SAMRIT PRAMANIK Date: Thu, 27 Jun 2024 02:08:45 +0530 Subject: [PATCH] Meetup details updated --- docs/meetup.html | 6 +- docs/search.json | 9 +- docs/sitemap.xml | 6 +- docs/test.html | 620 +++++++++++++++++++++++++++++++++++++++++++++++ meetup.qmd | 8 +- 5 files changed, 640 insertions(+), 9 deletions(-) create mode 100644 docs/test.html diff --git a/docs/meetup.html b/docs/meetup.html index d2ff9a2..44748b2 100644 --- a/docs/meetup.html +++ b/docs/meetup.html @@ -111,7 +111,7 @@ Members @@ -183,9 +183,9 @@

MeetUp

YouTube Link -TBD +13th July, 2024 VR02 -TBD +A New Approach for Teaching Data Analytics with R Virtual Abhimanyu Gupta - diff --git a/docs/search.json b/docs/search.json index 06af5f0..902d6a0 100644 --- a/docs/search.json +++ b/docs/search.json @@ -46,7 +46,7 @@ "href": "meetup.html", "title": "MeetUp", "section": "", - "text": "Event Date\nEvent Id\nEvent Name\nEvent Type\nSpeaker\nRecordings\n\n\n\n\n8th June, 2024\nVR01\nEverything with Quarto\nVirtual\nSamrit Pramanik\nYouTube Link\n\n\nTBD\nVR02\nTBD\nVirtual\nAbhimanyu Gupta\n-" + "text": "Event Date\nEvent Id\nEvent Name\nEvent Type\nSpeaker\nRecordings\n\n\n\n\n8th June, 2024\nVR01\nEverything with Quarto\nVirtual\nSamrit Pramanik\nYouTube Link\n\n\n13th July, 2024\nVR02\nA New Approach for Teaching Data Analytics with R\nVirtual\nAbhimanyu Gupta\n-" }, { "objectID": "blog.html", @@ -68,5 +68,12 @@ "title": "Members", "section": "", "text": "Organising Committee\n\n\n\n\n\nImage Grid\n\n\n\n\n\n \n \n Samrit Pramanik - Data Scientist\n \n \n \n Abhirup Moitra - MSc in Math with Data Science, IMA\n \n \n \n Anwesha Roy - Statistical Programmer\n \n \n \n Arghya Mukherjee - PhD Scholar, IIT Kanpur" + }, + { + "objectID": "test.html", + "href": "test.html", + "title": "Large gt Table Split into Pages", + "section": "", + "text": "Load necessary packages\nlibrary(dplyr) library(gt)\n\n\nCreate a large data frame\ndf <- data.frame( Group = rep(c(“A”, “B”, “C”), each = 10), Item = rep(paste(“Item”, 1:10), times = 3), Value = sample(1:100, 30, replace = TRUE) )\n\n\nSplit the data frame into two parts\ndf_part1 <- df[1:15, ] df_part2 <- df[16:30, ]\n\n\nCreate the first table\ntable_part1 <- df_part1 %>% gt() %>% tab_header( title = “Page 1” )\n\n\nCreate the second table\ntable_part2 <- df_part2 %>% gt() %>% tab_header( title = “Page 2” )\n\n\nRender the tables sequentially\ntable_part1 table_part2" } ] \ No newline at end of file diff --git a/docs/sitemap.xml b/docs/sitemap.xml index 6e607e3..d18bf9d 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -6,7 +6,7 @@ https://kolkataruser.github.io/meetup.html - 2024-06-10T15:16:01.867Z + 2024-06-26T20:37:11.941Z https://kolkataruser.github.io/blog.html @@ -24,4 +24,8 @@ https://kolkataruser.github.io/member.html 2024-05-11T19:37:02.070Z + + https://kolkataruser.github.io/test.html + 2024-06-26T20:19:06.413Z + diff --git a/docs/test.html b/docs/test.html new file mode 100644 index 0000000..7243585 --- /dev/null +++ b/docs/test.html @@ -0,0 +1,620 @@ + + + + + + + + + +Kolkata R UseR - Large gt Table Split into Pages + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+ +
+ + + + +
+ +
+
+

Large gt Table Split into Pages

+
+ + + +
+ + + + +
+ + + +
+ + +
+

Load necessary packages

+

library(dplyr) library(gt)

+
+
+

Create a large data frame

+

df <- data.frame( Group = rep(c(“A”, “B”, “C”), each = 10), Item = rep(paste(“Item”, 1:10), times = 3), Value = sample(1:100, 30, replace = TRUE) )

+
+
+

Split the data frame into two parts

+

df_part1 <- df[1:15, ] df_part2 <- df[16:30, ]

+
+
+

Create the first table

+

table_part1 <- df_part1 %>% gt() %>% tab_header( title = “Page 1” )

+
+
+

Create the second table

+

table_part2 <- df_part2 %>% gt() %>% tab_header( title = “Page 2” )

+
+
+

Render the tables sequentially

+

table_part1 table_part2

+ + +
+ +
+ +
+ + + + + + \ No newline at end of file diff --git a/meetup.qmd b/meetup.qmd index 06e01f1..d7a2e2e 100644 --- a/meetup.qmd +++ b/meetup.qmd @@ -4,8 +4,8 @@ toc: false --- ::: {style="text-align: center; font-size: 22px"} -| Event Date | Event Id | Event Name | Event Type | Speaker | Recordings | -|------------|------------|------------|------------|------------|------------| -| 8th June, 2024 | `VR01` | Everything with Quarto | Virtual | [Samrit Pramanik](https://samrit.quarto.pub) | [YouTube Link](https://youtu.be/iqbxK5QsB1c) | -| TBD | `VR02` | TBD | Virtual | Abhimanyu Gupta | \- | +| Event Date | Event Id | Event Name | Event Type | Speaker | Recordings | +|-----------|-----------|-----------|-----------|-----------|-----------| +| 8th June, 2024 | `VR01` | Everything with Quarto | Virtual | [Samrit Pramanik](https://samrit.quarto.pub) | [YouTube Link](https://youtu.be/iqbxK5QsB1c) | +| 13th July, 2024 | `VR02` | A New Approach for Teaching Data Analytics with R | Virtual | Abhimanyu Gupta | \- | :::