Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: help in data manipulation (extraction of components in database and transposition of entries)


From   "Pere-Joan Ventura" <[email protected]>
To   [email protected]
Subject   Re: st: help in data manipulation (extraction of components in database and transposition of entries)
Date   Fri, 31 Mar 2006 16:27:03 +0200

Hi,

You can use the commands tabulate and collapse

tabulate commodity, generate(dumcom)
collapse (sum) dumcom1 dumcom2 dumcom3, by(farm parcel)

Regards

--
Pere-Joan Ventura

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index