help for puse

puse

- A module that reads to DTA's, CSV and Excel files and documents dependencies using project functionality to track dependencies of Input/Outputs and achieve efficient compilation of large projects.

puse
,
file(string) [clear debug opts(string) original]

where

clear clears local memory.

debug prevents puse from using project functionality.

opts insheet/import excel options.

original directs project to treat datafile as original using the project, original(filename) functionality.

puse can guess the file extension of DTA's and CSV files, but Excel file extensions must be specified by the user.
In general, it is recommended to specify a file extension.

puse tries to read data and register project functionality in the following way (unless the user specifies a specific file extension)

Read:
1. DTA
2. CSV
3. Excel

project (dependencies):
1. CSV
2. DTA
3. Excel

Examples

Load an Excel file that was not created by any dofile within the project (hence, "original"), take first row as variable
names and clear memory. Note that init creates a global variable $deb with values "" (empty) or "debug".
init in "debug" mode turns off project functionality.

. puse, file("../raw-data/auto-data.xlsx") opts(firstrow) clear $deb original

Load a DTA called "auto.dta" that was created by a dofile inside the project

. puse, file("../constructed-data/auto.dta") clear $deb

puse is intended to be used in conjunction with project, pexit, psave and init

This is open source software distributed under the GPL-3 license. Ownership belongs to their respective authors.
For more documentation, examples and the most up to date code visit https://github.com/economic-research/open-ado/
This version is as at least as recent as commit: 3cd38782bb154133078fb2cd597d774dbda1c4e3

Authors

Andres Jurado and Lorenzo Aldeco

jose_jurado_vadillo@brown.edu