I'm always confused about what a data analyst title really covers as well, i tend to think of it as using statistics to find both trends and outliers, maybe with a heavy presentation/chart component, but that's me.
There is a free site i spend a lot of time taking the free courses they offer to make myself better at those kinds of things.
they have a lot of courses related to analysis, and using the R language as part of that statistical analysis. At a minimum, just reviewing those courses, and comparing it to your known skillset, might help you determine if it's the a solid prospect for you to deepen your skillset.
--help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!