Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

im having some issues in converting the data in a csv data set. when i click on the cell it shows this format: 8/23/2018 6:40:00

im having some issues in converting the data in a csv data set. when i click on the cell it shows this format: 8/23/2018 6:40:00 PM, but when im not clicking on it its on the format 8/23/2018 18:40. i want to convert it in R language for a time series visualization, im using this code but it does not convert it, makes all the cells NA.

the code is: crimes2018$ACTUAL_DTE <- as.Date(crimes2018$ACTUAL_DTE, format = "%d/%m/%Y %H:%M %p")

Any suggestions?

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions