I'm currently using the following function to get complaints on certain drugs over time. However, the output gives me the number of reported complaints on a daily basis. It would help me a great deal if I could get the number of reported complaints on a monthly basis.
https://api.fda.gov/drug/event.json?search=receivedate:[20110101+TO+20150101]+AND+brand_name:lantus&count=receivedate
If anyone can help it would be much appreciated.