Question
The Assignement: How do I load the file into the RStudio Workspace? Import each csv file of the ABC Pharmacy data, located in the Data
The Assignement:
How do I load the file into the RStudio Workspace?
Import each csv file of the ABC Pharmacy data, located in the Data folder on Blackboard, into R or Python. (R users, make sure to use stringsAsFactors=FALSE.) Each csv file should be imported into its own dataframe. Once the data is imported, run your package's version of describe() to generate univariate statistics for each column of each data frame. (R users, the proper describe() function is available in the Hmisc library.) Review the univariate statistics to make sure they look reasonable given what you see in the csv files. When you are comfortable they do, upload the .R or .py file you used to generate the statistics AND, in a separate .txt file, a saved version of the results. (Depending on your setup, you may be able to save your console output directly to a file. If not, you can copy and paste the results.) If you see things that look unreasonable, check your steps and try again.
Note, the README.xlsx file contains metadata about the variables included in the csv files. You do not need to import the README.xlsx file, but you will need to use that information to understand the data in the csv files.
A note on submitting code:
For this and future relevant assignments, please DO NOT submit .Rmd or .ipynb files. It is fine for you to work in these formats if you want, but you must convert your code to run-able standalone .R or .py files when you submit them.
To be clear, the deliverables for this assignment are:
- A .R or .py file that imports and describes each data sheet in the ABC data.
- A .txt file that shows the output of the describe() step.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started