lsys / rbstata Goto Github PK
View Code? Open in Web Editor NEWCLI utility to roll back Stata data version.
Home Page: https://rbstata.rtfd.io
License: MIT License
CLI utility to roll back Stata data version.
Home Page: https://rbstata.rtfd.io
License: MIT License
Put boilerplate messages into separate variables/file?
Can be shared by both main and test file
make it more verbose?
all the -v.dta
if recursive:
files = glob("**/*.dta", recursive=recursive)
else:
files = glob("*.dta")
.dta file(s) [*]: .dta files to convert [all .dta files in current directory]
Include subdirectories (y/n) [n]: Include subdirectories if * [no]
Target version [13]: version to convert to [Stata v13]
File suffix for saving [-v13]: Suffix for saving [E.g. save auto.dta to auto-v13.dta]
Print messages (y/n) [y]: Print all messages and errors [yes]
seems like target option is more important than include directories
, yet the former comes after the latter.
Seems like a click version problem. Should be using click>=8.*
The files seem to now be compatible with Stata 13.
Not included.
Set iterator
to True to get the labels
Using pathlib
In the readme:
File suffix for saving [-v13]:
Change the default behavior to -old? or -wbstata?
So that all files can be converted in path in a single line usage
Like cookiecutter
lowercase,
check that .dta
extension exist
Cannot use wbStata on nickchk's causal data
Got a
raise ValueError("Variable labels must be 80 characters or fewer")
ValueError: Variable labels must be 80 characters or fewer
Can try using a notebook to investigate
Dta should fail when expected using capture.
Need to figure out what is the error code for Stata data too new
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.