I'm trying to import data in R using api link. Maybe JSON format is not valid.
Here is my API link: Link
Here is glimpse of data
{
"Date": "2022-01-20, 6:28 pm",
"Village Code": "324",
"Age of Patient": "34",
"Gender": "Male",
"Mode of Diagnosis": "Microscopy",
"Test Result": "Negative",
"Type of Malaria": "Mixed (Pv+Pf)",
"Disease Severity": "SM",
"Treatment": "ACT + Primaquine",
"Detection Type": "ACD"
}{
"Date": "2022-01-26, 2:21 pm",
"Village Code": "34",
"Age of Patient": "22",
"Gender": "Male",
"Mode of Diagnosis": "RDT",
"Test Result": "Positive",
"Type of Malaria": "P. falciparum (Pf)",
"Disease Severity": "SM",
"Treatment": "Primaquine + Chloroquine",
"Detection Type": "PCD"
}
My desired output is like that:
How can I import this data even if it's not valid JSON?