data : str
Name of dataset to fetch.
baseurl : str
The base URL to the stata datasets.
as_df : bool
If True, returns a pandas.DataFrame
dta : Record Array
A record array containing the Stata dataset.
Notes
Make sure baseurl has trailing forward slash. Doesn’t do any error checking in response URLs.
Examples
>>> dta = webuse('auto')
statsmodels.datasets.clear_data_home
statsmodels.datasets.get_rdataset
Enter search terms or a module, class or function name.