Extracting multiple data types from column in r












0















I have a set of data in which the date, time, and speed have been merged into a single column, desciptio:



  coordinates     Name                                descriptio
1 (-123.3397, 50.07757) HAR07(0) Timestamp: 08/16/2018 03:44:00 Speed: 0.8
2 (-123.3396, 50.07787) HAR07(1) Timestamp: 08/16/2018 07:46:00 Speed: 0.1
3 (-123.3397, 50.07755) HAR07(2) Timestamp: 08/16/2018 11:50:00 Speed: 0.0
4 (-123.3616, 50.11495) HAR07(3) Timestamp: 08/17/2018 04:01:00 Speed: 0.1
5 (-123.3289, 50.10053) HAR07(4) Timestamp: 08/18/2018 04:22:00 Speed: 0.4
6 (-123.3514, 50.10265) HAR07(5) Timestamp: 08/19/2018 04:44:00 Speed: 0.1


I am looking for a way to extract these values and add them to the data frame as separate columns, date, time, and speed. I've seen a few methods for extracting date, and maybe time, but I'm really stumped on the speed. I did find this question, which seems similar, but I'm not familiar enough with regex to adapt it to my needs. Any advice?



Thanks in advance!



Edit: these data are in a shapefile, not a data frame. I think I can read them into a data frame, edit them, and then re-save them as a shapefile, but I'd prefer to keep them as a spatial data throughout, if possible.










share|improve this question





























    0















    I have a set of data in which the date, time, and speed have been merged into a single column, desciptio:



      coordinates     Name                                descriptio
    1 (-123.3397, 50.07757) HAR07(0) Timestamp: 08/16/2018 03:44:00 Speed: 0.8
    2 (-123.3396, 50.07787) HAR07(1) Timestamp: 08/16/2018 07:46:00 Speed: 0.1
    3 (-123.3397, 50.07755) HAR07(2) Timestamp: 08/16/2018 11:50:00 Speed: 0.0
    4 (-123.3616, 50.11495) HAR07(3) Timestamp: 08/17/2018 04:01:00 Speed: 0.1
    5 (-123.3289, 50.10053) HAR07(4) Timestamp: 08/18/2018 04:22:00 Speed: 0.4
    6 (-123.3514, 50.10265) HAR07(5) Timestamp: 08/19/2018 04:44:00 Speed: 0.1


    I am looking for a way to extract these values and add them to the data frame as separate columns, date, time, and speed. I've seen a few methods for extracting date, and maybe time, but I'm really stumped on the speed. I did find this question, which seems similar, but I'm not familiar enough with regex to adapt it to my needs. Any advice?



    Thanks in advance!



    Edit: these data are in a shapefile, not a data frame. I think I can read them into a data frame, edit them, and then re-save them as a shapefile, but I'd prefer to keep them as a spatial data throughout, if possible.










    share|improve this question



























      0












      0








      0








      I have a set of data in which the date, time, and speed have been merged into a single column, desciptio:



        coordinates     Name                                descriptio
      1 (-123.3397, 50.07757) HAR07(0) Timestamp: 08/16/2018 03:44:00 Speed: 0.8
      2 (-123.3396, 50.07787) HAR07(1) Timestamp: 08/16/2018 07:46:00 Speed: 0.1
      3 (-123.3397, 50.07755) HAR07(2) Timestamp: 08/16/2018 11:50:00 Speed: 0.0
      4 (-123.3616, 50.11495) HAR07(3) Timestamp: 08/17/2018 04:01:00 Speed: 0.1
      5 (-123.3289, 50.10053) HAR07(4) Timestamp: 08/18/2018 04:22:00 Speed: 0.4
      6 (-123.3514, 50.10265) HAR07(5) Timestamp: 08/19/2018 04:44:00 Speed: 0.1


      I am looking for a way to extract these values and add them to the data frame as separate columns, date, time, and speed. I've seen a few methods for extracting date, and maybe time, but I'm really stumped on the speed. I did find this question, which seems similar, but I'm not familiar enough with regex to adapt it to my needs. Any advice?



      Thanks in advance!



      Edit: these data are in a shapefile, not a data frame. I think I can read them into a data frame, edit them, and then re-save them as a shapefile, but I'd prefer to keep them as a spatial data throughout, if possible.










      share|improve this question
















      I have a set of data in which the date, time, and speed have been merged into a single column, desciptio:



        coordinates     Name                                descriptio
      1 (-123.3397, 50.07757) HAR07(0) Timestamp: 08/16/2018 03:44:00 Speed: 0.8
      2 (-123.3396, 50.07787) HAR07(1) Timestamp: 08/16/2018 07:46:00 Speed: 0.1
      3 (-123.3397, 50.07755) HAR07(2) Timestamp: 08/16/2018 11:50:00 Speed: 0.0
      4 (-123.3616, 50.11495) HAR07(3) Timestamp: 08/17/2018 04:01:00 Speed: 0.1
      5 (-123.3289, 50.10053) HAR07(4) Timestamp: 08/18/2018 04:22:00 Speed: 0.4
      6 (-123.3514, 50.10265) HAR07(5) Timestamp: 08/19/2018 04:44:00 Speed: 0.1


      I am looking for a way to extract these values and add them to the data frame as separate columns, date, time, and speed. I've seen a few methods for extracting date, and maybe time, but I'm really stumped on the speed. I did find this question, which seems similar, but I'm not familiar enough with regex to adapt it to my needs. Any advice?



      Thanks in advance!



      Edit: these data are in a shapefile, not a data frame. I think I can read them into a data frame, edit them, and then re-save them as a shapefile, but I'd prefer to keep them as a spatial data throughout, if possible.







      r date dataframe time






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 15 '18 at 18:18







      user72959

















      asked Nov 14 '18 at 23:09









      user72959user72959

      62




      62
























          2 Answers
          2






          active

          oldest

          votes


















          0














          There you go :



          df <- read.table(header=TRUE,stringsAsFactors=FALSE,text="  coordinates     Name                                descriptio
          1 '(-123.3397, 50.07757)' HAR07(0) 'Timestamp: 08/16/2018 03:44:00 Speed: 0.8'
          2 '(-123.3396, 50.07787)' HAR07(1) 'Timestamp: 08/16/2018 07:46:00 Speed: 0.1'
          3 '(-123.3397, 50.07755)' HAR07(2) 'Timestamp: 08/16/2018 11:50:00 Speed: 0.0'
          4 '(-123.3616, 50.11495)' HAR07(3) 'Timestamp: 08/17/2018 04:01:00 Speed: 0.1'
          5 '(-123.3289, 50.10053)' HAR07(4) 'Timestamp: 08/18/2018 04:22:00 Speed: 0.4'
          6 '(-123.3514, 50.10265)' HAR07(5) 'Timestamp: 08/19/2018 04:44:00 Speed: 0.1'")

          transform(df,
          date = as.Date(substr(descriptio,12,21),"%M/%d/%Y"),
          time = substr(descriptio,23,30),
          speed = as.numeric(substr(descriptio,39,41)))
          # coordinates Name descriptio date time speed
          # 1 (-123.3397, 50.07757) HAR07(0) Timestamp: 08/16/2018 03:44:00 Speed: 0.8 2018-11-16 03:44:00 0.8
          # 2 (-123.3396, 50.07787) HAR07(1) Timestamp: 08/16/2018 07:46:00 Speed: 0.1 2018-11-16 07:46:00 0.1
          # 3 (-123.3397, 50.07755) HAR07(2) Timestamp: 08/16/2018 11:50:00 Speed: 0.0 2018-11-16 11:50:00 0.0
          # 4 (-123.3616, 50.11495) HAR07(3) Timestamp: 08/17/2018 04:01:00 Speed: 0.1 2018-11-17 04:01:00 0.1
          # 5 (-123.3289, 50.10053) HAR07(4) Timestamp: 08/18/2018 04:22:00 Speed: 0.4 2018-11-18 04:22:00 0.4
          # 6 (-123.3514, 50.10265) HAR07(5) Timestamp: 08/19/2018 04:44:00 Speed: 0.1 2018-11-19 04:44:00 0.1


          There's no native type/class for time in R so I left it as character.






          share|improve this answer
























          • Thanks for the quick response! This splits the data into three columns nicely, but the date is not correct. For example, in the first row, "2018-11-16" instead of "2018-08-16". This also converts my data from a SpatialPointsDataFrame (see edit to original post) to a data.frame. Is there a method to keep the data spatial, or should I expect to have to convert to a data frame and then back again?

            – user72959
            Nov 15 '18 at 18:23





















          0














          The solution turned out to be quite simple, if a bit wordier than I wanted:



          # Split column into 5 parts at each space
          split <- str_split_fixed(raw.shp.data$descriptio, ' ', 5)

          # Add the relevant columns back to the original data frame
          raw.shp.data$time <- paste(split[,2], split[,3])
          raw.shp.data$speed <- split[,5]

          # Delete no-longer-needed descriptio column
          raw.shp.data$descriptio <- NULL


          This keeps the spatial format intact.






          share|improve this answer























            Your Answer






            StackExchange.ifUsing("editor", function () {
            StackExchange.using("externalEditor", function () {
            StackExchange.using("snippets", function () {
            StackExchange.snippets.init();
            });
            });
            }, "code-snippets");

            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "1"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53310115%2fextracting-multiple-data-types-from-column-in-r%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            There you go :



            df <- read.table(header=TRUE,stringsAsFactors=FALSE,text="  coordinates     Name                                descriptio
            1 '(-123.3397, 50.07757)' HAR07(0) 'Timestamp: 08/16/2018 03:44:00 Speed: 0.8'
            2 '(-123.3396, 50.07787)' HAR07(1) 'Timestamp: 08/16/2018 07:46:00 Speed: 0.1'
            3 '(-123.3397, 50.07755)' HAR07(2) 'Timestamp: 08/16/2018 11:50:00 Speed: 0.0'
            4 '(-123.3616, 50.11495)' HAR07(3) 'Timestamp: 08/17/2018 04:01:00 Speed: 0.1'
            5 '(-123.3289, 50.10053)' HAR07(4) 'Timestamp: 08/18/2018 04:22:00 Speed: 0.4'
            6 '(-123.3514, 50.10265)' HAR07(5) 'Timestamp: 08/19/2018 04:44:00 Speed: 0.1'")

            transform(df,
            date = as.Date(substr(descriptio,12,21),"%M/%d/%Y"),
            time = substr(descriptio,23,30),
            speed = as.numeric(substr(descriptio,39,41)))
            # coordinates Name descriptio date time speed
            # 1 (-123.3397, 50.07757) HAR07(0) Timestamp: 08/16/2018 03:44:00 Speed: 0.8 2018-11-16 03:44:00 0.8
            # 2 (-123.3396, 50.07787) HAR07(1) Timestamp: 08/16/2018 07:46:00 Speed: 0.1 2018-11-16 07:46:00 0.1
            # 3 (-123.3397, 50.07755) HAR07(2) Timestamp: 08/16/2018 11:50:00 Speed: 0.0 2018-11-16 11:50:00 0.0
            # 4 (-123.3616, 50.11495) HAR07(3) Timestamp: 08/17/2018 04:01:00 Speed: 0.1 2018-11-17 04:01:00 0.1
            # 5 (-123.3289, 50.10053) HAR07(4) Timestamp: 08/18/2018 04:22:00 Speed: 0.4 2018-11-18 04:22:00 0.4
            # 6 (-123.3514, 50.10265) HAR07(5) Timestamp: 08/19/2018 04:44:00 Speed: 0.1 2018-11-19 04:44:00 0.1


            There's no native type/class for time in R so I left it as character.






            share|improve this answer
























            • Thanks for the quick response! This splits the data into three columns nicely, but the date is not correct. For example, in the first row, "2018-11-16" instead of "2018-08-16". This also converts my data from a SpatialPointsDataFrame (see edit to original post) to a data.frame. Is there a method to keep the data spatial, or should I expect to have to convert to a data frame and then back again?

              – user72959
              Nov 15 '18 at 18:23


















            0














            There you go :



            df <- read.table(header=TRUE,stringsAsFactors=FALSE,text="  coordinates     Name                                descriptio
            1 '(-123.3397, 50.07757)' HAR07(0) 'Timestamp: 08/16/2018 03:44:00 Speed: 0.8'
            2 '(-123.3396, 50.07787)' HAR07(1) 'Timestamp: 08/16/2018 07:46:00 Speed: 0.1'
            3 '(-123.3397, 50.07755)' HAR07(2) 'Timestamp: 08/16/2018 11:50:00 Speed: 0.0'
            4 '(-123.3616, 50.11495)' HAR07(3) 'Timestamp: 08/17/2018 04:01:00 Speed: 0.1'
            5 '(-123.3289, 50.10053)' HAR07(4) 'Timestamp: 08/18/2018 04:22:00 Speed: 0.4'
            6 '(-123.3514, 50.10265)' HAR07(5) 'Timestamp: 08/19/2018 04:44:00 Speed: 0.1'")

            transform(df,
            date = as.Date(substr(descriptio,12,21),"%M/%d/%Y"),
            time = substr(descriptio,23,30),
            speed = as.numeric(substr(descriptio,39,41)))
            # coordinates Name descriptio date time speed
            # 1 (-123.3397, 50.07757) HAR07(0) Timestamp: 08/16/2018 03:44:00 Speed: 0.8 2018-11-16 03:44:00 0.8
            # 2 (-123.3396, 50.07787) HAR07(1) Timestamp: 08/16/2018 07:46:00 Speed: 0.1 2018-11-16 07:46:00 0.1
            # 3 (-123.3397, 50.07755) HAR07(2) Timestamp: 08/16/2018 11:50:00 Speed: 0.0 2018-11-16 11:50:00 0.0
            # 4 (-123.3616, 50.11495) HAR07(3) Timestamp: 08/17/2018 04:01:00 Speed: 0.1 2018-11-17 04:01:00 0.1
            # 5 (-123.3289, 50.10053) HAR07(4) Timestamp: 08/18/2018 04:22:00 Speed: 0.4 2018-11-18 04:22:00 0.4
            # 6 (-123.3514, 50.10265) HAR07(5) Timestamp: 08/19/2018 04:44:00 Speed: 0.1 2018-11-19 04:44:00 0.1


            There's no native type/class for time in R so I left it as character.






            share|improve this answer
























            • Thanks for the quick response! This splits the data into three columns nicely, but the date is not correct. For example, in the first row, "2018-11-16" instead of "2018-08-16". This also converts my data from a SpatialPointsDataFrame (see edit to original post) to a data.frame. Is there a method to keep the data spatial, or should I expect to have to convert to a data frame and then back again?

              – user72959
              Nov 15 '18 at 18:23
















            0












            0








            0







            There you go :



            df <- read.table(header=TRUE,stringsAsFactors=FALSE,text="  coordinates     Name                                descriptio
            1 '(-123.3397, 50.07757)' HAR07(0) 'Timestamp: 08/16/2018 03:44:00 Speed: 0.8'
            2 '(-123.3396, 50.07787)' HAR07(1) 'Timestamp: 08/16/2018 07:46:00 Speed: 0.1'
            3 '(-123.3397, 50.07755)' HAR07(2) 'Timestamp: 08/16/2018 11:50:00 Speed: 0.0'
            4 '(-123.3616, 50.11495)' HAR07(3) 'Timestamp: 08/17/2018 04:01:00 Speed: 0.1'
            5 '(-123.3289, 50.10053)' HAR07(4) 'Timestamp: 08/18/2018 04:22:00 Speed: 0.4'
            6 '(-123.3514, 50.10265)' HAR07(5) 'Timestamp: 08/19/2018 04:44:00 Speed: 0.1'")

            transform(df,
            date = as.Date(substr(descriptio,12,21),"%M/%d/%Y"),
            time = substr(descriptio,23,30),
            speed = as.numeric(substr(descriptio,39,41)))
            # coordinates Name descriptio date time speed
            # 1 (-123.3397, 50.07757) HAR07(0) Timestamp: 08/16/2018 03:44:00 Speed: 0.8 2018-11-16 03:44:00 0.8
            # 2 (-123.3396, 50.07787) HAR07(1) Timestamp: 08/16/2018 07:46:00 Speed: 0.1 2018-11-16 07:46:00 0.1
            # 3 (-123.3397, 50.07755) HAR07(2) Timestamp: 08/16/2018 11:50:00 Speed: 0.0 2018-11-16 11:50:00 0.0
            # 4 (-123.3616, 50.11495) HAR07(3) Timestamp: 08/17/2018 04:01:00 Speed: 0.1 2018-11-17 04:01:00 0.1
            # 5 (-123.3289, 50.10053) HAR07(4) Timestamp: 08/18/2018 04:22:00 Speed: 0.4 2018-11-18 04:22:00 0.4
            # 6 (-123.3514, 50.10265) HAR07(5) Timestamp: 08/19/2018 04:44:00 Speed: 0.1 2018-11-19 04:44:00 0.1


            There's no native type/class for time in R so I left it as character.






            share|improve this answer













            There you go :



            df <- read.table(header=TRUE,stringsAsFactors=FALSE,text="  coordinates     Name                                descriptio
            1 '(-123.3397, 50.07757)' HAR07(0) 'Timestamp: 08/16/2018 03:44:00 Speed: 0.8'
            2 '(-123.3396, 50.07787)' HAR07(1) 'Timestamp: 08/16/2018 07:46:00 Speed: 0.1'
            3 '(-123.3397, 50.07755)' HAR07(2) 'Timestamp: 08/16/2018 11:50:00 Speed: 0.0'
            4 '(-123.3616, 50.11495)' HAR07(3) 'Timestamp: 08/17/2018 04:01:00 Speed: 0.1'
            5 '(-123.3289, 50.10053)' HAR07(4) 'Timestamp: 08/18/2018 04:22:00 Speed: 0.4'
            6 '(-123.3514, 50.10265)' HAR07(5) 'Timestamp: 08/19/2018 04:44:00 Speed: 0.1'")

            transform(df,
            date = as.Date(substr(descriptio,12,21),"%M/%d/%Y"),
            time = substr(descriptio,23,30),
            speed = as.numeric(substr(descriptio,39,41)))
            # coordinates Name descriptio date time speed
            # 1 (-123.3397, 50.07757) HAR07(0) Timestamp: 08/16/2018 03:44:00 Speed: 0.8 2018-11-16 03:44:00 0.8
            # 2 (-123.3396, 50.07787) HAR07(1) Timestamp: 08/16/2018 07:46:00 Speed: 0.1 2018-11-16 07:46:00 0.1
            # 3 (-123.3397, 50.07755) HAR07(2) Timestamp: 08/16/2018 11:50:00 Speed: 0.0 2018-11-16 11:50:00 0.0
            # 4 (-123.3616, 50.11495) HAR07(3) Timestamp: 08/17/2018 04:01:00 Speed: 0.1 2018-11-17 04:01:00 0.1
            # 5 (-123.3289, 50.10053) HAR07(4) Timestamp: 08/18/2018 04:22:00 Speed: 0.4 2018-11-18 04:22:00 0.4
            # 6 (-123.3514, 50.10265) HAR07(5) Timestamp: 08/19/2018 04:44:00 Speed: 0.1 2018-11-19 04:44:00 0.1


            There's no native type/class for time in R so I left it as character.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Nov 14 '18 at 23:19









            Moody_MudskipperMoody_Mudskipper

            23.1k33264




            23.1k33264













            • Thanks for the quick response! This splits the data into three columns nicely, but the date is not correct. For example, in the first row, "2018-11-16" instead of "2018-08-16". This also converts my data from a SpatialPointsDataFrame (see edit to original post) to a data.frame. Is there a method to keep the data spatial, or should I expect to have to convert to a data frame and then back again?

              – user72959
              Nov 15 '18 at 18:23





















            • Thanks for the quick response! This splits the data into three columns nicely, but the date is not correct. For example, in the first row, "2018-11-16" instead of "2018-08-16". This also converts my data from a SpatialPointsDataFrame (see edit to original post) to a data.frame. Is there a method to keep the data spatial, or should I expect to have to convert to a data frame and then back again?

              – user72959
              Nov 15 '18 at 18:23



















            Thanks for the quick response! This splits the data into three columns nicely, but the date is not correct. For example, in the first row, "2018-11-16" instead of "2018-08-16". This also converts my data from a SpatialPointsDataFrame (see edit to original post) to a data.frame. Is there a method to keep the data spatial, or should I expect to have to convert to a data frame and then back again?

            – user72959
            Nov 15 '18 at 18:23







            Thanks for the quick response! This splits the data into three columns nicely, but the date is not correct. For example, in the first row, "2018-11-16" instead of "2018-08-16". This also converts my data from a SpatialPointsDataFrame (see edit to original post) to a data.frame. Is there a method to keep the data spatial, or should I expect to have to convert to a data frame and then back again?

            – user72959
            Nov 15 '18 at 18:23















            0














            The solution turned out to be quite simple, if a bit wordier than I wanted:



            # Split column into 5 parts at each space
            split <- str_split_fixed(raw.shp.data$descriptio, ' ', 5)

            # Add the relevant columns back to the original data frame
            raw.shp.data$time <- paste(split[,2], split[,3])
            raw.shp.data$speed <- split[,5]

            # Delete no-longer-needed descriptio column
            raw.shp.data$descriptio <- NULL


            This keeps the spatial format intact.






            share|improve this answer




























              0














              The solution turned out to be quite simple, if a bit wordier than I wanted:



              # Split column into 5 parts at each space
              split <- str_split_fixed(raw.shp.data$descriptio, ' ', 5)

              # Add the relevant columns back to the original data frame
              raw.shp.data$time <- paste(split[,2], split[,3])
              raw.shp.data$speed <- split[,5]

              # Delete no-longer-needed descriptio column
              raw.shp.data$descriptio <- NULL


              This keeps the spatial format intact.






              share|improve this answer


























                0












                0








                0







                The solution turned out to be quite simple, if a bit wordier than I wanted:



                # Split column into 5 parts at each space
                split <- str_split_fixed(raw.shp.data$descriptio, ' ', 5)

                # Add the relevant columns back to the original data frame
                raw.shp.data$time <- paste(split[,2], split[,3])
                raw.shp.data$speed <- split[,5]

                # Delete no-longer-needed descriptio column
                raw.shp.data$descriptio <- NULL


                This keeps the spatial format intact.






                share|improve this answer













                The solution turned out to be quite simple, if a bit wordier than I wanted:



                # Split column into 5 parts at each space
                split <- str_split_fixed(raw.shp.data$descriptio, ' ', 5)

                # Add the relevant columns back to the original data frame
                raw.shp.data$time <- paste(split[,2], split[,3])
                raw.shp.data$speed <- split[,5]

                # Delete no-longer-needed descriptio column
                raw.shp.data$descriptio <- NULL


                This keeps the spatial format intact.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 22 '18 at 18:24









                user72959user72959

                62




                62






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53310115%2fextracting-multiple-data-types-from-column-in-r%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    List item for chat from Array inside array React Native

                    Thiostrepton

                    Caerphilly