Nitrogen and oxygen abundances in the Local Universe