Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Glue data sets in R

I have two data sets in R. The first one contains a list of time zone names:

enter image description here

The second one is a list of dates.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

enter image description here

I would like to comnbine them such that the data looks like the following:

enter image description here

How can I achieve this in R?

>Solution :

Please try the below code

library(dplyr)

tz %>% full_join(dates, by = character(0))
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading