Lavender oil to help baby sleep?

F
A few people have suggested lavender oil for when my baby has bad, restless nights. I've looked it up and it's meant to be a calming scent, help with anxiety and insomnia. Have you tried it and did it help your baby's bad nights? Do you rub it on their skin or just put a drop or two on their bassinet/crib?