She wrote the 1970 novel "Play it as it Lays" & the 2005 memoir "The Year of Magical Thinking"
... films as The Panic in Needle Park, True 
Confessions, and Play it as it Lays, based on her 1970 novel.