Skip to content

ceumicrodata/firms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

firms

To run the code, first launch Julia from within the folder:

julia --project

Then, instantiate the environment:

] 
(firms) pkg> instantiate

Finally, run the code:

include("src/main.jl")

Path names are in src/consts.jl. Some of the logic is in src/functions.jl.

The @get macro provides minimal caching, so if you edit main.jl to create different plots, you can rerun include("src/main.jl") without waiting for the data to be reloaded. If you touch the data cleaning code, too, you will need to quit Julia and start over.

@get data

will either load the variable data if it exists, or run the function create_data() to create it. See create_balance_data(), create_balance_clean() and create_agg() in src/functions.jl for the data cleaning steps.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published