| Start |
|---|
Reading Data from MySQL Databases GeneralUsing the package RMySQL (opens new window) we can easily query MySQL as well as MariaDB databases and store the result in an R dataframe: Using limitsIt is also possible to define a limit, e.g. getting only the first 100,000 rows. In order to do so, just change the SQL query regarding the desired limit. The mentioned package will consider these options. Example: |
| Reading Data from MongoDB Databases In order to load data from a MongoDB database into an R dataframe, use the library MongoLite (opens new window): The code connects to the server The results is a dataframe with columns as the yielded data set. In case of this example, the dataframe contains the column RemarksSpecialized packages
|
Read Article
https://develop.horje.com/learn/1434/reference